svn-gvsig-desktop / tags / v1_1_Build_1012 / applications / appgvSIG / build.xml @ 12987
History | View | Annotate | Download (45.2 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="batch-build" |
110 |
description="Global build for the whole gvSIG + extensions. Compiles all the sources and builds the application so that it's ready to execute" |
111 |
depends="init,get-fmap-libs,compile,create-jar,copy-libs,copy-data-files,move-to-andami"> |
112 |
</target>
|
113 |
|
114 |
<target name="compile" description="compile the source"> |
115 |
<!-- Create the time stamp -->
|
116 |
<tstamp/> |
117 |
<!-- Create the build directory structure used by compile -->
|
118 |
<mkdir dir="${build}"/> |
119 |
<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
120 |
<!-- <buildnumber />-->
|
121 |
<!-- Compile the Java code from ${src} to ${build} -->
|
122 |
<javac srcdir="${src}" |
123 |
destdir="${build}" |
124 |
source="${JavaSourceVersion}" |
125 |
target="${JavaTargetVersion}" |
126 |
debug="${debug}" |
127 |
debuglevel="${debuglevel}" |
128 |
excludes="com/iver/cit/gvsig/test/**" |
129 |
encoding="${encoding}"> |
130 |
<classpath refid="appgvSIG.compile-classpath"/> |
131 |
<!-- <classpath refid="_fwAndami.compile-classpath"/> -->
|
132 |
</javac>
|
133 |
</target>
|
134 |
|
135 |
<target name="create-jar" description="Creates the jar file"> |
136 |
<mkdir dir="${dist}/lib"/> |
137 |
<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}"/> |
138 |
</target>
|
139 |
|
140 |
<target name="copy-libs" |
141 |
depends="get-fmap-libs"> |
142 |
<mkdir dir="${dist}"/> |
143 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
144 |
<copy todir="${dist}/lib"> |
145 |
<fileset dir="./lib" includes="*.jar,*.zip"/> |
146 |
</copy>
|
147 |
</target>
|
148 |
|
149 |
<target name="get-fmap-libs"> |
150 |
<copy todir="${dist}/lib"> |
151 |
<fileset dir="${fmapdir}/lib" includes="*.jar"/> |
152 |
</copy>
|
153 |
<jar jarfile="${dist}/lib/fmap.jar" basedir="${fmapdir}/bin"/> |
154 |
<copy file="${dist}/lib/fmap.jar" todir="${extensionDir}/${plugin}/lib"/> |
155 |
</target>
|
156 |
|
157 |
<target name="copy-data-files"> |
158 |
<copy todir="${dist}"> |
159 |
<fileset dir="config" includes="*" /> |
160 |
</copy>
|
161 |
<copy file="build.number" todir="${dist}"/> |
162 |
<copy todir="${dist}/images"> |
163 |
<fileset dir="images/" includes="*"/> |
164 |
</copy>
|
165 |
<copy todir="${dist}/northimages"> |
166 |
<fileset dir="northimages/" includes="*"/> |
167 |
</copy>
|
168 |
</target>
|
169 |
|
170 |
<target name="move-to-andami" description="Moves the build directory to andami"> |
171 |
<move todir="${extensionDir}/${plugin}/"> |
172 |
<fileset dir="${dist}" includes="**/**"/> |
173 |
</move>
|
174 |
</target>
|
175 |
|
176 |
<target name="clean" |
177 |
description="clean up" > |
178 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
179 |
<delete dir="${build}"/> |
180 |
<!-- <delete dir="${dist}"/> -->
|
181 |
</target>
|
182 |
|
183 |
|
184 |
<!-- the global build starts here -->
|
185 |
<property name="andami" location="../_fwAndami"/> |
186 |
<property name="utiles" location="../libIverUtiles"/> |
187 |
<property name="core" location="../libCorePlugin"/> |
188 |
<property name="driver" location="../libDriverManager"/> |
189 |
<property name="cms" location="../libCq CMS for java"/> |
190 |
<property name="libjcrs" location="../libJCRS"/> |
191 |
<property name="extjcrs" location="../extJCRS"/> |
192 |
<property name="fmap" location="../libFMap"/> |
193 |
<property name="gvSIG" location="../appgvSIG"/> |
194 |
<property name="remote" location="../libRemoteServices"/> |
195 |
<property name="gdbms" location="../libGDBMS"/> |
196 |
<property name="i18n" location="../libInternationalization"/> |
197 |
<property name="global.installBaseDir" location="${andami}"/> |
198 |
|
199 |
|
200 |
<target name="make-binary-distribution" |
201 |
description="Prepare a binary distribution of the application. This increments the build number and then makes a global build" |
202 |
depends="clean_andami_gvSIG,clean-all,buildNumber,build-all"> |
203 |
</target>
|
204 |
|
205 |
<target name="clean_andami_gvSIG" |
206 |
description="clean up the gvSIG andami deploy"> |
207 |
<delete dir="${andami}/gvSIG" failonerror="false"/> |
208 |
</target>
|
209 |
|
210 |
|
211 |
|
212 |
<target name="buildNumber" |
213 |
description="Generates the build.number for the application"> |
214 |
<propertyfile
|
215 |
file="build.number" |
216 |
comment="Build Number for ANT. Do not edit!"> |
217 |
<entry key="build.number" default="0" type="int" operation="+" pattern="0000"/> |
218 |
</propertyfile>
|
219 |
</target>
|
220 |
|
221 |
<target name="build-all" |
222 |
depends="debug-no,base,extensions" |
223 |
description="Global build for the whole gvSIG + extensions. Compiles all the sources and builds the application so that it's ready to execute" /> |
224 |
|
225 |
<target name="eclipse-build-all" |
226 |
depends="debug-yes,base,extensions" |
227 |
description="Builds the application, including extensions, producing debug info" /> |
228 |
|
229 |
<target name="debug-yes"> |
230 |
<property name="debug" value="on"/> |
231 |
<property name="debuglevel" value="lines, vars"/> |
232 |
</target>
|
233 |
|
234 |
<target name="debug-no"> |
235 |
<property name="debug" value="off"/> |
236 |
</target>
|
237 |
|
238 |
<target name="eclipse-base" depends="debug-yes,base" /> |
239 |
<target name="eclipse-extensions" depends="debug-yes,base,extensions" /> |
240 |
|
241 |
<target name="base" |
242 |
description="Builds the application, excluding extensions"> |
243 |
<property file="build.number"/> |
244 |
<ant dir="${i18n}" target="batch-build" inheritAll="false"> |
245 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
246 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
247 |
<property name="debug" value="${debug}"/> |
248 |
<property name="debuglevel" value="${debuglevel}"/> |
249 |
<property name="encoding" value="ISO_8859_1"/> |
250 |
</ant>
|
251 |
<ant dir="${utiles}" target="batch-build" inheritAll="false"> |
252 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
253 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
254 |
<property name="debug" value="${debug}"/> |
255 |
<property name="debuglevel" value="${debuglevel}"/> |
256 |
<property name="encoding" value="ISO_8859_1"/> |
257 |
</ant>
|
258 |
<ant dir="${andami}" target="batch-build" inheritAll="false"> |
259 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
260 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
261 |
<property name="debug" value="${debug}"/> |
262 |
<property name="debuglevel" value="${debuglevel}"/> |
263 |
<property name="encoding" value="ISO_8859_1"/> |
264 |
</ant>
|
265 |
<ant dir="${libui}" target="batch-build" inheritAll="false"> |
266 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
267 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
268 |
<property name="debug" value="${debug}"/> |
269 |
<property name="debuglevel" value="${debuglevel}"/> |
270 |
<property name="installBaseDir" value="${global.installBaseDir}"/> |
271 |
<property name="encoding" value="ISO_8859_1"/> |
272 |
</ant>
|
273 |
<ant dir="${libui_Components}" target="batch-build" inheritAll="false"> |
274 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
275 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
276 |
<property name="debug" value="${debug}"/> |
277 |
<property name="debuglevel" value="${debuglevel}"/> |
278 |
<property name="encoding" value="ISO_8859_1"/> |
279 |
</ant>
|
280 |
<ant dir="${core}" target="import-build-number" inheritAll="false"> |
281 |
<property name="buildNumberFile" location="build.number"/> |
282 |
</ant>
|
283 |
<ant dir="${core}" target="batch-build" inheritAll="false"> |
284 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
285 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
286 |
<property name="debug" value="${debug}"/> |
287 |
<property name="debuglevel" value="${debuglevel}"/> |
288 |
<property name="encoding" value="ISO_8859_1"/> |
289 |
</ant>
|
290 |
<ant dir="${cms}" target="batch-build" inheritAll="false"> |
291 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
292 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
293 |
<property name="debug" value="${debug}"/> |
294 |
<property name="debuglevel" value="${debuglevel}"/> |
295 |
<property name="encoding" value="ISO_8859_1"/> |
296 |
</ant>
|
297 |
<ant dir="${driver}" target="batch-build" inheritAll="false"> |
298 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
299 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
300 |
<property name="debug" value="${debug}"/> |
301 |
<property name="debuglevel" value="${debuglevel}"/> |
302 |
<property name="encoding" value="ISO_8859_1"/> |
303 |
</ant>
|
304 |
<ant dir="${remote}" target="batch-build" inheritAll="false"> |
305 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
306 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
307 |
<property name="debug" value="${debug}"/> |
308 |
<property name="debuglevel" value="${debuglevel}"/> |
309 |
<property name="encoding" value="ISO_8859_1"/> |
310 |
</ant>
|
311 |
<ant dir="${gdbms}" target="batch-build" inheritAll="false"> |
312 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
313 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
314 |
<property name="debug" value="${debug}"/> |
315 |
<property name="debuglevel" value="${debuglevel}"/> |
316 |
<property name="encoding" value="ISO_8859_1"/> |
317 |
</ant>
|
318 |
<ant dir="${fmap}" target="batch-build" inheritAll="false"> |
319 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
320 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
321 |
<property name="debug" value="${debug}"/> |
322 |
<property name="debuglevel" value="${debuglevel}"/> |
323 |
<property name="encoding" value="ISO_8859_1"/> |
324 |
</ant>
|
325 |
<ant dir="${gvSIG}" target="batch-build" inheritAll="false"> |
326 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
327 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
328 |
<property name="debug" value="${debug}"/> |
329 |
<property name="debuglevel" value="${debuglevel}"/> |
330 |
<property name="encoding" value="ISO_8859_1"/> |
331 |
</ant>
|
332 |
<condition property="libjcrs.Dir" value="${libjcrs}" else="scripts/voidTarget"> |
333 |
<available file="${libjcrs}" type="dir"/> |
334 |
</condition>
|
335 |
<ant dir="${libjcrs.Dir}" target="batch-build" inheritAll="false"> |
336 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
337 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
338 |
<property name="debug" value="${debug}"/> |
339 |
<property name="debuglevel" value="${debuglevel}"/> |
340 |
<property name="encoding" value="ISO_8859_1"/> |
341 |
</ant>
|
342 |
</target>
|
343 |
|
344 |
<property name="appcatalog" location="../appCatalogYNomenclatorClient"/> |
345 |
<property name="catalog" location="../extCatalogYNomenclator"/> |
346 |
<property name="dataloc" location="../extDataLocator"/> |
347 |
<property name="event" location="../extAddEventTheme"/> |
348 |
<property name="libdwg" location="../libDwg"/> |
349 |
<property name="extdwg" location="../extDwg"/> |
350 |
<property name="cad" location="../extCAD"/> |
351 |
<property name="geoprocessing" location="../extGeoProcessing"/> |
352 |
<property name="geoprocessingExtensions" location="../extGeoprocessingExtensions"/> |
353 |
<property name="georeferencing" location="../extGeoreferencing"/> |
354 |
<property name="jdbc" location="../extJDBC"/> |
355 |
<property name="rastertools" location="../extRasterTools"/> |
356 |
<property name="wcs" location="../extWCS"/> |
357 |
<property name="wfs" location="../extWFS2"/> |
358 |
<property name="wms" location="../extWMS"/> |
359 |
<property name="scripting" location="../extScripting"/> |
360 |
<property name="centerview" location="../extCenterViewToPoint"/> |
361 |
<property name="libui" location="../libUI"/> |
362 |
<property name="libui_Components" location="../libUIComponent_praster"/> |
363 |
<property name="expressionField" location="../extExpresionField"/> |
364 |
<property name="annotations" location="../extAnnotations"/> |
365 |
<property name="geobd" location="../extOracleSpatial"/> |
366 |
<property name="libArcIMS" location="../libArcIMS"/> |
367 |
<property name="Arcims" location="../extArcims"/> |
368 |
|
369 |
<target name="extensions" depends="base"> |
370 |
<condition property="extjcrs.Dir" value="${extjcrs}" else="scripts/voidTarget"> |
371 |
<available file="${extjcrs}" type="dir"/> |
372 |
</condition>
|
373 |
<ant dir="${extjcrs.Dir}" target="import-build-number" inheritAll="false"> |
374 |
<property name="buildNumberFile" location="build.number"/> |
375 |
</ant>
|
376 |
<ant dir="${extjcrs.Dir}" target="batch-build" inheritAll="false"> |
377 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
378 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
379 |
<property name="debug" value="${debug}"/> |
380 |
<property name="debuglevel" value="${debuglevel}"/> |
381 |
<property name="encoding" value="ISO_8859_1"/> |
382 |
</ant>
|
383 |
<condition property="event.Dir" value="${event}" else="scripts/voidTarget"> |
384 |
<available file="${event}" type="dir"/> |
385 |
</condition>
|
386 |
<ant dir="${event.Dir}" target="import-build-number" inheritAll="false"> |
387 |
<property name="buildNumberFile" location="build.number"/> |
388 |
</ant>
|
389 |
<ant dir="${event.Dir}" target="batch-build" inheritAll="false"> |
390 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
391 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
392 |
<property name="debug" value="${debug}"/> |
393 |
<property name="debuglevel" value="${debuglevel}"/> |
394 |
<property name="encoding" value="ISO_8859_1"/> |
395 |
</ant>
|
396 |
<condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget"> |
397 |
<available file="${libdwg}" type="dir"/> |
398 |
</condition>
|
399 |
<ant dir="${libdwg.Dir}" target="batch-build" inheritAll="false"> |
400 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
401 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
402 |
<property name="debug" value="${debug}"/> |
403 |
<property name="debuglevel" value="${debuglevel}"/> |
404 |
<property name="encoding" value="ISO_8859_1"/> |
405 |
</ant>
|
406 |
<condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget"> |
407 |
<available file="${extdwg}" type="dir"/> |
408 |
</condition>
|
409 |
<ant dir="${extdwg.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="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget"> |
417 |
<available file="${jdbc}" type="dir"/> |
418 |
</condition>
|
419 |
<ant dir="${jdbc.Dir}" target="import-build-number" inheritAll="false"> |
420 |
<property name="buildNumberFile" location="build.number"/> |
421 |
</ant>
|
422 |
<ant dir="${jdbc.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="geobd.Dir" value="${geobd}" else="scripts/voidTarget"> |
430 |
<available file="${geobd}" type="dir"/> |
431 |
</condition>
|
432 |
<ant dir="${geobd.Dir}" target="import-build-number" inheritAll="false"> |
433 |
<property name="buildNumberFile" location="build.number"/> |
434 |
</ant>
|
435 |
<ant dir="${geobd.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="cad.Dir" value="${cad}" else="scripts/voidTarget"> |
443 |
<available file="${cad}" type="dir"/> |
444 |
</condition>
|
445 |
<ant dir="${cad.Dir}" target="import-build-number" inheritAll="false"> |
446 |
<property name="buildNumberFile" location="build.number"/> |
447 |
</ant>
|
448 |
<ant dir="${cad.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="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget"> |
456 |
<available file="${appcatalog}" type="dir"/> |
457 |
</condition>
|
458 |
<ant dir="${appcatalog.Dir}" target="import-build-number" inheritAll="false"> |
459 |
<property name="buildNumberFile" location="build.number"/> |
460 |
</ant>
|
461 |
<ant dir="${appcatalog.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="catalog.Dir" value="${catalog}" else="scripts/voidTarget"> |
469 |
<available file="${catalog}" type="dir"/> |
470 |
</condition>
|
471 |
<ant dir="${catalog.Dir}" target="import-build-number" inheritAll="false"> |
472 |
<property name="buildNumberFile" location="build.number"/> |
473 |
</ant>
|
474 |
<ant dir="${catalog.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="wcs.Dir" value="${wcs}" else="scripts/voidTarget"> |
482 |
<available file="${wcs}" type="dir"/> |
483 |
</condition>
|
484 |
<ant dir="${wcs.Dir}" target="import-build-number" inheritAll="false"> |
485 |
<property name="buildNumberFile" location="build.number"/> |
486 |
</ant>
|
487 |
<ant dir="${wcs.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="wms.Dir" value="${wms}" else="scripts/voidTarget"> |
495 |
<available file="${wms}" type="dir"/> |
496 |
</condition>
|
497 |
<ant dir="${wms.Dir}" target="import-build-number" inheritAll="false"> |
498 |
<property name="buildNumberFile" location="build.number"/> |
499 |
</ant>
|
500 |
<ant dir="${wms.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="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget"> |
508 |
<available file="${dataloc}" type="dir"/> |
509 |
</condition>
|
510 |
<ant dir="${dataloc.Dir}" target="import-build-number" inheritAll="false"> |
511 |
<property name="buildNumberFile" location="build.number"/> |
512 |
</ant>
|
513 |
<ant dir="${dataloc.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="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget"> |
521 |
<available file="${geoprocessing}" type="dir"/> |
522 |
</condition>
|
523 |
<ant dir="${geoprocessing.Dir}" target="import-build-number" inheritAll="false"> |
524 |
<property name="buildNumberFile" location="build.number"/> |
525 |
</ant>
|
526 |
<ant dir="${geoprocessing.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="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget"> |
534 |
<available file="${geoprocessingExtensions}" type="dir"/> |
535 |
</condition>
|
536 |
<ant dir="${geoprocessingExtensions.Dir}" target="import-build-number" inheritAll="false"> |
537 |
<property name="buildNumberFile" location="build.number"/> |
538 |
</ant>
|
539 |
<ant dir="${geoprocessingExtensions.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="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget"> |
547 |
<available file="${georeferencing}" type="dir"/> |
548 |
</condition>
|
549 |
<ant dir="${georeferencing.Dir}" target="import-build-number" inheritAll="false"> |
550 |
<property name="buildNumberFile" location="build.number"/> |
551 |
</ant>
|
552 |
<ant dir="${georeferencing.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 |
</ant>
|
559 |
<condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget"> |
560 |
<available file="${wfs}" type="dir"/> |
561 |
</condition>
|
562 |
<ant dir="${rastertools.Dir}" target="import-build-number" inheritAll="false"> |
563 |
<property name="buildNumberFile" location="build.number"/> |
564 |
</ant>
|
565 |
<ant dir="${rastertools.Dir}" target="batch-build" inheritAll="false"> |
566 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
567 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
568 |
<property name="debug" value="${debug}"/> |
569 |
<property name="debuglevel" value="${debuglevel}"/> |
570 |
<property name="encoding" value="ISO_8859_1"/> |
571 |
</ant>
|
572 |
<condition property="wfs.Dir" value="${wfs}" else="scripts/voidTarget"> |
573 |
<available file="${wfs}" type="dir"/> |
574 |
</condition>
|
575 |
<ant dir="${wfs.Dir}" target="import-build-number" inheritAll="false"> |
576 |
<property name="buildNumberFile" location="build.number"/> |
577 |
</ant>
|
578 |
<ant dir="${wfs.Dir}" target="batch-build" inheritAll="false"> |
579 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
580 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
581 |
<property name="debug" value="${debug}"/> |
582 |
<property name="debuglevel" value="${debuglevel}"/> |
583 |
<property name="encoding" value="ISO_8859_1"/> |
584 |
</ant>
|
585 |
<condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget"> |
586 |
<available file="${centerview}" type="dir"/> |
587 |
</condition>
|
588 |
<ant dir="${centerview.Dir}" target="import-build-number" inheritAll="false"> |
589 |
<property name="buildNumberFile" location="build.number"/> |
590 |
</ant>
|
591 |
<ant dir="${centerview.Dir}" target="batch-build" inheritAll="false"> |
592 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
593 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
594 |
<property name="debug" value="${debug}"/> |
595 |
<property name="debuglevel" value="${debuglevel}"/> |
596 |
<property name="encoding" value="ISO_8859_1"/> |
597 |
<property name="installBaseDir" value="${global.installBaseDir}"/> |
598 |
</ant>
|
599 |
<condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget"> |
600 |
<available file="${scripting}" type="dir"/> |
601 |
</condition>
|
602 |
<ant dir="${scripting.Dir}" target="import-build-number" inheritAll="false"> |
603 |
<property name="buildNumberFile" location="build.number"/> |
604 |
</ant>
|
605 |
<ant dir="${scripting.Dir}" target="batch-build" inheritAll="false"> |
606 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
607 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
608 |
<property name="debug" value="${debug}"/> |
609 |
<property name="debuglevel" value="${debuglevel}"/> |
610 |
<property name="encoding" value="ISO_8859_1"/> |
611 |
</ant>
|
612 |
|
613 |
<condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget"> |
614 |
<available file="${expressionField}" type="dir"/> |
615 |
</condition>
|
616 |
<ant dir="${expressionField.Dir}" target="import-build-number" inheritAll="false"> |
617 |
<property name="buildNumberFile" location="build.number"/> |
618 |
</ant>
|
619 |
<ant dir="${expressionField.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="annotations.Dir" value="${annotations}" else="scripts/voidTarget"> |
628 |
<available file="${annotations}" type="dir"/> |
629 |
</condition>
|
630 |
<ant dir="${annotations.Dir}" target="import-build-number" inheritAll="false"> |
631 |
<property name="buildNumberFile" location="build.number"/> |
632 |
</ant>
|
633 |
<ant dir="${annotations.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 |
|
641 |
<condition property="libArcIMS.Dir" value="${libArcIMS}" else="scripts/voidTarget"> |
642 |
<available file="${libArcIMS}" type="dir"/> |
643 |
</condition>
|
644 |
<ant dir="${libArcIMS.Dir}" target="batch-build" inheritAll="false"> |
645 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
646 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
647 |
<property name="debug" value="${debug}"/> |
648 |
<property name="debuglevel" value="${debuglevel}"/> |
649 |
<property name="encoding" value="ISO_8859_1"/> |
650 |
</ant>
|
651 |
|
652 |
<condition property="Arcims.Dir" value="${Arcims}" else="scripts/voidTarget"> |
653 |
<available file="${Arcims}" type="dir"/> |
654 |
</condition>
|
655 |
<ant dir="${Arcims.Dir}" target="import-build-number" inheritAll="false"> |
656 |
<property name="buildNumberFile" location="build.number"/> |
657 |
</ant>
|
658 |
<ant dir="${Arcims.Dir}" target="batch-build" inheritAll="false"> |
659 |
<property name="JavaSourceVersion" value="${JavaSourceVersion}"/> |
660 |
<property name="JavaTargetVersion" value="${JavaTargetVersion}"/> |
661 |
<property name="debug" value="${debug}"/> |
662 |
<property name="debuglevel" value="${debuglevel}"/> |
663 |
<property name="encoding" value="ISO_8859_1"/> |
664 |
</ant>
|
665 |
</target>
|
666 |
|
667 |
<target name="clean-all" |
668 |
depends="clean-base,clean-extensions" |
669 |
description="clean up" /> |
670 |
|
671 |
<target name="clean-base" |
672 |
description="cleans the base components of gvSIG: appgvSIG + libs"> |
673 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
674 |
<ant dir="${utiles}" target="clean"/> |
675 |
<ant dir="${i18n}" target="clean"/> |
676 |
<ant dir="${andami}" target="clean"/> |
677 |
<ant dir="${core}" target="clean"/> |
678 |
<ant dir="${libui_Components}" target="clean"/> |
679 |
<ant dir="${cms}" target="clean"/> |
680 |
<condition property="libjcrs.Dir" value="${libjcrs}" else="scripts/voidTarget"> |
681 |
<available file="${libjcrs}" type="dir"/> |
682 |
</condition>
|
683 |
<ant dir="${libjcrs.Dir}" target="clean"/> |
684 |
<ant dir="${driver}" target="clean"/> |
685 |
<ant dir="${remote}" target="clean"/> |
686 |
<ant dir="${gdbms}" target="clean"/> |
687 |
<ant dir="${fmap}" target="clean"/> |
688 |
<ant dir="${gvSIG}" target="clean"/> |
689 |
<ant dir="${libui}" target="clean"/> |
690 |
</target>
|
691 |
|
692 |
<target name="clean-extensions" |
693 |
description="Clean the extensions"> |
694 |
<condition property="extjcrs.Dir" value="${extjcrs}" else="scripts/voidTarget"> |
695 |
<available file="${extjcrs}" type="dir"/> |
696 |
</condition>
|
697 |
<ant dir="${extjcrs}" target="clean"/> |
698 |
<condition property="event.Dir" value="${event}" else="scripts/voidTarget"> |
699 |
<available file="${event}" type="dir"/> |
700 |
</condition>
|
701 |
<ant dir="${event.Dir}" target="clean" inheritAll="false" /> |
702 |
<condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget"> |
703 |
<available file="${libdwg}" type="dir"/> |
704 |
</condition>
|
705 |
<ant dir="${libdwg.Dir}" target="clean" inheritAll="false" /> |
706 |
<condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget"> |
707 |
<available file="${extdwg}" type="dir"/> |
708 |
</condition>
|
709 |
<ant dir="${extdwg.Dir}" target="clean" inheritAll="false" /> |
710 |
<condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget"> |
711 |
<available file="${jdbc}" type="dir"/> |
712 |
</condition>
|
713 |
<ant dir="${jdbc.Dir}" target="clean" inheritAll="false" /> |
714 |
<condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget"> |
715 |
<available file="${geobd}" type="dir"/> |
716 |
</condition>
|
717 |
<ant dir="${geobd.Dir}" target="clean" inheritAll="false" /> |
718 |
<condition property="cad.Dir" value="${cad}" else="scripts/voidTarget"> |
719 |
<available file="${cad}" type="dir"/> |
720 |
</condition>
|
721 |
<ant dir="${cad.Dir}" target="clean" inheritAll="false" /> |
722 |
<condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget"> |
723 |
<available file="${appcatalog}" type="dir"/> |
724 |
</condition>
|
725 |
<ant dir="${appcatalog.Dir}" target="clean" inheritAll="false" /> |
726 |
<condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget"> |
727 |
<available file="${catalog}" type="dir"/> |
728 |
</condition>
|
729 |
<ant dir="${catalog.Dir}" target="clean" inheritAll="false" /> |
730 |
<condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget"> |
731 |
<available file="${wcs}" type="dir"/> |
732 |
</condition>
|
733 |
<ant dir="${wcs.Dir}" target="clean" inheritAll="false" /> |
734 |
<condition property="wms.Dir" value="${wms}" else="scripts/voidTarget"> |
735 |
<available file="${wms}" type="dir"/> |
736 |
</condition>
|
737 |
<ant dir="${wms.Dir}" target="clean" inheritAll="false" /> |
738 |
<condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget"> |
739 |
<available file="${dataloc}" type="dir"/> |
740 |
</condition>
|
741 |
<ant dir="${dataloc}" target="clean" inheritAll="false" /> |
742 |
<condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget"> |
743 |
<available file="${geoprocessing}" type="dir"/> |
744 |
</condition>
|
745 |
<ant dir="${geoprocessing.Dir}" target="clean" inheritAll="false" /> |
746 |
|
747 |
<condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget"> |
748 |
<available file="${geoprocessingExtensions}" type="dir"/> |
749 |
</condition>
|
750 |
<ant dir="${geoprocessingExtensions.Dir}" target="clean" inheritAll="false" /> |
751 |
|
752 |
<condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget"> |
753 |
<available file="${georeferencing}" type="dir"/> |
754 |
</condition>
|
755 |
<ant dir="${georeferencing.Dir}" target="clean" inheritAll="false" /> |
756 |
<condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget"> |
757 |
<available file="${rastertools}" type="dir"/> |
758 |
</condition>
|
759 |
<ant dir="${rastertools.Dir}" target="clean" inheritAll="false" /> |
760 |
<condition property="wfsg.Dir" value="${wfs}" else="scripts/voidTarget"> |
761 |
<available file="${wfs}" type="dir"/> |
762 |
</condition>
|
763 |
<ant dir="${wfsg.Dir}" target="clean" inheritAll="false" /> |
764 |
<condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget"> |
765 |
<available file="${scripting}" type="dir"/> |
766 |
</condition>
|
767 |
<ant dir="${scripting.Dir}" target="clean" inheritAll="false" /> |
768 |
<condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget"> |
769 |
<available file="${centerview}" type="dir"/> |
770 |
</condition>
|
771 |
<ant dir="${centerview.Dir}" target="clean" inheritAll="false" /> |
772 |
<condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget"> |
773 |
<available file="${expressionField}" type="dir"/> |
774 |
</condition>
|
775 |
<ant dir="${expressionField.Dir}" target="clean" inheritAll="false" /> |
776 |
<condition property="annotations.Dir" value="${annotations}" else="scripts/voidTarget"> |
777 |
<available file="${annotations}" type="dir"/> |
778 |
</condition>
|
779 |
<ant dir="${annotations.Dir}" target="clean" inheritAll="false" /> |
780 |
</target>
|
781 |
|
782 |
<!-- Those targets don't compile, they just generate the jars and copy files to
|
783 |
andami. The compilation is supposed to be done by Eclipse -->
|
784 |
<target name="install-all" |
785 |
depends="install-base,install-extensions" |
786 |
description="Generate jars and copy files to Andami for the whole application (gvSIG+libs+extensions). Compilation is supposed to be automatically done by Eclipse" /> |
787 |
|
788 |
<target name="install-base" |
789 |
description="Generate jars and copy files to Andami for the application (gvSIG+libs). Compilation is supposed to be automatically done by Eclipse" > |
790 |
<property file="build.number"/> |
791 |
<ant dir="${i18n}" inheritAll="false"/> |
792 |
<ant dir="${utiles}" inheritAll="false"/> |
793 |
<ant dir="${andami}" inheritAll="false"/> |
794 |
<ant dir="${libui}" inheritAll="false"/> |
795 |
<ant dir="${core}" target="import-build-number" inheritAll="false"> |
796 |
<property name="buildNumberFile" location="build.number"/> |
797 |
</ant>
|
798 |
<ant dir="${core}" inheritAll="false"/> |
799 |
<ant dir="${libui_Components}" inheritAll="false"/> |
800 |
<ant dir="${cms}" inheritAll="false"/> |
801 |
<ant dir="${libjcrs}" inheritAll="false"/> |
802 |
<ant dir="${driver}" inheritAll="false"/> |
803 |
<ant dir="${remote}" inheritAll="false"/> |
804 |
<ant dir="${gdbms}" inheritAll="false"/> |
805 |
<ant dir="${fmap}" inheritAll="false"/> |
806 |
<ant dir="${gvSIG}" inheritAll="false"/> |
807 |
</target>
|
808 |
|
809 |
<target name="install-extensions" depends="install-base" |
810 |
description="Generate jars and copy files to Andami for the extensions. Compilation is supposed to be automatically done by Eclipse" > |
811 |
<condition property="event.Dir" value="${event}" else="scripts/voidTarget"> |
812 |
<available file="${event}" type="dir"/> |
813 |
</condition>
|
814 |
<ant dir="${event.Dir}" target="import-build-number" inheritAll="false"> |
815 |
<property name="buildNumberFile" location="build.number"/> |
816 |
</ant>
|
817 |
<ant dir="${event.Dir}" inheritAll="false"/> |
818 |
<condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget"> |
819 |
<available file="${libdwg}" type="dir"/> |
820 |
</condition>
|
821 |
<ant dir="${libdwg.Dir}" inheritAll="false"/> |
822 |
<condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget"> |
823 |
<available file="${extdwg}" type="dir"/> |
824 |
</condition>
|
825 |
<ant dir="${extdwg.Dir}" inheritAll="false"/> |
826 |
<condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget"> |
827 |
<available file="${jdbc}" type="dir"/> |
828 |
</condition>
|
829 |
<ant dir="${jdbc.Dir}" target="import-build-number" inheritAll="false"> |
830 |
<property name="buildNumberFile" location="build.number"/> |
831 |
</ant>
|
832 |
<ant dir="${jdbc.Dir}" inheritAll="false"/> |
833 |
|
834 |
<condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget"> |
835 |
<available file="${geobd}" type="dir"/> |
836 |
</condition>
|
837 |
<ant dir="${geobd.Dir}" target="import-build-number" inheritAll="false"> |
838 |
<property name="buildNumberFile" location="build.number"/> |
839 |
</ant>
|
840 |
<ant dir="${geobd.Dir}" inheritAll="false"/> |
841 |
<condition property="cad.Dir" value="${cad}" else="scripts/voidTarget"> |
842 |
<available file="${cad}" type="dir"/> |
843 |
</condition>
|
844 |
<ant dir="${cad.Dir}" target="import-build-number" inheritAll="false"> |
845 |
<property name="buildNumberFile" location="build.number"/> |
846 |
</ant>
|
847 |
<ant dir="${cad.Dir}" inheritAll="false"/> |
848 |
<condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget"> |
849 |
<available file="${appcatalog}" type="dir"/> |
850 |
</condition>
|
851 |
<ant dir="${appcatalog.Dir}" target="import-build-number" inheritAll="false"> |
852 |
<property name="buildNumberFile" location="build.number"/> |
853 |
</ant>
|
854 |
<ant dir="${appcatalog.Dir}" inheritAll="false"/> |
855 |
<condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget"> |
856 |
<available file="${catalog}" type="dir"/> |
857 |
</condition>
|
858 |
<ant dir="${catalog.Dir}" target="import-build-number" inheritAll="false"> |
859 |
<property name="buildNumberFile" location="build.number"/> |
860 |
</ant>
|
861 |
<ant dir="${catalog.Dir}" inheritAll="false"/> |
862 |
<condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget"> |
863 |
<available file="${wcs}" type="dir"/> |
864 |
</condition>
|
865 |
<ant dir="${wcs.Dir}" target="import-build-number" inheritAll="false"> |
866 |
<property name="buildNumberFile" location="build.number"/> |
867 |
</ant>
|
868 |
<ant dir="${wcs.Dir}" inheritAll="false"/> |
869 |
<condition property="wms.Dir" value="${wms}" else="scripts/voidTarget"> |
870 |
<available file="${wms}" type="dir"/> |
871 |
</condition>
|
872 |
<ant dir="${wms.Dir}" target="import-build-number" inheritAll="false"> |
873 |
<property name="buildNumberFile" location="build.number"/> |
874 |
</ant>
|
875 |
<ant dir="${wms.Dir}" inheritAll="false"/> |
876 |
<condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget"> |
877 |
<available file="${dataloc}" type="dir"/> |
878 |
</condition>
|
879 |
<ant dir="${dataloc.Dir}" target="import-build-number" inheritAll="false"> |
880 |
<property name="buildNumberFile" location="build.number"/> |
881 |
</ant>
|
882 |
<ant dir="${dataloc.Dir}" inheritAll="false"/> |
883 |
<condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget"> |
884 |
<available file="${geoprocessing}" type="dir"/> |
885 |
</condition>
|
886 |
<ant dir="${geoprocessing.Dir}" target="import-build-number" inheritAll="false"> |
887 |
<property name="buildNumberFile" location="build.number"/> |
888 |
</ant>
|
889 |
<ant dir="${geoprocessing.Dir}" inheritAll="false"/> |
890 |
<condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget"> |
891 |
<available file="${geoprocessingExtensions}" type="dir"/> |
892 |
</condition>
|
893 |
<ant dir="${geoprocessingExtensions.Dir}" target="import-build-number" inheritAll="false"> |
894 |
<property name="buildNumberFile" location="build.number"/> |
895 |
</ant>
|
896 |
<ant dir="${geoprocessingExtensions.Dir}" inheritAll="false"/> |
897 |
<condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget"> |
898 |
<available file="${georeferencing}" type="dir"/> |
899 |
</condition>
|
900 |
<ant dir="${georeferencing.Dir}" target="import-build-number" inheritAll="false"> |
901 |
<property name="buildNumberFile" location="build.number"/> |
902 |
</ant>
|
903 |
<ant dir="${georeferencing.Dir}" inheritAll="false"/> |
904 |
<condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget"> |
905 |
<available file="${wfs}" type="dir"/> |
906 |
</condition>
|
907 |
<ant dir="${rastertools.Dir}" target="import-build-number" inheritAll="false"> |
908 |
<property name="buildNumberFile" location="build.number"/> |
909 |
</ant>
|
910 |
<ant dir="${rastertools.Dir}" inheritAll="false"/> |
911 |
<condition property="wfs.Dir" value="${wfs}" else="scripts/voidTarget"> |
912 |
<available file="${wfs}" type="dir"/> |
913 |
</condition>
|
914 |
<ant dir="${wfs.Dir}" target="import-build-number" inheritAll="false"> |
915 |
<property name="buildNumberFile" location="build.number"/> |
916 |
</ant>
|
917 |
<ant dir="${wfs.Dir}" inheritAll="false"/> |
918 |
<condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget"> |
919 |
<available file="${centerview}" type="dir"/> |
920 |
</condition>
|
921 |
<ant dir="${centerview.Dir}" target="import-build-number" inheritAll="false"> |
922 |
<property name="buildNumberFile" location="build.number"/> |
923 |
</ant>
|
924 |
<ant dir="${centerview.Dir}" inheritAll="false"/> |
925 |
<condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget"> |
926 |
<available file="${scripting}" type="dir"/> |
927 |
</condition>
|
928 |
<ant dir="${scripting.Dir}" target="import-build-number" inheritAll="false"> |
929 |
<property name="buildNumberFile" location="build.number"/> |
930 |
</ant>
|
931 |
<ant dir="${scripting.Dir}" inheritAll="false"/> |
932 |
|
933 |
<condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget"> |
934 |
<available file="${expressionField}" type="dir"/> |
935 |
</condition>
|
936 |
<ant dir="${expressionField.Dir}" target="import-build-number" inheritAll="false"> |
937 |
<property name="buildNumberFile" location="build.number"/> |
938 |
</ant>
|
939 |
<ant dir="${expressionField.Dir}" inheritAll="false"/> |
940 |
|
941 |
<condition property="annotations.Dir" value="${annotations}" else="scripts/voidTarget"> |
942 |
<available file="${annotations}" type="dir"/> |
943 |
</condition>
|
944 |
<ant dir="${annotations.Dir}" target="import-build-number" inheritAll="false"> |
945 |
<property name="buildNumberFile" location="build.number"/> |
946 |
</ant>
|
947 |
<ant dir="${annotations.Dir}" inheritAll="false"/> |
948 |
|
949 |
<condition property="extjcrs.Dir" value="${extjcrs}" else="scripts/voidTarget"> |
950 |
<available file="${extjcrs}" type="dir"/> |
951 |
</condition>
|
952 |
<ant dir="${extjcrs.Dir}" target="import-build-number" inheritAll="false"> |
953 |
<property name="buildNumberFile" location="build.number"/> |
954 |
</ant>
|
955 |
<ant dir="${extjcrs.Dir}" inheritAll="false"/> |
956 |
|
957 |
<condition property="libArcIMS.Dir" value="${libArcIMS}" else="scripts/voidTarget"> |
958 |
<available file="${libArcIMS}" type="dir"/> |
959 |
</condition>
|
960 |
<ant dir="${libArcIMS.Dir}" inheritAll="false"/> |
961 |
|
962 |
<condition property="Arcims.Dir" value="${Arcims}" else="scripts/voidTarget"> |
963 |
<available file="${Arcims}" type="dir"/> |
964 |
</condition>
|
965 |
<ant dir="${Arcims.Dir}" target="import-build-number" inheritAll="false"> |
966 |
<property name="buildNumberFile" location="build.number"/> |
967 |
</ant>
|
968 |
<ant dir="${Arcims.Dir}" inheritAll="false"/> |
969 |
|
970 |
</target>
|
971 |
|
972 |
|
973 |
|
974 |
<!-- The download targets are still no working well (or maybe not working at all...) -->
|
975 |
<target name="download" |
976 |
description="Not working yet. Downloads all the projects from the CVS HEAD" |
977 |
depends="download-base, download-extensions"> |
978 |
</target>
|
979 |
|
980 |
<target name="download-base" description="Not working yet. It will download the base projects required to build gvSIG"> |
981 |
<property name="downloadDir" value="tmp-download"/> |
982 |
<mkdir dir="${downloadDir}" /> |
983 |
|
984 |
<!-- andami -->
|
985 |
<cvs
|
986 |
dest="${downloadDir}" |
987 |
package="gvSIG-project/frameworks/_fwAndami" |
988 |
cvsRoot=":extssh:www.gvsig.org:/var/lib/cvs-gvSIG" /> |
989 |
|
990 |
<move todir="${andami}"> |
991 |
<fileset dir="${downloadDir}/gvSIG-project/frameworks/_fwAndami"/> |
992 |
</move>
|
993 |
|
994 |
<!-- we have to do the same for the rest of the projects -->
|
995 |
</target>
|
996 |
|
997 |
<target name="download-extensions" description="Not working yet. It will download the extensions"> |
998 |
</target>
|
999 |
|
1000 |
</project>
|
1001 |
|