-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
205 lines (184 loc) · 6.27 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<project name="PackageCogbot" default="all" basedir=".">
<!--
<selector id="selector-core">
<include name="bin/*.dll"/>
<include name="bin/*.exe"/>
<include name="bin/*.dynlib"/>
<include name="bin/*.so"/>
<include name="bin/*.cloj"/>
<include name="bin/*.lisp"/>
<include name="bin/bin-x86/**"/>
<include name="bin/bin-x64/**"/>
<include name="bin/*.json"/>
<include name="bin/openmetaverse_data/**"/>
<include name="bin/character/**"/>
<include name="bin/bvh_files/**"/>
<include name="bin/shader_data/**"/>
<include name="bin/*.xml"/>
<include name="bin/*.config"/>
<include name="bin/*.ini"/>
<include name="bin/config/**"/>
<include name="bin/aiml/default_bot/**"/>
<include name="bin/aiml/shared_aiml/**"/>
<exclude name="bin/personal*.lisp"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</selector>
!-->
<patternset id="core-files">
<include name="bin/*.dll"/>
<include name="bin/*.exe"/>
<include name="bin/*.dynlib"/>
<include name="bin/*.so"/>
<include name="bin/*.cloj"/>
<include name="bin/*.lisp"/>
<include name="bin/bin-x86/**"/>
<include name="bin/bin-x64/**"/>
<include name="bin/*.json"/>
<include name="bin/openmetaverse_data/**"/>
<include name="bin/character/**"/>
<include name="bin/bvh_files/**"/>
<include name="bin/shader_data/**"/>
<include name="bin/*.xml"/>
<include name="bin/*.config"/>
<include name="bin/*.ini"/>
<include name="bin/config/**"/>
<include name="bin/QPIDServer/**"/>
<include name="bin/aiml/default_bot/**"/>
<include name="bin/aiml/shared_aiml/**"/>
<exclude name="bin/Swi*"/>
<exclude name="bin/personal*.lisp"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</patternset>
<target name="cogbot-core" description="Generate the distribution executable files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-core.zip">
<fileset dir="." casesensitive="false">
<date datetime="07/21/2012 12:00 AM" when="before"/>
<patternset refid="core-files"/>
</fileset>
</jar>
</target>
<target name="cogbot-core-patches" description="Generate the distribution executable files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-core-patches.zip">
<fileset dir="." casesensitive="false">
<date datetime="07/21/2012 12:00 AM" when="after"/>
<patternset refid="core-files"/>
</fileset>
</jar>
</target>
<target name="cogbot-aiml" description="Generate the distribution AIML files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-aiml.zip">
<fileset dir="." casesensitive="false">
<include name="bin/bgm/**"/>
<include name="bin/lucenedb/**"/>
<include name="bin/config/**"/>
<include name="bin/webroot/**"/>
<include name="bin/wikilink/**"/>
<include name="bin/trn/**"/>
<include name="bin/aiml/**"/>
<exclude name="bin/aiml/users/**"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</fileset>
</jar>
</target>
<target name="cogbot-wordnet" description="Generate the Wordnet files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-wordnet.zip">
<fileset dir="." casesensitive="false">
<include name="bin/wordnet30/**"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</fileset>
</jar>
</target>
<target name="cogbot-prolog" description="Generate the distribution Prolog files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-prolog.zip">
<fileset dir="." casesensitive="false">
<include name="bin/prolog/**"/>
<include name="test/**"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</fileset>
</jar>
</target>
<target name="cogbot-examples" description="Generate the Example files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-examples.zip">
<fileset dir="." casesensitive="false">
<include name="bin/examples/**"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</fileset>
</jar>
</target>
<target name="cogbot-objects" description="Generate the Cog BObjects files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-objects.zip">
<fileset dir="sources/main" casesensitive="false">
<include name="objects/**"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</fileset>
</jar>
</target>
<target name="cogbot-documents" description="Generate the distribution document files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-documents.zip">
<fileset dir="." casesensitive="false">
<include name="documents/**"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</fileset>
</jar>
</target>
<target name="cogbot-installer" description="Generate the distribution installer files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-installer.zip">
<fileset dir="sources/main/install" casesensitive="false">
<include name="pl/**"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
</fileset>
</jar>
</target>
<target name="cogbot-sources" description="Generate the distribution source files" >
<!-- Create the distribution directory -->
<jar destfile="cogbot-sources.zip">
<fileset dir="." casesensitive="false">
<include name="bin/Prebuild.exe"/>
<include name="sources/main/**"/>
<include name="sources/external/**"/>
<include name="sources/chatbot/**"/>
<include name="sources/modules/**"/>
<include name="*.sln"/>
<include name="*.suo"/>
<include name="*.xml"/>
<include name="*.bat"/>
<include name="*.sh"/>
<exclude name="**/CVS/*"/>
<exclude name="**/.svn/*"/>
<exclude name="**/.git/*"/>
<exclude name="**/bin/*"/>
<exclude name="**/obj/*"/>
<exclude name="**/swicli-inst/*"/>
</fileset>
</jar>
</target>
<target name="all" description="Generate ALL files" depends="cogbot-prolog,cogbot-aiml,cogbot-documents,cogbot-core-patches,cogbot-wordnet,cogbot-installer,cogbot-examples,cogbot-objects" >
</target>
</project>