[r7011]: / tags / phpGedView-4.2.4 / phpGedView / build.xml  Maximize  Restore  History

Download this file

360 lines (327 with data), 13.8 kB

  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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<?xml version="1.0" encoding="UTF-8"?>
<project name="PGVBuild" basedir="." default="zip">
<property name="proj.name" value="PhpGedView" />
<property name="pgv.version" value="4.2.4" />
<property name="dist.dir" value="../distribution" />
<property name="all.dir" value="${dist.dir}/${proj.name}-all-${pgv.version}" />
<property name="basic.dir" value="${dist.dir}/${proj.name}-basic-${pgv.version}" />
<property name="lang.dir" value="${dist.dir}/PGV-Languages-${pgv.version}" />
<property name="places.dir" value="${dist.dir}/PGV-Places-${pgv.version}" />
<property name="themes.dir" value="${dist.dir}/PGV-Themes-${pgv.version}" />
<property name="modules-all.dir" value="${dist.dir}/PGV-Modules-All-${pgv.version}" />
<property name="module-batch-update.dir" value="${dist.dir}/PGV-Module-batch-update-${pgv.version}" />
<property name="module-cms-interface.dir" value="${dist.dir}/PGV-Module-cms-interface-${pgv.version}" />
<property name="module-fckeditor.dir" value="${dist.dir}/PGV-Module-fckeditor-${pgv.version}" />
<property name="module-gallery2.dir" value="${dist.dir}/PGV-Module-gallery2-${pgv.version}" />
<property name="module-gedfact-assistant.dir" value="${dist.dir}/PGV-Module-gedfact-assistant-${pgv.version}" />
<property name="module-googlemap.dir" value="${dist.dir}/PGV-Module-googlemap-${pgv.version}" />
<property name="module-jwplayer.dir" value="${dist.dir}/PGV-Module-jwplayer-${pgv.version}" />
<property name="module-lightbox.dir" value="${dist.dir}/PGV-Module-lightbox-${pgv.version}" />
<property name="module-punbb.dir" value="${dist.dir}/PGV-Module-punbb-${pgv.version}" />
<property name="module-research-assistant.dir" value="${dist.dir}/PGV-Module-research-assistant-${pgv.version}" />
<property name="module-sitemap.dir" value="${dist.dir}/PGV-Module-sitemap-${pgv.version}" />
<property name="module-slideshow.dir" value="${dist.dir}/PGV-Module-slideshow-${pgv.version}" />
<property name="module-wordsearch.dir" value="${dist.dir}/PGV-Module-wordsearch-${pgv.version}" />
<property name="demo.base.dir" value="${dist.dir}/DemoBase" />
<property name="demo.dir" value="${dist.dir}/PGV-Demo-${pgv.version}" />
<fileset id="basic.langs" dir="./languages">
<include name="*.de.*" />
<include name="*.en.*" />
<include name="*.fr.*" />
<include name="*.he.*" />
<include name="*.nl.*" />
<include name="*.no.*" />
<include name="*.sv.*" />
<include name=".htaccess" />
<exclude name="*.txt" />
</fileset>
<fileset id="not.basic.langs" dir="./languages">
<exclude name="*.de.*" />
<exclude name="*.en.php" />
<exclude name="*.fr.*" />
<exclude name="*.he.*" />
<exclude name="*.nl.*" />
<exclude name="*.no.*" />
<exclude name="*.sv.*" />
<exclude name=".htaccess" />
</fileset>
<fileset id="basic.themes" dir="./themes">
<include name="cloudy/**" />
<include name="ocean/**" />
<include name="simplygreen/**" />
<include name="standard/**" />
<include name="xenea/**" />
</fileset>
<fileset id="not.basic.themes" dir="./themes">
<exclude name="cloudy/**" />
<exclude name="ocean/**" />
<exclude name="simplygreen/**" />
<exclude name="standard/**" />
<exclude name="xenea/**" />
</fileset>
<target name="clean">
<!-- delete any existing directories -->
<delete dir ="${all.dir}" failonerror="false" />
<delete file="${all.dir}.zip" failonerror="false" />
<delete dir ="${basic.dir}" failonerror="false" />
<delete file="${basic.dir}.zip" failonerror="false" />
<delete dir ="${lang.dir}" failonerror="false" />
<delete file="${lang.dir}.zip" failonerror="false" />
<delete dir ="${places.dir}" failonerror="false" />
<delete file="${places.dir}.zip" failonerror="false" />
<delete dir ="${themes.dir}" failonerror="false" />
<delete file="${themes.dir}.zip" failonerror="false" />
<delete dir ="${modules-all.dir}" failonerror="false" />
<delete file="${modules-all.dir}.zip" failonerror="false" />
<delete dir ="${demo.dir}" failonerror="false" />
<delete file="${demo.dir}.zip" failonerror="false" />
<delete dir ="${module-batch-update.dir}" failonerror="false" />
<delete file="${module-batch-update.dir}.zip" failonerror="false" />
<delete dir ="${module-cms-interface.dir}" failonerror="false" />
<delete file="${module-cms-interface.dir}.zip" failonerror="false" />
<delete dir ="${module-fckeditor.dir}" failonerror="false" />
<delete file="${module-fckeditor.dir}.zip" failonerror="false" />
<delete dir ="${module-gallery2.dir}" failonerror="false" />
<delete file="${module-gallery2.dir}.zip" failonerror="false" />
<delete dir ="${module-gedfact-assistant.dir}" failonerror="false" />
<delete file="${module-gedfact-assistant.dir}.zip" failonerror="false" />
<delete dir ="${module-googlemap.dir}" failonerror="false" />
<delete file="${module-googlemap.dir}.zip" failonerror="false" />
<delete dir ="${module-jwplayer.dir}" failonerror="false" />
<delete file="${module-jwplayer.dir}.zip" failonerror="false" />
<delete dir ="${module-lightbox.dir}" failonerror="false" />
<delete file="${module-lightbox.dir}.zip" failonerror="false" />
<delete dir ="${module-punbb.dir}" failonerror="false" />
<delete file="${module-punbb.dir}.zip" failonerror="false" />
<delete dir ="${module-research-assistant.dir}" failonerror="false" />
<delete file="${module-research-assistant.dir}.zip" failonerror="false" />
<delete dir ="${module-sitemap.dir}" failonerror="false" />
<delete file="${module-sitemap.dir}.zip" failonerror="false" />
<delete dir ="${module-slideshow.dir}" failonerror="false" />
<delete file="${module-slideshow.dir}.zip" failonerror="false" />
<delete dir ="${module-wordsearch.dir}" failonerror="false" />
<delete file="${module-wordsearch.dir}.zip" failonerror="false" />
</target>
<defaultexcludes add="**/*.cache" />
<defaultexcludes add="**/*.cache/**" />
<defaultexcludes add="**/*.settings" />
<defaultexcludes add="**/*.settings/**" />
<defaultexcludes echo="false" add="**/*.project" />
<target name="package-all">
<!-- all package -->
<copy todir="${all.dir}">
<fileset dir=".">
<exclude name="build.xml" />
<exclude name="buildUpgradePatch.php" />
<exclude name="**/mymedia/**" />
<exclude name="**/mymedia" />
<exclude name="**/index/**" />
</fileset>
<fileset dir=".">
<include name="**/index/index.php" />
<include name="**/index/readme.php" />
<include name="**/index/.htaccess" />
</fileset>
</copy>
<move file="${all.dir}/config.dist"
tofile="${all.dir}/config.php" />
</target>
<target name="package-basic">
<!-- basic package -->
<copy todir="${basic.dir}">
<fileset dir=".">
<exclude name="build.xml" />
<exclude name="buildUpgradePatch.php" />
<exclude name="**/modules/**" />
<exclude name="**/places/**" />
<exclude name="**/languages/**" />
<exclude name="**/themes/**" />
<exclude name="**/mymedia/**" />
<exclude name="**/mymedia" />
<exclude name="**/index/**" />
</fileset>
<fileset dir=".">
<include name="**/modules/readme.txt" />
<include name="**/places/*.*" />
<include name="**/index/index.php" />
<include name="**/index/readme.php" />
<include name="**/index/.htaccess" />
</fileset>
</copy>
<echo message="copy languages" />
<copy todir="${basic.dir}/languages">
<fileset refid="basic.langs"></fileset>
</copy>
<echo message="copy themes" />
<copy todir="${basic.dir}/themes">
<fileset refid="basic.themes"></fileset>
</copy>
<move file="${basic.dir}/config.dist"
tofile="${basic.dir}/config.php" />
</target>
<target name="package-lang">
<!-- languages -->
<copy todir="${lang.dir}">
<fileset refid="not.basic.langs"></fileset>
</copy>
</target>
<target name="package-themes">
<!-- themes -->
<copy todir="${themes.dir}">
<fileset refid="not.basic.themes"></fileset>
</copy>
</target>
<target name="package-modules-all">
<!-- modules -->
<copy todir="${modules-all.dir}">
<fileset dir="./modules">
<include name="**/**" />
</fileset>
</copy>
</target>
<target name="package-module-batch-update">
<copy todir="${module-batch-update.dir}">
<fileset dir="./modules/">
<include name="batch_update*/**" />
</fileset>
</copy>
</target>
<target name="package-module-cms-interface">
<copy todir="${module-cms-interface.dir}">
<fileset dir="./modules/">
<include name="cms_interface*/**" />
</fileset>
</copy>
</target>
<target name="package-module-fckeditor">
<copy todir="${module-fckeditor.dir}">
<fileset dir="./modules/">
<include name="FCKeditor*/**" />
</fileset>
</copy>
</target>
<target name="package-module-gallery2">
<copy todir="${module-gallery2.dir}">
<fileset dir="./modules/">
<include name="gallery2*/**" />
</fileset>
</copy>
</target>
<target name="package-module-gedfact-assistant">
<copy todir="${module-gedfact-assistant.dir}">
<fileset dir="./modules/">
<include name="GEDFact_assistant*/**" />
</fileset>
</copy>
</target>
<target name="package-module-googlemap">
<copy todir="${module-googlemap.dir}">
<fileset dir="./modules">
<include name="googlemap*/**" />
</fileset>
</copy>
</target>
<target name="package-module-jwplayer">
<copy todir="${module-jwplayer.dir}">
<fileset dir="./modules/">
<include name="JWplayer*/**" />
</fileset>
</copy>
</target>
<target name="package-module-lightbox">
<copy todir="${module-lightbox.dir}">
<fileset dir="./modules/">
<include name="lightbox*/**" />
</fileset>
</copy>
</target>
<target name="package-module-punbb">
<copy todir="${module-punbb.dir}">
<fileset dir="./modules/">
<include name="punbb*/**" />
</fileset>
</copy>
</target>
<target name="package-module-research-assistant">
<copy todir="${module-research-assistant.dir}">
<fileset dir="./modules/">
<include name="research_assistant*/**" />
</fileset>
</copy>
</target>
<target name="package-module-sitemap">
<copy todir="${module-sitemap.dir}">
<fileset dir="./modules/">
<include name="sitemap*/**" />
</fileset>
</copy>
</target>
<target name="package-module-slideshow">
<copy todir="${module-slideshow.dir}">
<fileset dir="./modules/">
<include name="slideshow*/**" />
</fileset>
</copy>
</target>
<target name="package-module-wordsearch">
<copy todir="${module-wordsearch.dir}">
<fileset dir="./modules/">
<include name="wordsearch*/**" />
</fileset>
</copy>
</target>
<target name="package-places">
<!-- places -->
<copy todir="${places.dir}">
<fileset dir="./places">
<include name="**/**" />
</fileset>
</copy>
</target>
<target name="package-demo" depends="package-basic">
<!-- demo -->
<copy todir="${demo.dir}">
<fileset dir="${demo.base.dir}">
<include name="**/**" />
</fileset>
</copy>
<copy todir="${demo.dir}/democd/sites">
<fileset dir="${basic.dir}">
<include name="**/**" />
</fileset>
</copy>
<copy todir="${demo.dir}/democd/sites/modules">
<fileset dir="${modules-all.dir}/lightbox">
<include name="**/**" />
</fileset>
</copy>
<move file="${demo.dir}/democd/sites/config.dist"
tofile="${demo.dir}/democd/sites/config.php" />
</target>
<target name="package"
depends="package-all, package-basic, package-lang, package-themes, package-modules-all, package-places, package-demo, package-module-cms-interface, package-module-batch-update, package-module-fckeditor, package-module-gallery2, package-module-gedfact-assistant, package-module-googlemap, package-module-jwplayer, package-module-lightbox, package-module-punbb, package-module-research-assistant, package-module-sitemap, package-module-slideshow, package-module-wordsearch">
<!-- default target which does everything -->
</target>
<target name="zip" depends="package">
<zip destfile="${all.dir}.zip" basedir="${all.dir}" update="true" />
<zip destfile="${basic.dir}.zip" basedir="${basic.dir}" update="true" />
<zip destfile="${lang.dir}.zip" basedir="${lang.dir}" update="true" />
<zip destfile="${places.dir}.zip" basedir="${places.dir}" update="true" />
<zip destfile="${themes.dir}.zip" basedir="${themes.dir}" update="true" />
<zip destfile="${modules-all.dir}.zip" basedir="${modules-all.dir}" update="true" />
<zip destfile="${demo.dir}.zip" basedir="${demo.dir}" update="true" />
<zip destfile="${module-batch-update.dir}.zip" basedir="${module-batch-update.dir}" update="true" />
<zip destfile="${module-cms-interface.dir}.zip" basedir="${module-cms-interface.dir}" update="true" />
<zip destfile="${module-fckeditor.dir}.zip" basedir="${module-fckeditor.dir}" update="true" />
<zip destfile="${module-gallery2.dir}.zip" basedir="${module-gallery2.dir}" update="true" />
<zip destfile="${module-gedfact-assistant.dir}.zip" basedir="${module-gedfact-assistant.dir}" update="true" />
<zip destfile="${module-googlemap.dir}.zip" basedir="${module-googlemap.dir}" update="true" />
<zip destfile="${module-jwplayer.dir}.zip" basedir="${module-jwplayer.dir}" update="true" />
<zip destfile="${module-lightbox.dir}.zip" basedir="${module-lightbox.dir}" update="true" />
<zip destfile="${module-punbb.dir}.zip" basedir="${module-punbb.dir}" update="true" />
<zip destfile="${module-research-assistant.dir}.zip" basedir="${module-research-assistant.dir}" update="true" />
<zip destfile="${module-sitemap.dir}.zip" basedir="${module-sitemap.dir}" update="true" />
<zip destfile="${module-slideshow.dir}.zip" basedir="${module-slideshow.dir}" update="true" />
<zip destfile="${module-wordsearch.dir}.zip" basedir="${module-wordsearch.dir}" update="true" />
</target>
</project>