root / branches / v10 / applications / appgvSIG / build.xml @ 12259
History | View | Annotate | Download (43.8 KB)
1 |
<project name="appgvSIG" default="dist" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin |
4 |
</description>
|
5 |
<!-- set global properties for this build -->
|
6 |
<!-- <property name="buildDate" value="20041018"/> -->
|
7 |
<property name="version" value="1.0 beta ${eclipse.startTime}"/> |
8 |
<property name="src" location="src"/> |
9 |
<property name="build" location="bin"/> |
10 |
<property name="dist" location="dist"/> |
11 |
<property name="lib" location="lib"/> |
12 |
<property name="plugin" value="com.iver.cit.gvsig"/> |
13 |
<property name="fmapdir" value="../libFMap"/> |
14 |
<property name="extensionDir" location="../_fwAndami/gvSIG/extensiones"/> |
15 |
<property name="andamiLibs" location="../_fwAndami/lib"/> |
16 |
<property name="fmapLibs" location="../libFMap/lib"/> |
17 |
<property name="andamiJar" location="../_fwAndami/andami.jar"/> |
18 |
<property name="makeZip" location="makeZip"/> |
19 |
<property name="zipName" value="gvSIG-${version}"/> |
20 |
<import file="compile-classpath.xml"/> |
21 |
<import file="../_fwAndami/compile-classpath.xml"/> |
22 |
<property name="build-doc" value="build-doc"/> |
23 |
<property name="JavaSourceVersion" value="1.4"/> |
24 |
<property name="JavaTargetVersion" value="1.5"/> |
25 |
<property name="encoding" value="ISO_8859_1"/> |
26 |
|
27 |
<target name="init"> |
28 |
<!-- Create the time stamp -->
|
29 |
<tstamp/> |
30 |
<echo>
|
31 |
Compiling ${ant.project.name}...</echo>
|
32 |
|
33 |
<property file="build.number"/> |
34 |
<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
35 |
<!-- <buildnumber/> -->
|
36 |
</target>
|
37 |
|
38 |
<target name="build-doc" depends="" description="Genera un zip con la documentación"> |
39 |
<javadoc
|
40 |
packagenames="com.iver.cit.gvsig.*" |
41 |
sourcepath="src" |
42 |
defaultexcludes="yes" |
43 |
destdir="${build-doc}/gvSIG-api" |
44 |
windowtitle="gvSIG API"> |
45 |
</javadoc>
|
46 |
</target>
|
47 |
|
48 |
<target name="dist" |
49 |
depends="init" |
50 |
description="Generate the distribution of the gvSIG plugin. To build just the appgvSIG project from Eclipse " > |
51 |
<!-- Create the distribution directory -->
|
52 |
<mkdir dir="${dist}"/> |
53 |
|
54 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
55 |
<copy todir="${dist}/lib"> |
56 |
<fileset dir="./lib" includes="*.jar,*.zip"/> |
57 |
</copy>
|
58 |
<copy todir="${dist}/lib"> |
59 |
<fileset dir="${fmapdir}/lib" includes="*.jar"/> |
60 |
</copy>
|
61 |
<jar jarfile="${dist}/lib/fmap.jar" basedir="${fmapdir}/bin"/> |
62 |
<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}"/> |
63 |
<copy file="config/config.xml" todir="${dist}"/> |
64 |
<copy file="config/about.htm" todir="${dist}"/> |
65 |
<copy file="build.number" todir="${dist}"/> |
66 |
<copy todir="${dist}"> |
67 |
<fileset dir="config" includes="text*.properties"/> |
68 |
</copy>
|
69 |
<copy todir="${dist}/images"> |
70 |
<fileset dir="images/" includes="*"/> |
71 |
</copy>
|
72 |
<copy todir="${dist}/northimages"> |
73 |
<fileset dir="northimages/" includes="*"/> |
74 |
</copy>
|
75 |
|
76 |
<move todir="${extensionDir}/${plugin}/"> |
77 |
<fileset dir="${dist}" includes="**/**"/> |
78 |
</move>
|
79 |
</target>
|
80 |
|
81 |
<target name="makeZip" |
82 |
description="Genera un zip con todo lo necesario para ejecutar gvSIG. Actualmente no se usa" |
83 |
depends="dist"> |
84 |
<!-- Create the distribution directory -->
|
85 |
<mkdir dir="${dist}/${zipName}"/> |
86 |
<jar jarfile="${dist}/${zipName}/gvSIG.jar" basedir="../mdiApp/bin" manifest="../mdiApp/manifest.mf"/> |
87 |
<jar jarfile="${dist}/${zipName}/gvSIG.jar" basedir="../mdiApp/" includes="images/*" update="true"/> |
88 |
<jar jarfile="${dist}/${zipName}/gvSIG.jar" basedir="../mdiApp/" includes="plugin.dtd" update="true"/> |
89 |
<copy todir="${dist}/${zipName}"> |
90 |
<fileset dir="../mdiApp"> |
91 |
<include name="extensiones/${plugin}/**"/> |
92 |
<include name="extensiones/plugin.*"/> |
93 |
<include name="plugin.*"/> |
94 |
</fileset>
|
95 |
<!-- fileset dir="${dist}" includes="gvSIG.jar"/ -->
|
96 |
<fileset dir="../mdiApp_v02_estable"> |
97 |
<include name="lib/**"/> |
98 |
</fileset>
|
99 |
<fileset dir="distFiles" includes="**/**"/> |
100 |
</copy>
|
101 |
<zip zipfile="${zipName}.zip"> |
102 |
<fileset dir="${dist}"> |
103 |
<include name="**/**"/> |
104 |
</fileset>
|
105 |
</zip>
|
106 |
<!-- <delete dir="${dist}"/> -->
|
107 |
</target>
|
108 |
|
109 |
<target name="make-binary-distribution" |
110 |
description="Prepare a binary distribution of the application. This increments the build number and then makes a global build" |
111 |
depends="buildNumber,build-all"> |
112 |
</target>
|
113 |
|
114 |
<target name="batch-build" |
115 |
description="Global build for the whole gvSIG + extensions. Compiles all the sources and builds the application so that it's ready to execute" |
116 |
depends="init,get-fmap-libs,compile,create-jar,copy-libs,copy-data-files,move-to-andami"> |
117 |
</target>
|
118 |
|
119 |
<target name="compile" description="compile the source"> |
120 |
<!-- Create the time stamp -->
|
121 |
<tstamp/> |
122 |
<!-- Create the build directory structure used by compile -->
|
123 |
<mkdir dir="${build}"/> |
124 |
<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
125 |
<!-- <buildnumber />-->
|
126 |
<!-- Compile the Java code from ${src} to ${build} -->
|
127 |
<javac srcdir="${src}" |
128 |
destdir="${build}" |
129 |
source="${JavaSourceVersion}" |
130 |
target="${JavaTargetVersion}" |
131 |
debug="${debug}" |
132 |
debuglevel="${debuglevel}" |
133 |
excludes="com/iver/cit/gvsig/test/**" |
134 |
encoding="${encoding}"> |
135 |
<classpath refid="appgvSIG.compile-classpath"/> |
136 |
<!-- <classpath refid="_fwAndami.compile-classpath"/> -->
|
137 |
</javac>
|
138 |
</target>
|
139 |
|
140 |
<target name="create-jar" description="Creates the jar file"> |
141 |
<mkdir dir="${dist}/lib"/> |
142 |
<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}"/> |
143 |
</target>
|
144 |
|
145 |
<target name="copy-libs" |
146 |
depends="get-fmap-libs"> |
147 |
<mkdir dir="${dist}"/> |
148 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
149 |
<copy todir="${dist}/lib"> |
150 |
<fileset dir="./lib" includes="*.jar,*.zip"/> |
151 |
</copy>
|
152 |
</target>
|
153 |
|
154 |
<target name="get-fmap-libs"> |
155 |
<copy todir="${dist}/lib"> |
156 |
<fileset dir="${fmapdir}/lib" includes="*.jar"/> |
157 |
</copy>
|
158 |
<jar jarfile="${dist}/lib/fmap.jar" basedir="${fmapdir}/bin"/> |
159 |
<copy file="${dist}/lib/fmap.jar" todir="${extensionDir}/${plugin}/lib"/> |
160 |
</target>
|
161 |
|
162 |
<target name="copy-data-files"> |
163 |
<copy todir="${dist}"> |
164 |
<fileset dir="config" includes="*" /> |
165 |
</copy>
|
166 |
<copy file="build.number" todir="${dist}"/> |
167 |
<copy todir="${dist}/images"> |
168 |
<fileset dir="images/" includes="*"/> |
169 |
</copy>
|
170 |
<copy todir="${dist}/northimages"> |
171 |
<fileset dir="northimages/" includes="*"/> |
172 |
</copy>
|
173 |
</target>
|
174 |
|
175 |
<target name="move-to-andami" description="Moves the build directory to andami"> |
176 |
<move todir="${extensionDir}/${plugin}/"> |
177 |
<fileset dir="${dist}" includes="**/**"/> |
178 |
</move>
|
179 |
</target>
|
180 |
|
181 |
<target name="clean" |
182 |
description="clean up" > |
183 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
184 |
<delete dir="${build}"/> |
185 |
<!-- <delete dir="${dist}"/> -->
|
186 |
</target>
|
187 |
|
188 |
|
189 |
<!-- the global build starts here -->
|
190 |
<property name="andami" location="../_fwAndami"/> |
191 |
<property name="utiles" location="../libIverUtiles"/> |
192 |
<property name="core" location="../libCorePlugin"/> |
193 |
<property name="driver" location="../libDriverManager"/> |
194 |
<property name="cms" location="../libCq CMS for java"/> |
195 |
<!--<property name="cms" location="../libCq_CMS_praster"/> -->
|
196 |
<property name="fmap" location="../libFMap"/> |
197 |
<property name="gvSIG" location="../appgvSIG"/> |
198 |
<property name="remote" location="../libRemoteServices"/> |
199 |
<property name="gdbms" location="../libGDBMS"/> |
200 |
<property name="i18n" location="../libInternationalization"/> |
201 |
<property name="global.installBaseDir" location="${andami}"/> |
202 |
|
203 |
<target name="buildNumber" |
204 |
description="Generates the build.number for the application"> |
205 |
<propertyfile
|
206 |
file="build.number" |
207 |
comment="Build Number for ANT. Do not edit!"> |
208 |
<entry key="build.number" default="0" type="int" operation="+" pattern="0000"/> |
209 |
</propertyfile>
|
210 |
</target>
|
211 |
|
212 |
<target name="build-all" |
213 |
depends="debug-no,base,extensions" |
214 |
description="Global build for the whole gvSIG + extensions. Compiles all the sources and builds the application so that it's ready to execute" /> |
215 |
|
216 |
<target name="eclipse-build-all" |
217 |
depends="debug-yes,base,extensions" |
218 |
description="Builds the application, including extensions, producing debug info" /> |
219 |
|
220 |
<target name="debug-yes"> |
221 |
<property name="debug" value="on"/> |
222 |
<property name="debuglevel" value="lines, vars"/> |
223 |
</target>
|
224 |
|
225 |
<target name="debug-no"> |
226 |
<property name="debug" value="off"/> |
227 |
</target>
|
228 |
|
229 |
<target name="eclipse-base" depends="debug-yes,base" /> |
230 |
<target name="eclipse-extensions" depends="debug-yes,base,extensions" /> |
231 |
|
232 |
<target name="base" |
233 |
description="Builds the application, excluding extensions"> |
234 |
<property file="build.number"/> |
235 |
<ant dir="${i18n}" target="batch-build" inheritAll="false"> |
236 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
237 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
238 |
<property name="debug" value="${debug}"/> |
239 |
<property name="debuglevel" value="${debuglevel}"/> |
240 |
<property name="encoding" value="ISO_8859_1"/> |
241 |
</ant>
|
242 |
<ant dir="${utiles}" target="batch-build" inheritAll="false"> |
243 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
244 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
245 |
<property name="debug" value="${debug}"/> |
246 |
<property name="debuglevel" value="${debuglevel}"/> |
247 |
<property name="encoding" value="ISO_8859_1"/> |
248 |
</ant>
|
249 |
<ant dir="${andami}" target="batch-build" inheritAll="false"> |
250 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
251 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
252 |
<property name="debug" value="${debug}"/> |
253 |
<property name="debuglevel" value="${debuglevel}"/> |
254 |
<property name="encoding" value="ISO_8859_1"/> |
255 |
</ant>
|
256 |
<ant dir="${libui}" target="batch-build" inheritAll="false"> |
257 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
258 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
259 |
<property name="debug" value="${debug}"/> |
260 |
<property name="debuglevel" value="${debuglevel}"/> |
261 |
<property name="installBaseDir" value="${global.installBaseDir}"/> |
262 |
<property name="encoding" value="ISO_8859_1"/> |
263 |
</ant>
|
264 |
<ant dir="${core}" target="import-build-number" inheritAll="false"> |
265 |
<property name="buildNumberFile" location="build.number"/> |
266 |
</ant>
|
267 |
<ant dir="${core}" target="batch-build" inheritAll="false"> |
268 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
269 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
270 |
<property name="debug" value="${debug}"/> |
271 |
<property name="debuglevel" value="${debuglevel}"/> |
272 |
<property name="encoding" value="ISO_8859_1"/> |
273 |
</ant>
|
274 |
<ant dir="${cms}" target="batch-build" inheritAll="false"> |
275 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
276 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
277 |
<property name="debug" value="${debug}"/> |
278 |
<property name="debuglevel" value="${debuglevel}"/> |
279 |
<property name="encoding" value="ISO_8859_1"/> |
280 |
</ant>
|
281 |
<ant dir="${driver}" target="batch-build" inheritAll="false"> |
282 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
283 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
284 |
<property name="debug" value="${debug}"/> |
285 |
<property name="debuglevel" value="${debuglevel}"/> |
286 |
<property name="encoding" value="ISO_8859_1"/> |
287 |
</ant>
|
288 |
<ant dir="${remote}" target="batch-build" inheritAll="false"> |
289 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
290 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
291 |
<property name="debug" value="${debug}"/> |
292 |
<property name="debuglevel" value="${debuglevel}"/> |
293 |
<property name="encoding" value="ISO_8859_1"/> |
294 |
</ant>
|
295 |
<ant dir="${gdbms}" target="batch-build" inheritAll="false"> |
296 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
297 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
298 |
<property name="debug" value="${debug}"/> |
299 |
<property name="debuglevel" value="${debuglevel}"/> |
300 |
<property name="encoding" value="ISO_8859_1"/> |
301 |
</ant>
|
302 |
<ant dir="${fmap}" target="batch-build" inheritAll="false"> |
303 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
304 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
305 |
<property name="debug" value="${debug}"/> |
306 |
<property name="debuglevel" value="${debuglevel}"/> |
307 |
<property name="encoding" value="ISO_8859_1"/> |
308 |
</ant>
|
309 |
<ant dir="${gvSIG}" target="batch-build" inheritAll="false"> |
310 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
311 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
312 |
<property name="debug" value="${debug}"/> |
313 |
<property name="debuglevel" value="${debuglevel}"/> |
314 |
<property name="encoding" value="ISO_8859_1"/> |
315 |
</ant>
|
316 |
</target>
|
317 |
|
318 |
<property name="appcatalog" location="../appCatalogYNomenclatorClient"/> |
319 |
<property name="catalog" location="../extCatalogYNomenclator"/> |
320 |
<property name="dataloc" location="../extDataLocator"/> |
321 |
<property name="event" location="../extAddEventTheme"/> |
322 |
<property name="libdwg" location="../libDwg"/> |
323 |
<property name="extdwg" location="../extDwg"/> |
324 |
<property name="cad" location="../extCAD"/> |
325 |
<property name="geoprocessing" location="../extGeoProcessing"/> |
326 |
<property name="geoprocessingExtensions" location="../extGeoprocessingExtensions"/> |
327 |
<property name="georeferencing" location="../extGeoreferencing"/> |
328 |
<property name="jdbc" location="../extJDBC"/> |
329 |
<property name="rastertools" location="../extRasterTools"/> |
330 |
<property name="wcs" location="../extWCS"/> |
331 |
<property name="wfs" location="../extWFS2"/> |
332 |
<property name="wms" location="../extWMS"/> |
333 |
<property name="scripting" location="../extScripting"/> |
334 |
<property name="centerview" location="../extCenterViewToPoint"/> |
335 |
<property name="libui" location="../libUI"/> |
336 |
<property name="expressionField" location="../extExpresionField"/> |
337 |
<property name="annotations" location="../extAnnotations"/> |
338 |
<property name="geobd" location="../extOracleSpatial"/> |
339 |
<property name="jcrs" location="../extJCRS_binaries"/> |
340 |
<property name="libArcIMS" location="../libArcIMS"/> |
341 |
<property name="Arcims" location="../extArcims"/> |
342 |
|
343 |
<target name="extensions" depends="base"> |
344 |
<condition property="event.Dir" value="${event}" else="scripts/voidTarget"> |
345 |
<available file="${event}" type="dir"/> |
346 |
</condition>
|
347 |
<ant dir="${event.Dir}" target="import-build-number" inheritAll="false"> |
348 |
<property name="buildNumberFile" location="build.number"/> |
349 |
</ant>
|
350 |
<ant dir="${event.Dir}" target="batch-build" inheritAll="false"> |
351 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
352 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
353 |
<property name="debug" value="${debug}"/> |
354 |
<property name="debuglevel" value="${debuglevel}"/> |
355 |
<property name="encoding" value="ISO_8859_1"/> |
356 |
</ant>
|
357 |
<condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget"> |
358 |
<available file="${libdwg}" type="dir"/> |
359 |
</condition>
|
360 |
<ant dir="${libdwg.Dir}" target="batch-build" inheritAll="false"> |
361 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
362 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
363 |
<property name="debug" value="${debug}"/> |
364 |
<property name="debuglevel" value="${debuglevel}"/> |
365 |
<property name="encoding" value="ISO_8859_1"/> |
366 |
</ant>
|
367 |
<condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget"> |
368 |
<available file="${extdwg}" type="dir"/> |
369 |
</condition>
|
370 |
<ant dir="${extdwg.Dir}" target="batch-build" inheritAll="false"> |
371 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
372 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
373 |
<property name="debug" value="${debug}"/> |
374 |
<property name="debuglevel" value="${debuglevel}"/> |
375 |
<property name="encoding" value="ISO_8859_1"/> |
376 |
</ant>
|
377 |
<condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget"> |
378 |
<available file="${jdbc}" type="dir"/> |
379 |
</condition>
|
380 |
<ant dir="${jdbc.Dir}" target="import-build-number" inheritAll="false"> |
381 |
<property name="buildNumberFile" location="build.number"/> |
382 |
</ant>
|
383 |
<ant dir="${jdbc.Dir}" target="batch-build" inheritAll="false"> |
384 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
385 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
386 |
<property name="debug" value="${debug}"/> |
387 |
<property name="debuglevel" value="${debuglevel}"/> |
388 |
<property name="encoding" value="ISO_8859_1"/> |
389 |
</ant>
|
390 |
<condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget"> |
391 |
<available file="${geobd}" type="dir"/> |
392 |
</condition>
|
393 |
<ant dir="${geobd.Dir}" target="import-build-number" inheritAll="false"> |
394 |
<property name="buildNumberFile" location="build.number"/> |
395 |
</ant>
|
396 |
<ant dir="${geobd.Dir}" target="batch-build" inheritAll="false"> |
397 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
398 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
399 |
<property name="debug" value="${debug}"/> |
400 |
<property name="debuglevel" value="${debuglevel}"/> |
401 |
<property name="encoding" value="ISO_8859_1"/> |
402 |
</ant>
|
403 |
<condition property="cad.Dir" value="${cad}" else="scripts/voidTarget"> |
404 |
<available file="${cad}" type="dir"/> |
405 |
</condition>
|
406 |
<ant dir="${cad.Dir}" target="import-build-number" inheritAll="false"> |
407 |
<property name="buildNumberFile" location="build.number"/> |
408 |
</ant>
|
409 |
<ant dir="${cad.Dir}" target="batch-build" inheritAll="false"> |
410 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
411 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
412 |
<property name="debug" value="${debug}"/> |
413 |
<property name="debuglevel" value="${debuglevel}"/> |
414 |
<property name="encoding" value="ISO_8859_1"/> |
415 |
</ant>
|
416 |
<condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget"> |
417 |
<available file="${appcatalog}" type="dir"/> |
418 |
</condition>
|
419 |
<ant dir="${appcatalog.Dir}" target="import-build-number" inheritAll="false"> |
420 |
<property name="buildNumberFile" location="build.number"/> |
421 |
</ant>
|
422 |
<ant dir="${appcatalog.Dir}" target="batch-build" inheritAll="false"> |
423 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
424 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
425 |
<property name="debug" value="${debug}"/> |
426 |
<property name="debuglevel" value="${debuglevel}"/> |
427 |
<property name="encoding" value="ISO_8859_1"/> |
428 |
</ant>
|
429 |
<condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget"> |
430 |
<available file="${catalog}" type="dir"/> |
431 |
</condition>
|
432 |
<ant dir="${catalog.Dir}" target="import-build-number" inheritAll="false"> |
433 |
<property name="buildNumberFile" location="build.number"/> |
434 |
</ant>
|
435 |
<ant dir="${catalog.Dir}" target="batch-build" inheritAll="false"> |
436 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
437 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
438 |
<property name="debug" value="${debug}"/> |
439 |
<property name="debuglevel" value="${debuglevel}"/> |
440 |
<property name="encoding" value="ISO_8859_1"/> |
441 |
</ant>
|
442 |
<condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget"> |
443 |
<available file="${wcs}" type="dir"/> |
444 |
</condition>
|
445 |
<ant dir="${wcs.Dir}" target="import-build-number" inheritAll="false"> |
446 |
<property name="buildNumberFile" location="build.number"/> |
447 |
</ant>
|
448 |
<ant dir="${wcs.Dir}" target="batch-build" inheritAll="false"> |
449 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
450 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
451 |
<property name="debug" value="${debug}"/> |
452 |
<property name="debuglevel" value="${debuglevel}"/> |
453 |
<property name="encoding" value="ISO_8859_1"/> |
454 |
</ant>
|
455 |
<condition property="wms.Dir" value="${wms}" else="scripts/voidTarget"> |
456 |
<available file="${wms}" type="dir"/> |
457 |
</condition>
|
458 |
<ant dir="${wms.Dir}" target="import-build-number" inheritAll="false"> |
459 |
<property name="buildNumberFile" location="build.number"/> |
460 |
</ant>
|
461 |
<ant dir="${wms.Dir}" target="batch-build" inheritAll="false"> |
462 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
463 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
464 |
<property name="debug" value="${debug}"/> |
465 |
<property name="debuglevel" value="${debuglevel}"/> |
466 |
<property name="encoding" value="ISO_8859_1"/> |
467 |
</ant>
|
468 |
<condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget"> |
469 |
<available file="${dataloc}" type="dir"/> |
470 |
</condition>
|
471 |
<ant dir="${dataloc.Dir}" target="import-build-number" inheritAll="false"> |
472 |
<property name="buildNumberFile" location="build.number"/> |
473 |
</ant>
|
474 |
<ant dir="${dataloc.Dir}" target="batch-build" inheritAll="false"> |
475 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
476 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
477 |
<property name="debug" value="${debug}"/> |
478 |
<property name="debuglevel" value="${debuglevel}"/> |
479 |
<property name="encoding" value="ISO_8859_1"/> |
480 |
</ant>
|
481 |
<condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget"> |
482 |
<available file="${geoprocessing}" type="dir"/> |
483 |
</condition>
|
484 |
<ant dir="${geoprocessing.Dir}" target="import-build-number" inheritAll="false"> |
485 |
<property name="buildNumberFile" location="build.number"/> |
486 |
</ant>
|
487 |
<ant dir="${geoprocessing.Dir}" target="batch-build" inheritAll="false"> |
488 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
489 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
490 |
<property name="debug" value="${debug}"/> |
491 |
<property name="debuglevel" value="${debuglevel}"/> |
492 |
<property name="encoding" value="ISO_8859_1"/> |
493 |
</ant>
|
494 |
<condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget"> |
495 |
<available file="${geoprocessingExtensions}" type="dir"/> |
496 |
</condition>
|
497 |
<ant dir="${geoprocessingExtensions.Dir}" target="import-build-number" inheritAll="false"> |
498 |
<property name="buildNumberFile" location="build.number"/> |
499 |
</ant>
|
500 |
<ant dir="${geoprocessingExtensions.Dir}" target="batch-build" inheritAll="false"> |
501 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
502 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
503 |
<property name="debug" value="${debug}"/> |
504 |
<property name="debuglevel" value="${debuglevel}"/> |
505 |
<property name="encoding" value="ISO_8859_1"/> |
506 |
</ant>
|
507 |
<condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget"> |
508 |
<available file="${georeferencing}" type="dir"/> |
509 |
</condition>
|
510 |
<ant dir="${georeferencing.Dir}" target="import-build-number" inheritAll="false"> |
511 |
<property name="buildNumberFile" location="build.number"/> |
512 |
</ant>
|
513 |
<ant dir="${georeferencing.Dir}" target="batch-build" inheritAll="false"> |
514 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
515 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
516 |
<property name="debug" value="${debug}"/> |
517 |
<property name="debuglevel" value="${debuglevel}"/> |
518 |
<property name="encoding" value="ISO_8859_1"/> |
519 |
</ant>
|
520 |
<condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget"> |
521 |
<available file="${wfs}" type="dir"/> |
522 |
</condition>
|
523 |
<ant dir="${rastertools.Dir}" target="import-build-number" inheritAll="false"> |
524 |
<property name="buildNumberFile" location="build.number"/> |
525 |
</ant>
|
526 |
<ant dir="${rastertools.Dir}" target="batch-build" inheritAll="false"> |
527 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
528 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
529 |
<property name="debug" value="${debug}"/> |
530 |
<property name="debuglevel" value="${debuglevel}"/> |
531 |
<property name="encoding" value="ISO_8859_1"/> |
532 |
</ant>
|
533 |
<condition property="wfs.Dir" value="${wfs}" else="scripts/voidTarget"> |
534 |
<available file="${wfs}" type="dir"/> |
535 |
</condition>
|
536 |
<ant dir="${wfs.Dir}" target="import-build-number" inheritAll="false"> |
537 |
<property name="buildNumberFile" location="build.number"/> |
538 |
</ant>
|
539 |
<ant dir="${wfs.Dir}" target="batch-build" inheritAll="false"> |
540 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
541 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
542 |
<property name="debug" value="${debug}"/> |
543 |
<property name="debuglevel" value="${debuglevel}"/> |
544 |
<property name="encoding" value="ISO_8859_1"/> |
545 |
</ant>
|
546 |
<condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget"> |
547 |
<available file="${centerview}" type="dir"/> |
548 |
</condition>
|
549 |
<ant dir="${centerview.Dir}" target="import-build-number" inheritAll="false"> |
550 |
<property name="buildNumberFile" location="build.number"/> |
551 |
</ant>
|
552 |
<ant dir="${centerview.Dir}" target="batch-build" inheritAll="false"> |
553 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
554 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
555 |
<property name="debug" value="${debug}"/> |
556 |
<property name="debuglevel" value="${debuglevel}"/> |
557 |
<property name="encoding" value="ISO_8859_1"/> |
558 |
<property name="installBaseDir" value="${global.installBaseDir}"/> |
559 |
</ant>
|
560 |
<condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget"> |
561 |
<available file="${scripting}" type="dir"/> |
562 |
</condition>
|
563 |
<ant dir="${scripting.Dir}" target="import-build-number" inheritAll="false"> |
564 |
<property name="buildNumberFile" location="build.number"/> |
565 |
</ant>
|
566 |
<ant dir="${scripting.Dir}" target="batch-build" inheritAll="false"> |
567 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
568 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
569 |
<property name="debug" value="${debug}"/> |
570 |
<property name="debuglevel" value="${debuglevel}"/> |
571 |
<property name="encoding" value="ISO_8859_1"/> |
572 |
</ant>
|
573 |
|
574 |
<condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget"> |
575 |
<available file="${expressionField}" type="dir"/> |
576 |
</condition>
|
577 |
<ant dir="${expressionField.Dir}" target="import-build-number" inheritAll="false"> |
578 |
<property name="buildNumberFile" location="build.number"/> |
579 |
</ant>
|
580 |
<ant dir="${expressionField.Dir}" target="batch-build" inheritAll="false"> |
581 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
582 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
583 |
<property name="debug" value="${debug}"/> |
584 |
<property name="debuglevel" value="${debuglevel}"/> |
585 |
<property name="encoding" value="ISO_8859_1"/> |
586 |
</ant>
|
587 |
|
588 |
<condition property="annotations.Dir" value="${annotations}" else="scripts/voidTarget"> |
589 |
<available file="${annotations}" type="dir"/> |
590 |
</condition>
|
591 |
<ant dir="${annotations.Dir}" target="import-build-number" inheritAll="false"> |
592 |
<property name="buildNumberFile" location="build.number"/> |
593 |
</ant>
|
594 |
<ant dir="${annotations.Dir}" target="batch-build" inheritAll="false"> |
595 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
596 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
597 |
<property name="debug" value="${debug}"/> |
598 |
<property name="debuglevel" value="${debuglevel}"/> |
599 |
<property name="encoding" value="ISO_8859_1"/> |
600 |
</ant>
|
601 |
|
602 |
<condition property="jcrs.Dir" value="${jcrs}" else="scripts/voidTarget"> |
603 |
<available file="${jcrs}" type="dir"/> |
604 |
</condition>
|
605 |
<ant dir="${jcrs.Dir}" target="import-build-number" inheritAll="false"> |
606 |
<property name="buildNumberFile" location="build.number"/> |
607 |
</ant>
|
608 |
<ant dir="${jcrs.Dir}" target="batch-build" inheritAll="false"> |
609 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
610 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
611 |
<property name="debug" value="${debug}"/> |
612 |
<property name="debuglevel" value="${debuglevel}"/> |
613 |
<property name="encoding" value="ISO_8859_1"/> |
614 |
</ant>
|
615 |
|
616 |
<condition property="libArcIMS.Dir" value="${libArcIMS}" else="scripts/voidTarget"> |
617 |
<available file="${libArcIMS}" type="dir"/> |
618 |
</condition>
|
619 |
<ant dir="${libArcIMS.Dir}" target="batch-build" inheritAll="false"> |
620 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
621 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
622 |
<property name="debug" value="${debug}"/> |
623 |
<property name="debuglevel" value="${debuglevel}"/> |
624 |
<property name="encoding" value="ISO_8859_1"/> |
625 |
</ant>
|
626 |
|
627 |
<condition property="Arcims.Dir" value="${Arcims}" else="scripts/voidTarget"> |
628 |
<available file="${Arcims}" type="dir"/> |
629 |
</condition>
|
630 |
<ant dir="${Arcims.Dir}" target="import-build-number" inheritAll="false"> |
631 |
<property name="buildNumberFile" location="build.number"/> |
632 |
</ant>
|
633 |
<ant dir="${Arcims.Dir}" target="batch-build" inheritAll="false"> |
634 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
635 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
636 |
<property name="debug" value="${debug}"/> |
637 |
<property name="debuglevel" value="${debuglevel}"/> |
638 |
<property name="encoding" value="ISO_8859_1"/> |
639 |
</ant>
|
640 |
</target>
|
641 |
|
642 |
<target name="clean-all" |
643 |
depends="clean-base,clean-extensions" |
644 |
description="clean up" /> |
645 |
|
646 |
<target name="clean-base" |
647 |
description="cleans the base components of gvSIG: appgvSIG + libs"> |
648 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
649 |
<ant dir="${utiles}" target="clean"/> |
650 |
<ant dir="${i18n}" target="clean"/> |
651 |
<ant dir="${andami}" target="clean"/> |
652 |
<ant dir="${core}" target="clean"/> |
653 |
<ant dir="${cms}" target="clean"/> |
654 |
<ant dir="${driver}" target="clean"/> |
655 |
<ant dir="${remote}" target="clean"/> |
656 |
<ant dir="${gdbms}" target="clean"/> |
657 |
<ant dir="${fmap}" target="clean"/> |
658 |
<ant dir="${gvSIG}" target="clean"/> |
659 |
<ant dir="${libui}" target="clean"/> |
660 |
</target>
|
661 |
|
662 |
<target name="clean-extensions" |
663 |
description="Clean the extensions"> |
664 |
<condition property="event.Dir" value="${event}" else="scripts/voidTarget"> |
665 |
<available file="${event}" type="dir"/> |
666 |
</condition>
|
667 |
<ant dir="${event.Dir}" target="clean" inheritAll="false" /> |
668 |
<condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget"> |
669 |
<available file="${libdwg}" type="dir"/> |
670 |
</condition>
|
671 |
<ant dir="${libdwg.Dir}" target="clean" inheritAll="false" /> |
672 |
<condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget"> |
673 |
<available file="${extdwg}" type="dir"/> |
674 |
</condition>
|
675 |
<ant dir="${extdwg.Dir}" target="clean" inheritAll="false" /> |
676 |
<condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget"> |
677 |
<available file="${jdbc}" type="dir"/> |
678 |
</condition>
|
679 |
<ant dir="${jdbc.Dir}" target="clean" inheritAll="false" /> |
680 |
<condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget"> |
681 |
<available file="${geobd}" type="dir"/> |
682 |
</condition>
|
683 |
<ant dir="${geobd.Dir}" target="clean" inheritAll="false" /> |
684 |
<condition property="cad.Dir" value="${cad}" else="scripts/voidTarget"> |
685 |
<available file="${cad}" type="dir"/> |
686 |
</condition>
|
687 |
<ant dir="${cad.Dir}" target="clean" inheritAll="false" /> |
688 |
<condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget"> |
689 |
<available file="${appcatalog}" type="dir"/> |
690 |
</condition>
|
691 |
<ant dir="${appcatalog.Dir}" target="clean" inheritAll="false" /> |
692 |
<condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget"> |
693 |
<available file="${catalog}" type="dir"/> |
694 |
</condition>
|
695 |
<ant dir="${catalog.Dir}" target="clean" inheritAll="false" /> |
696 |
<condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget"> |
697 |
<available file="${wcs}" type="dir"/> |
698 |
</condition>
|
699 |
<ant dir="${wcs.Dir}" target="clean" inheritAll="false" /> |
700 |
<condition property="wms.Dir" value="${wms}" else="scripts/voidTarget"> |
701 |
<available file="${wms}" type="dir"/> |
702 |
</condition>
|
703 |
<ant dir="${wms.Dir}" target="clean" inheritAll="false" /> |
704 |
<condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget"> |
705 |
<available file="${dataloc}" type="dir"/> |
706 |
</condition>
|
707 |
<ant dir="${dataloc}" target="clean" inheritAll="false" /> |
708 |
<condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget"> |
709 |
<available file="${geoprocessing}" type="dir"/> |
710 |
</condition>
|
711 |
<ant dir="${geoprocessing.Dir}" target="clean" inheritAll="false" /> |
712 |
|
713 |
<condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget"> |
714 |
<available file="${geoprocessingExtensions}" type="dir"/> |
715 |
</condition>
|
716 |
<ant dir="${geoprocessingExtensions.Dir}" target="clean" inheritAll="false" /> |
717 |
|
718 |
<condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget"> |
719 |
<available file="${georeferencing}" type="dir"/> |
720 |
</condition>
|
721 |
<ant dir="${georeferencing.Dir}" target="clean" inheritAll="false" /> |
722 |
<condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget"> |
723 |
<available file="${rastertools}" type="dir"/> |
724 |
</condition>
|
725 |
<ant dir="${rastertools.Dir}" target="clean" inheritAll="false" /> |
726 |
<condition property="wfsg.Dir" value="${wfs}" else="scripts/voidTarget"> |
727 |
<available file="${wfs}" type="dir"/> |
728 |
</condition>
|
729 |
<ant dir="${wfsg.Dir}" target="clean" inheritAll="false" /> |
730 |
<condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget"> |
731 |
<available file="${scripting}" type="dir"/> |
732 |
</condition>
|
733 |
<ant dir="${scripting.Dir}" target="clean" inheritAll="false" /> |
734 |
<condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget"> |
735 |
<available file="${centerview}" type="dir"/> |
736 |
</condition>
|
737 |
<ant dir="${centerview.Dir}" target="clean" inheritAll="false" /> |
738 |
<condition property="${expressionField.Dir}" value="${expressionField}" else="scripts/voidTarget"> |
739 |
<available file="${expressionField}" type="dir"/> |
740 |
</condition>
|
741 |
<ant dir="${expressionField.Dir}" target="clean" inheritAll="false" /> |
742 |
<condition property="${annotations.Dir}" value="${annotations}" else="scripts/voidTarget"> |
743 |
<available file="${annotations}" type="dir"/> |
744 |
</condition>
|
745 |
<ant dir="${annotations.Dir}" target="clean" inheritAll="false" /> |
746 |
</target>
|
747 |
|
748 |
<!-- Those targets don't compile, they just generate the jars and copy files to
|
749 |
andami. The compilation is supposed to be done by Eclipse -->
|
750 |
<target name="install-all" |
751 |
depends="install-base,install-extensions" |
752 |
description="Generate jars and copy files to Andami for the whole application (gvSIG+libs+extensions). Compilation is supposed to be automatically done by Eclipse" /> |
753 |
|
754 |
<target name="install-base" |
755 |
description="Generate jars and copy files to Andami for the application (gvSIG+libs). Compilation is supposed to be automatically done by Eclipse" > |
756 |
<property file="build.number"/> |
757 |
<ant dir="${i18n}" inheritAll="false"/> |
758 |
<ant dir="${utiles}" inheritAll="false"/> |
759 |
<ant dir="${andami}" inheritAll="false"/> |
760 |
<ant dir="${libui}" inheritAll="false"/> |
761 |
<ant dir="${core}" target="import-build-number" inheritAll="false"> |
762 |
<property name="buildNumberFile" location="build.number"/> |
763 |
</ant>
|
764 |
<ant dir="${core}" inheritAll="false"/> |
765 |
<ant dir="${cms}" inheritAll="false"/> |
766 |
<ant dir="${driver}" inheritAll="false"/> |
767 |
<ant dir="${remote}" inheritAll="false"/> |
768 |
<ant dir="${gdbms}" inheritAll="false"/> |
769 |
<ant dir="${fmap}" inheritAll="false"/> |
770 |
<ant dir="${gvSIG}" inheritAll="false"/> |
771 |
</target>
|
772 |
|
773 |
<target name="install-extensions" depends="install-base" |
774 |
description="Generate jars and copy files to Andami for the extensions. Compilation is supposed to be automatically done by Eclipse" > |
775 |
<condition property="event.Dir" value="${event}" else="scripts/voidTarget"> |
776 |
<available file="${event}" type="dir"/> |
777 |
</condition>
|
778 |
<ant dir="${event.Dir}" target="import-build-number" inheritAll="false"> |
779 |
<property name="buildNumberFile" location="build.number"/> |
780 |
</ant>
|
781 |
<ant dir="${event.Dir}" inheritAll="false"/> |
782 |
<condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget"> |
783 |
<available file="${libdwg}" type="dir"/> |
784 |
</condition>
|
785 |
<ant dir="${libdwg.Dir}" inheritAll="false"/> |
786 |
<condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget"> |
787 |
<available file="${extdwg}" type="dir"/> |
788 |
</condition>
|
789 |
<ant dir="${extdwg.Dir}" inheritAll="false"/> |
790 |
<condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget"> |
791 |
<available file="${jdbc}" type="dir"/> |
792 |
</condition>
|
793 |
<ant dir="${jdbc.Dir}" target="import-build-number" inheritAll="false"> |
794 |
<property name="buildNumberFile" location="build.number"/> |
795 |
</ant>
|
796 |
<ant dir="${jdbc.Dir}" inheritAll="false"/> |
797 |
|
798 |
<condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget"> |
799 |
<available file="${geobd}" type="dir"/> |
800 |
</condition>
|
801 |
<ant dir="${geobd.Dir}" target="import-build-number" inheritAll="false"> |
802 |
<property name="buildNumberFile" location="build.number"/> |
803 |
</ant>
|
804 |
<ant dir="${geobd.Dir}" inheritAll="false"/> |
805 |
<condition property="cad.Dir" value="${cad}" else="scripts/voidTarget"> |
806 |
<available file="${cad}" type="dir"/> |
807 |
</condition>
|
808 |
<ant dir="${cad.Dir}" target="import-build-number" inheritAll="false"> |
809 |
<property name="buildNumberFile" location="build.number"/> |
810 |
</ant>
|
811 |
<ant dir="${cad.Dir}" inheritAll="false"/> |
812 |
<condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget"> |
813 |
<available file="${appcatalog}" type="dir"/> |
814 |
</condition>
|
815 |
<ant dir="${appcatalog.Dir}" target="import-build-number" inheritAll="false"> |
816 |
<property name="buildNumberFile" location="build.number"/> |
817 |
</ant>
|
818 |
<ant dir="${appcatalog.Dir}" inheritAll="false"/> |
819 |
<condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget"> |
820 |
<available file="${catalog}" type="dir"/> |
821 |
</condition>
|
822 |
<ant dir="${catalog.Dir}" target="import-build-number" inheritAll="false"> |
823 |
<property name="buildNumberFile" location="build.number"/> |
824 |
</ant>
|
825 |
<ant dir="${catalog.Dir}" inheritAll="false"/> |
826 |
<condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget"> |
827 |
<available file="${wcs}" type="dir"/> |
828 |
</condition>
|
829 |
<ant dir="${wcs.Dir}" target="import-build-number" inheritAll="false"> |
830 |
<property name="buildNumberFile" location="build.number"/> |
831 |
</ant>
|
832 |
<ant dir="${wcs.Dir}" inheritAll="false"/> |
833 |
<condition property="wms.Dir" value="${wms}" else="scripts/voidTarget"> |
834 |
<available file="${wms}" type="dir"/> |
835 |
</condition>
|
836 |
<ant dir="${wms.Dir}" target="import-build-number" inheritAll="false"> |
837 |
<property name="buildNumberFile" location="build.number"/> |
838 |
</ant>
|
839 |
<ant dir="${wms.Dir}" inheritAll="false"/> |
840 |
<condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget"> |
841 |
<available file="${dataloc}" type="dir"/> |
842 |
</condition>
|
843 |
<ant dir="${dataloc.Dir}" target="import-build-number" inheritAll="false"> |
844 |
<property name="buildNumberFile" location="build.number"/> |
845 |
</ant>
|
846 |
<ant dir="${dataloc.Dir}" inheritAll="false"/> |
847 |
<condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget"> |
848 |
<available file="${geoprocessing}" type="dir"/> |
849 |
</condition>
|
850 |
<ant dir="${geoprocessing.Dir}" target="import-build-number" inheritAll="false"> |
851 |
<property name="buildNumberFile" location="build.number"/> |
852 |
</ant>
|
853 |
<ant dir="${geoprocessing.Dir}" inheritAll="false"/> |
854 |
<condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget"> |
855 |
<available file="${geoprocessingExtensions}" type="dir"/> |
856 |
</condition>
|
857 |
<ant dir="${geoprocessingExtensions.Dir}" target="import-build-number" inheritAll="false"> |
858 |
<property name="buildNumberFile" location="build.number"/> |
859 |
</ant>
|
860 |
<ant dir="${geoprocessingExtensions.Dir}" inheritAll="false"/> |
861 |
<condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget"> |
862 |
<available file="${georeferencing}" type="dir"/> |
863 |
</condition>
|
864 |
<ant dir="${georeferencing.Dir}" target="import-build-number" inheritAll="false"> |
865 |
<property name="buildNumberFile" location="build.number"/> |
866 |
</ant>
|
867 |
<ant dir="${georeferencing.Dir}" inheritAll="false"/> |
868 |
<condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget"> |
869 |
<available file="${wfs}" type="dir"/> |
870 |
</condition>
|
871 |
<ant dir="${rastertools.Dir}" target="import-build-number" inheritAll="false"> |
872 |
<property name="buildNumberFile" location="build.number"/> |
873 |
</ant>
|
874 |
<ant dir="${rastertools.Dir}" inheritAll="false"/> |
875 |
<condition property="wfs.Dir" value="${wfs}" else="scripts/voidTarget"> |
876 |
<available file="${wfs}" type="dir"/> |
877 |
</condition>
|
878 |
<ant dir="${wfs.Dir}" target="import-build-number" inheritAll="false"> |
879 |
<property name="buildNumberFile" location="build.number"/> |
880 |
</ant>
|
881 |
<ant dir="${wfs.Dir}" inheritAll="false"/> |
882 |
<condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget"> |
883 |
<available file="${centerview}" type="dir"/> |
884 |
</condition>
|
885 |
<ant dir="${centerview.Dir}" target="import-build-number" inheritAll="false"> |
886 |
<property name="buildNumberFile" location="build.number"/> |
887 |
</ant>
|
888 |
<ant dir="${centerview.Dir}" inheritAll="false"/> |
889 |
<condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget"> |
890 |
<available file="${scripting}" type="dir"/> |
891 |
</condition>
|
892 |
<ant dir="${scripting.Dir}" target="import-build-number" inheritAll="false"> |
893 |
<property name="buildNumberFile" location="build.number"/> |
894 |
</ant>
|
895 |
<ant dir="${scripting.Dir}" inheritAll="false"/> |
896 |
|
897 |
<condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget"> |
898 |
<available file="${expressionField}" type="dir"/> |
899 |
</condition>
|
900 |
<ant dir="${expressionField.Dir}" target="import-build-number" inheritAll="false"> |
901 |
<property name="buildNumberFile" location="build.number"/> |
902 |
</ant>
|
903 |
<ant dir="${expressionField.Dir}" inheritAll="false"/> |
904 |
|
905 |
<condition property="annotations.Dir" value="${annotations}" else="scripts/voidTarget"> |
906 |
<available file="${annotations}" type="dir"/> |
907 |
</condition>
|
908 |
<ant dir="${annotations.Dir}" target="import-build-number" inheritAll="false"> |
909 |
<property name="buildNumberFile" location="build.number"/> |
910 |
</ant>
|
911 |
<ant dir="${annotations.Dir}" inheritAll="false"/> |
912 |
|
913 |
<condition property="jcrs.Dir" value="${jcrs}" else="scripts/voidTarget"> |
914 |
<available file="${jcrs}" type="dir"/> |
915 |
</condition>
|
916 |
<ant dir="${jcrs.Dir}" target="import-build-number" inheritAll="false"> |
917 |
<property name="buildNumberFile" location="build.number"/> |
918 |
</ant>
|
919 |
<ant dir="${jcrs.Dir}" inheritAll="false"/> |
920 |
|
921 |
<condition property="libArcIMS.Dir" value="${libArcIMS}" else="scripts/voidTarget"> |
922 |
<available file="${libArcIMS}" type="dir"/> |
923 |
</condition>
|
924 |
<ant dir="${libArcIMS.Dir}" inheritAll="false"/> |
925 |
|
926 |
<condition property="Arcims.Dir" value="${Arcims}" else="scripts/voidTarget"> |
927 |
<available file="${Arcims}" type="dir"/> |
928 |
</condition>
|
929 |
<ant dir="${Arcims.Dir}" target="import-build-number" inheritAll="false"> |
930 |
<property name="buildNumberFile" location="build.number"/> |
931 |
</ant>
|
932 |
<ant dir="${Arcims.Dir}" inheritAll="false"/> |
933 |
|
934 |
</target>
|
935 |
|
936 |
|
937 |
|
938 |
<!-- The download targets are still no working well (or maybe not working at all...) -->
|
939 |
<target name="download" |
940 |
description="Not working yet. Downloads all the projects from the CVS HEAD" |
941 |
depends="download-base, download-extensions"> |
942 |
</target>
|
943 |
|
944 |
<target name="download-base" description="Not working yet. It will download the base projects required to build gvSIG"> |
945 |
<property name="downloadDir" value="tmp-download"/> |
946 |
<mkdir dir="${downloadDir}" /> |
947 |
|
948 |
<!-- andami -->
|
949 |
<cvs
|
950 |
dest="${downloadDir}" |
951 |
package="gvSIG-project/frameworks/_fwAndami" |
952 |
cvsRoot=":extssh:www.gvsig.org:/var/lib/cvs-gvSIG" /> |
953 |
|
954 |
<move todir="${andami}"> |
955 |
<fileset dir="${downloadDir}/gvSIG-project/frameworks/_fwAndami"/> |
956 |
</move>
|
957 |
|
958 |
<!-- we have to do the same for the rest of the projects -->
|
959 |
</target>
|
960 |
|
961 |
<target name="download-extensions" description="Not working yet. It will download the extensions"> |
962 |
</target>
|
963 |
|
964 |
</project>
|
965 |
|