Statistics
| Revision:

svn-gvsig-desktop / tags / v1_1_Build_1012 / applications / appgvSIG / build.xml @ 28800

History | View | Annotate | Download (45.2 KB)

1 7209 cesar
<project name="appgvSIG" default="dist" basedir=".">
2 312 fernando
    <description>
3
        Instala el plugin
4
    </description>
5 4907 cesar
        <!-- 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 7720 cesar
        <import file="compile-classpath.xml"/>
21 8047 cesar
        <import file="../_fwAndami/compile-classpath.xml"/>
22 4907 cesar
        <property name="build-doc" value="build-doc"/>
23 10565 jmvivo
        <property name="JavaSourceVersion" value="1.4"/>
24 12057 jmvivo
        <property name="JavaTargetVersion" value="1.5"/>
25 12259 cesar
        <property name="encoding" value="ISO_8859_1"/>
26 12353 jmvivo
27 4907 cesar
        <target name="init">
28
                <!-- Create the time stamp -->
29
                <tstamp/>
30 7209 cesar
                <echo>
31
                        Compiling ${ant.project.name}...</echo>
32 8047 cesar
33 10185 jmvivo
                <property file="build.number"/>
34 4907 cesar
                <!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
35
                <!-- <buildnumber/> -->
36
        </target>
37 4143 caballero
38 4907 cesar
        <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 4143 caballero
48 4907 cesar
        <target name="dist"
49
                                depends="init"
50 7209 cesar
                                description="Generate the distribution of the gvSIG plugin. To build just the appgvSIG project from Eclipse " >
51 4907 cesar
                <!-- Create the distribution directory -->
52
                <mkdir dir="${dist}"/>
53 312 fernando
54 4907 cesar
                <!-- 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 5489 cesar
                        <fileset dir="config" includes="text*.properties"/>
68 4907 cesar
                </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 312 fernando
76 4907 cesar
                <move todir="${extensionDir}/${plugin}/">
77
                        <fileset dir="${dist}" includes="**/**"/>
78
                </move>
79
        </target>
80 312 fernando
81
  <target name="makeZip"
82 7209 cesar
          description="Genera un zip con todo lo necesario para ejecutar gvSIG. Actualmente no se usa"
83 312 fernando
          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 4143 caballero
                </fileset>
95 312 fernando
                <!-- fileset dir="${dist}" includes="gvSIG.jar"/ -->
96 660 luisw
                <fileset dir="../mdiApp_v02_estable">
97 312 fernando
                        <include name="lib/**"/>
98 4143 caballero
                </fileset>
99 312 fernando
                <fileset dir="distFiles" includes="**/**"/>
100
    </copy>
101
        <zip zipfile="${zipName}.zip">
102
                <fileset dir="${dist}">
103
                        <include name="**/**"/>
104
                </fileset>
105
        </zip>
106 6846 ppiqueras
 <!--   <delete dir="${dist}"/> -->
107 312 fernando
  </target>
108 12353 jmvivo
109 4907 cesar
        <target name="batch-build"
110 7209 cesar
                        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 4907 cesar
        </target>
113 12353 jmvivo
114 4907 cesar
        <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 10185 jmvivo
                <!-- <buildnumber />-->
121 4907 cesar
                <!-- Compile the Java code from ${src} to ${build} -->
122
                <javac  srcdir="${src}"
123
                        destdir="${build}"
124 10565 jmvivo
                        source="${JavaSourceVersion}"
125
                        target="${JavaTargetVersion}"
126 6296 cesar
                        debug="${debug}"
127
                        debuglevel="${debuglevel}"
128 12259 cesar
                        excludes="com/iver/cit/gvsig/test/**"
129
                        encoding="${encoding}">
130 7720 cesar
                <classpath refid="appgvSIG.compile-classpath"/>
131 8047 cesar
<!--                <classpath refid="_fwAndami.compile-classpath"/> -->
132 7720 cesar
                </javac>
133 12353 jmvivo
        </target>
134 312 fernando
135 4907 cesar
        <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 12353 jmvivo
140 4907 cesar
        <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 12353 jmvivo
149 4907 cesar
        <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 12353 jmvivo
157 4907 cesar
        <target name="copy-data-files">
158 5489 cesar
        <copy todir="${dist}">
159
                <fileset dir="config" includes="*" />
160
        </copy>
161 4907 cesar
                <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 12353 jmvivo
170 4907 cesar
        <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 6846 ppiqueras
<!--                <delete dir="${dist}"/> -->
181 4907 cesar
        </target>
182 12353 jmvivo
183
184 5849 cesar
        <!-- 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 12578 jmvivo
    <property name="cms" location="../libCq CMS for java"/>
190 12851 cesar
        <property name="libjcrs" location="../libJCRS"/>
191
        <property name="extjcrs" location="../extJCRS"/>
192 5849 cesar
        <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 6296 cesar
        <property name="global.installBaseDir" location="${andami}"/>
198 12353 jmvivo
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 12889 cesar
            depends="clean_andami_gvSIG,clean-all,buildNumber,build-all">
203 12353 jmvivo
    </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 10185 jmvivo
        <target name="buildNumber"
213
                                description="Generates the build.number for the application">
214 12353 jmvivo
                <propertyfile
215 10185 jmvivo
                                file="build.number"
216
                                comment="Build Number for ANT. Do not edit!">
217 11982 jmvivo
                        <entry  key="build.number" default="0" type="int" operation="+" pattern="0000"/>
218 10185 jmvivo
                </propertyfile>
219
        </target>
220 5849 cesar
221
        <target name="build-all"
222 7209 cesar
                                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 12353 jmvivo
225 6296 cesar
        <target name="eclipse-build-all"
226 7209 cesar
                                        depends="debug-yes,base,extensions"
227 6296 cesar
                                        description="Builds the application, including extensions, producing debug info" />
228 12353 jmvivo
229 6296 cesar
        <target name="debug-yes">
230
                <property name="debug" value="on"/>
231
                <property name="debuglevel" value="lines, vars"/>
232
        </target>
233 12353 jmvivo
234 6296 cesar
        <target name="debug-no">
235
                <property name="debug" value="off"/>
236
        </target>
237 12353 jmvivo
238 6360 cesar
        <target name="eclipse-base" depends="debug-yes,base" />
239
        <target name="eclipse-extensions" depends="debug-yes,base,extensions" />
240 12353 jmvivo
241 5849 cesar
        <target name="base"
242
                        description="Builds the application, excluding extensions">
243 10185 jmvivo
                <property file="build.number"/>
244 7209 cesar
                  <ant dir="${i18n}" target="batch-build" inheritAll="false">
245 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
246
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
247 6296 cesar
                        <property name="debug" value="${debug}"/>
248
                        <property name="debuglevel" value="${debuglevel}"/>
249
                        <property name="encoding" value="ISO_8859_1"/>
250
                </ant>
251 7209 cesar
                <ant dir="${utiles}" target="batch-build" inheritAll="false">
252 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
253
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
254 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
260
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
261 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
267
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
268 6296 cesar
                        <property name="debug" value="${debug}"/>
269
                        <property name="debuglevel" value="${debuglevel}"/>
270 10565 jmvivo
                        <property name="installBaseDir" value="${global.installBaseDir}"/>
271 6296 cesar
                        <property name="encoding" value="ISO_8859_1"/>
272
                </ant>
273 12891 jmvivo
                <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 10185 jmvivo
                <ant dir="${core}" target="import-build-number" inheritAll="false">
281
                        <property name="buildNumberFile" location="build.number"/>
282
                </ant>
283 6296 cesar
                <ant dir="${core}" target="batch-build"  inheritAll="false">
284 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
285
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
286 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
292
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
293 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
299
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
300 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
306
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
307 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
313
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
314 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
320
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
321 6296 cesar
                        <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 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
327
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
328 6296 cesar
                        <property name="debug" value="${debug}"/>
329
                        <property name="debuglevel" value="${debuglevel}"/>
330
                        <property name="encoding" value="ISO_8859_1"/>
331
                </ant>
332 12966 cesar
                <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 5849 cesar
        </target>
343 12353 jmvivo
344 7209 cesar
        <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 12891 jmvivo
        <property name="libui_Components" location="../libUIComponent_praster"/>
363 12259 cesar
        <property name="expressionField" location="../extExpresionField"/>
364 12353 jmvivo
    <property name="annotations" location="../extAnnotations"/>
365
    <property name="geobd" location="../extOracleSpatial"/>
366 11869 jmvivo
    <property name="libArcIMS" location="../libArcIMS"/>
367 12353 jmvivo
    <property name="Arcims" location="../extArcims"/>
368
369 5849 cesar
        <target name="extensions" depends="base">
370 12851 cesar
                <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 12141 cesar
                <condition property="event.Dir" value="${event}" else="scripts/voidTarget">
384 7209 cesar
                        <available file="${event}" type="dir"/>
385
                </condition>
386 10185 jmvivo
                <ant dir="${event.Dir}" target="import-build-number" inheritAll="false">
387
                        <property name="buildNumberFile" location="build.number"/>
388
                </ant>
389 7209 cesar
                <ant dir="${event.Dir}" target="batch-build" inheritAll="false">
390 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
391
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
392 6296 cesar
                        <property name="debug" value="${debug}"/>
393
                        <property name="debuglevel" value="${debuglevel}"/>
394
                        <property name="encoding" value="ISO_8859_1"/>
395
                </ant>
396 12141 cesar
                <condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget">
397 7209 cesar
                        <available file="${libdwg}" type="dir"/>
398
                </condition>
399
                <ant dir="${libdwg.Dir}" target="batch-build" inheritAll="false">
400 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
401
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
402 6296 cesar
                        <property name="debug" value="${debug}"/>
403
                        <property name="debuglevel" value="${debuglevel}"/>
404
                        <property name="encoding" value="ISO_8859_1"/>
405
                </ant>
406 12141 cesar
                <condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget">
407 7209 cesar
                        <available file="${extdwg}" type="dir"/>
408
                </condition>
409
                <ant dir="${extdwg.Dir}" target="batch-build" inheritAll="false">
410 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
411
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
412 6296 cesar
                        <property name="debug" value="${debug}"/>
413
                        <property name="debuglevel" value="${debuglevel}"/>
414
                        <property name="encoding" value="ISO_8859_1"/>
415
                </ant>
416 12141 cesar
                <condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget">
417 7209 cesar
                        <available file="${jdbc}" type="dir"/>
418
                </condition>
419 10185 jmvivo
                <ant dir="${jdbc.Dir}" target="import-build-number" inheritAll="false">
420
                        <property name="buildNumberFile" location="build.number"/>
421
                </ant>
422 7209 cesar
                <ant dir="${jdbc.Dir}" target="batch-build" inheritAll="false">
423 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
424
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
425 6296 cesar
                        <property name="debug" value="${debug}"/>
426
                        <property name="debuglevel" value="${debuglevel}"/>
427
                        <property name="encoding" value="ISO_8859_1"/>
428 12353 jmvivo
                </ant>
429 12141 cesar
        <condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget">
430 11869 jmvivo
            <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 12353 jmvivo
        </ant>
442 12141 cesar
                <condition property="cad.Dir" value="${cad}" else="scripts/voidTarget">
443 7209 cesar
                        <available file="${cad}" type="dir"/>
444
                </condition>
445 10185 jmvivo
                <ant dir="${cad.Dir}" target="import-build-number" inheritAll="false">
446
                        <property name="buildNumberFile" location="build.number"/>
447
                </ant>
448 7209 cesar
                <ant dir="${cad.Dir}" target="batch-build" inheritAll="false">
449 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
450
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
451 6296 cesar
                        <property name="debug" value="${debug}"/>
452
                        <property name="debuglevel" value="${debuglevel}"/>
453
                        <property name="encoding" value="ISO_8859_1"/>
454 7776 cesar
                </ant>
455 12141 cesar
                <condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget">
456 7209 cesar
                        <available file="${appcatalog}" type="dir"/>
457
                </condition>
458 10185 jmvivo
                <ant dir="${appcatalog.Dir}" target="import-build-number" inheritAll="false">
459
                        <property name="buildNumberFile" location="build.number"/>
460
                </ant>
461 7209 cesar
                <ant dir="${appcatalog.Dir}" target="batch-build" inheritAll="false">
462 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
463
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
464 7209 cesar
                        <property name="debug" value="${debug}"/>
465
                        <property name="debuglevel" value="${debuglevel}"/>
466
                        <property name="encoding" value="ISO_8859_1"/>
467 6296 cesar
                </ant>
468 12141 cesar
                <condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget">
469 7209 cesar
                        <available file="${catalog}" type="dir"/>
470
                </condition>
471 10185 jmvivo
                <ant dir="${catalog.Dir}" target="import-build-number" inheritAll="false">
472
                        <property name="buildNumberFile" location="build.number"/>
473
                </ant>
474 7209 cesar
                <ant dir="${catalog.Dir}" target="batch-build" inheritAll="false">
475 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
476
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
477 6296 cesar
                        <property name="debug" value="${debug}"/>
478
                        <property name="debuglevel" value="${debuglevel}"/>
479
                        <property name="encoding" value="ISO_8859_1"/>
480
                </ant>
481 12141 cesar
                <condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget">
482 7209 cesar
                        <available file="${wcs}" type="dir"/>
483
                </condition>
484 10185 jmvivo
                <ant dir="${wcs.Dir}" target="import-build-number" inheritAll="false">
485
                        <property name="buildNumberFile" location="build.number"/>
486
                </ant>
487 7209 cesar
                <ant dir="${wcs.Dir}" target="batch-build" inheritAll="false">
488 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
489
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
490 6296 cesar
                        <property name="debug" value="${debug}"/>
491
                        <property name="debuglevel" value="${debuglevel}"/>
492
                        <property name="encoding" value="ISO_8859_1"/>
493
                </ant>
494 12141 cesar
                <condition property="wms.Dir" value="${wms}" else="scripts/voidTarget">
495 7209 cesar
                        <available file="${wms}" type="dir"/>
496
                </condition>
497 10185 jmvivo
                <ant dir="${wms.Dir}" target="import-build-number" inheritAll="false">
498
                        <property name="buildNumberFile" location="build.number"/>
499
                </ant>
500 7209 cesar
                <ant dir="${wms.Dir}" target="batch-build" inheritAll="false">
501 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
502
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
503 6296 cesar
                        <property name="debug" value="${debug}"/>
504
                        <property name="debuglevel" value="${debuglevel}"/>
505
                        <property name="encoding" value="ISO_8859_1"/>
506
                </ant>
507 12141 cesar
                <condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget">
508 7209 cesar
                        <available file="${dataloc}" type="dir"/>
509
                </condition>
510 10185 jmvivo
                <ant dir="${dataloc.Dir}" target="import-build-number" inheritAll="false">
511
                        <property name="buildNumberFile" location="build.number"/>
512 12353 jmvivo
                </ant>
513 7209 cesar
                <ant dir="${dataloc.Dir}" target="batch-build" inheritAll="false">
514 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
515
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
516 6296 cesar
                        <property name="debug" value="${debug}"/>
517
                        <property name="debuglevel" value="${debuglevel}"/>
518
                        <property name="encoding" value="ISO_8859_1"/>
519
                </ant>
520 12141 cesar
                <condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget">
521 7209 cesar
                        <available file="${geoprocessing}" type="dir"/>
522
                </condition>
523 10185 jmvivo
                <ant dir="${geoprocessing.Dir}" target="import-build-number" inheritAll="false">
524
                        <property name="buildNumberFile" location="build.number"/>
525
                </ant>
526 7209 cesar
                <ant dir="${geoprocessing.Dir}" target="batch-build" inheritAll="false">
527 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
528
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
529 6296 cesar
                        <property name="debug" value="${debug}"/>
530
                        <property name="debuglevel" value="${debuglevel}"/>
531
                        <property name="encoding" value="ISO_8859_1"/>
532
                </ant>
533 12141 cesar
                <condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget">
534 7209 cesar
                        <available file="${geoprocessingExtensions}" type="dir"/>
535
                </condition>
536 10185 jmvivo
                <ant dir="${geoprocessingExtensions.Dir}" target="import-build-number" inheritAll="false">
537
                        <property name="buildNumberFile" location="build.number"/>
538 12353 jmvivo
                </ant>
539 7209 cesar
                <ant dir="${geoprocessingExtensions.Dir}" target="batch-build" inheritAll="false">
540 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
541
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
542 6296 cesar
                        <property name="debug" value="${debug}"/>
543
                        <property name="debuglevel" value="${debuglevel}"/>
544
                        <property name="encoding" value="ISO_8859_1"/>
545
                </ant>
546 12141 cesar
                <condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget">
547 7209 cesar
                        <available file="${georeferencing}" type="dir"/>
548
                </condition>
549 10185 jmvivo
                <ant dir="${georeferencing.Dir}" target="import-build-number" inheritAll="false">
550
                        <property name="buildNumberFile" location="build.number"/>
551
                </ant>
552 7209 cesar
                <ant dir="${georeferencing.Dir}" target="batch-build" inheritAll="false">
553 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
554
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
555 6296 cesar
                        <property name="debug" value="${debug}"/>
556
                        <property name="debuglevel" value="${debuglevel}"/>
557
                        <property name="encoding" value="ISO_8859_1"/>
558
                </ant>
559 12141 cesar
                <condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget">
560 7209 cesar
                        <available file="${wfs}" type="dir"/>
561
                </condition>
562 10185 jmvivo
                <ant dir="${rastertools.Dir}" target="import-build-number" inheritAll="false">
563
                        <property name="buildNumberFile" location="build.number"/>
564
                </ant>
565 7209 cesar
                <ant dir="${rastertools.Dir}" target="batch-build" inheritAll="false">
566 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
567
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
568 6296 cesar
                        <property name="debug" value="${debug}"/>
569
                        <property name="debuglevel" value="${debuglevel}"/>
570
                        <property name="encoding" value="ISO_8859_1"/>
571
                </ant>
572 12141 cesar
                <condition property="wfs.Dir" value="${wfs}" else="scripts/voidTarget">
573 7209 cesar
                        <available file="${wfs}" type="dir"/>
574
                </condition>
575 10185 jmvivo
                <ant dir="${wfs.Dir}" target="import-build-number" inheritAll="false">
576
                        <property name="buildNumberFile" location="build.number"/>
577 12353 jmvivo
                </ant>
578 7209 cesar
                <ant dir="${wfs.Dir}" target="batch-build" inheritAll="false">
579 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
580
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
581 6296 cesar
                        <property name="debug" value="${debug}"/>
582
                        <property name="debuglevel" value="${debuglevel}"/>
583
                        <property name="encoding" value="ISO_8859_1"/>
584
                </ant>
585 12141 cesar
                <condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget">
586 7209 cesar
                        <available file="${centerview}" type="dir"/>
587
                </condition>
588 10185 jmvivo
                <ant dir="${centerview.Dir}" target="import-build-number" inheritAll="false">
589
                        <property name="buildNumberFile" location="build.number"/>
590 12353 jmvivo
                </ant>
591 7209 cesar
                <ant dir="${centerview.Dir}" target="batch-build" inheritAll="false">
592 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
593
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
594 6360 cesar
                        <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 12141 cesar
                <condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget">
600 7209 cesar
                        <available file="${scripting}" type="dir"/>
601
                </condition>
602 10185 jmvivo
                <ant dir="${scripting.Dir}" target="import-build-number" inheritAll="false">
603
                        <property name="buildNumberFile" location="build.number"/>
604 12353 jmvivo
                </ant>
605 7209 cesar
                <ant dir="${scripting.Dir}" target="batch-build" inheritAll="false">
606 10565 jmvivo
                          <property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
607
                          <property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
608 6360 cesar
                        <property name="debug" value="${debug}"/>
609
                        <property name="debuglevel" value="${debuglevel}"/>
610
                        <property name="encoding" value="ISO_8859_1"/>
611
                </ant>
612 12353 jmvivo
613 12259 cesar
                 <condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget">
614
                        <available file="${expressionField}" type="dir"/>
615 11843 jmvivo
                </condition>
616 12259 cesar
                <ant dir="${expressionField.Dir}" target="import-build-number" inheritAll="false">
617 11843 jmvivo
                        <property name="buildNumberFile" location="build.number"/>
618 12353 jmvivo
                </ant>
619 12259 cesar
                <ant dir="${expressionField.Dir}" target="batch-build" inheritAll="false">
620 11843 jmvivo
                          <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 11844 jmvivo
                </ant>
626 12353 jmvivo
627 12141 cesar
        <condition property="annotations.Dir" value="${annotations}" else="scripts/voidTarget">
628 11844 jmvivo
            <available file="${annotations}" type="dir"/>
629 12353 jmvivo
        </condition>
630 11844 jmvivo
       <ant dir="${annotations.Dir}" target="import-build-number" inheritAll="false">
631
            <property name="buildNumberFile" location="build.number"/>
632 12353 jmvivo
        </ant>
633 11844 jmvivo
        <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 12353 jmvivo
641 12141 cesar
        <condition property="libArcIMS.Dir" value="${libArcIMS}" else="scripts/voidTarget">
642 11869 jmvivo
            <available file="${libArcIMS}" type="dir"/>
643 12353 jmvivo
        </condition>
644 11869 jmvivo
        <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 12141 cesar
        <condition property="Arcims.Dir" value="${Arcims}" else="scripts/voidTarget">
653 11869 jmvivo
            <available file="${Arcims}" type="dir"/>
654 12353 jmvivo
        </condition>
655 11869 jmvivo
       <ant dir="${Arcims.Dir}" target="import-build-number" inheritAll="false">
656
            <property name="buildNumberFile" location="build.number"/>
657 12353 jmvivo
        </ant>
658 11869 jmvivo
        <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 12353 jmvivo
        </ant>
665 5849 cesar
        </target>
666 12353 jmvivo
667 5849 cesar
        <target name="clean-all"
668
                                depends="clean-base,clean-extensions"
669
                                description="clean up" />
670 12353 jmvivo
671 7209 cesar
        <target name="clean-base"
672
                description="cleans the base components of gvSIG: appgvSIG + libs">
673 5849 cesar
                <!-- 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 12891 jmvivo
            <ant dir="${libui_Components}" target="clean"/>
679 5849 cesar
                <ant dir="${cms}" target="clean"/>
680 12851 cesar
                <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 5849 cesar
                <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 6361 cesar
                <ant dir="${libui}" target="clean"/>
690 5849 cesar
        </target>
691 12353 jmvivo
692 7209 cesar
        <target name="clean-extensions"
693
                description="Clean the extensions">
694 12936 cesar
                <condition property="extjcrs.Dir" value="${extjcrs}" else="scripts/voidTarget">
695
                        <available file="${extjcrs}" type="dir"/>
696
                </condition>
697
                <ant dir="${extjcrs}" target="clean"/>
698 12141 cesar
                <condition property="event.Dir" value="${event}" else="scripts/voidTarget">
699 7209 cesar
                        <available file="${event}" type="dir"/>
700
                </condition>
701
                <ant dir="${event.Dir}" target="clean" inheritAll="false" />
702 12141 cesar
                <condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget">
703 7209 cesar
                        <available file="${libdwg}" type="dir"/>
704
                </condition>
705
                <ant dir="${libdwg.Dir}" target="clean" inheritAll="false" />
706 12141 cesar
                <condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget">
707 7209 cesar
                        <available file="${extdwg}" type="dir"/>
708
                </condition>
709
                <ant dir="${extdwg.Dir}" target="clean" inheritAll="false" />
710 12141 cesar
                <condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget">
711 7209 cesar
                        <available file="${jdbc}" type="dir"/>
712 12353 jmvivo
                </condition>
713
                <ant dir="${jdbc.Dir}" target="clean" inheritAll="false" />
714 12141 cesar
        <condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget">
715 11869 jmvivo
            <available file="${geobd}" type="dir"/>
716 12353 jmvivo
        </condition>
717
        <ant dir="${geobd.Dir}" target="clean" inheritAll="false" />
718 12141 cesar
                <condition property="cad.Dir" value="${cad}" else="scripts/voidTarget">
719 7209 cesar
                        <available file="${cad}" type="dir"/>
720
                </condition>
721
                <ant dir="${cad.Dir}" target="clean" inheritAll="false" />
722 12141 cesar
                <condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget">
723 7209 cesar
                        <available file="${appcatalog}" type="dir"/>
724
                </condition>
725
                <ant dir="${appcatalog.Dir}" target="clean" inheritAll="false" />
726 12141 cesar
                <condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget">
727 7209 cesar
                        <available file="${catalog}" type="dir"/>
728
                </condition>
729
                <ant dir="${catalog.Dir}" target="clean" inheritAll="false" />
730 12141 cesar
                <condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget">
731 7209 cesar
                        <available file="${wcs}" type="dir"/>
732
                </condition>
733
                <ant dir="${wcs.Dir}" target="clean" inheritAll="false" />
734 12141 cesar
                <condition property="wms.Dir" value="${wms}" else="scripts/voidTarget">
735 7209 cesar
                        <available file="${wms}" type="dir"/>
736
                </condition>
737
                <ant dir="${wms.Dir}" target="clean" inheritAll="false" />
738 12141 cesar
                <condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget">
739 7209 cesar
                        <available file="${dataloc}" type="dir"/>
740
                </condition>
741 5849 cesar
                <ant dir="${dataloc}" target="clean" inheritAll="false" />
742 12141 cesar
                <condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget">
743 7209 cesar
                        <available file="${geoprocessing}" type="dir"/>
744
                </condition>
745
                <ant dir="${geoprocessing.Dir}" target="clean" inheritAll="false" />
746 12353 jmvivo
747 12141 cesar
        <condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget">
748 11869 jmvivo
            <available file="${geoprocessingExtensions}" type="dir"/>
749
        </condition>
750
        <ant dir="${geoprocessingExtensions.Dir}" target="clean" inheritAll="false" />
751 12353 jmvivo
752 12141 cesar
                <condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget">
753 7209 cesar
                        <available file="${georeferencing}" type="dir"/>
754
                </condition>
755
                <ant dir="${georeferencing.Dir}" target="clean" inheritAll="false" />
756 12141 cesar
                <condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget">
757 7209 cesar
                        <available file="${rastertools}" type="dir"/>
758
                </condition>
759
                <ant dir="${rastertools.Dir}" target="clean" inheritAll="false" />
760 12141 cesar
                <condition property="wfsg.Dir" value="${wfs}" else="scripts/voidTarget">
761 7209 cesar
                        <available file="${wfs}" type="dir"/>
762
                </condition>
763
                <ant dir="${wfsg.Dir}" target="clean" inheritAll="false" />
764 12141 cesar
                <condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget">
765 7209 cesar
                        <available file="${scripting}" type="dir"/>
766
                </condition>
767
                <ant dir="${scripting.Dir}" target="clean" inheritAll="false" />
768 12141 cesar
                <condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget">
769 7209 cesar
                        <available file="${centerview}" type="dir"/>
770
                </condition>
771
                <ant dir="${centerview.Dir}" target="clean" inheritAll="false" />
772 12265 cesar
        <condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget">
773 12259 cesar
            <available file="${expressionField}" type="dir"/>
774 11844 jmvivo
        </condition>
775 12353 jmvivo
        <ant dir="${expressionField.Dir}" target="clean" inheritAll="false" />
776 12265 cesar
        <condition property="annotations.Dir" value="${annotations}" else="scripts/voidTarget">
777 11844 jmvivo
            <available file="${annotations}" type="dir"/>
778
        </condition>
779 12353 jmvivo
        <ant dir="${annotations.Dir}" target="clean" inheritAll="false" />
780 5849 cesar
        </target>
781
782 5852 cesar
        <!-- 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 6048 cesar
                                        depends="install-base,install-extensions"
786 7209 cesar
                                        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 12353 jmvivo
788 7209 cesar
        <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 12057 jmvivo
                <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 12891 jmvivo
                <ant dir="${libui_Components}" inheritAll="false"/>
800 12057 jmvivo
                <ant dir="${cms}" inheritAll="false"/>
801 12851 cesar
                <ant dir="${libjcrs}" inheritAll="false"/>
802 12057 jmvivo
                <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 7209 cesar
        </target>
808 12353 jmvivo
809 11869 jmvivo
        <target name="install-extensions" depends="install-base"
810 7209 cesar
                        description="Generate jars and copy files to Andami for the extensions. Compilation is supposed to be automatically done by Eclipse" >
811 12141 cesar
                <condition property="event.Dir" value="${event}" else="scripts/voidTarget">
812 12057 jmvivo
                        <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 12141 cesar
                <condition property="libdwg.Dir" value="${libdwg}" else="scripts/voidTarget">
819 12057 jmvivo
                        <available file="${libdwg}" type="dir"/>
820
                </condition>
821
                <ant dir="${libdwg.Dir}" inheritAll="false"/>
822 12141 cesar
                <condition property="extdwg.Dir" value="${extdwg}" else="scripts/voidTarget">
823 12057 jmvivo
                        <available file="${extdwg}" type="dir"/>
824
                </condition>
825
                <ant dir="${extdwg.Dir}" inheritAll="false"/>
826 12141 cesar
                <condition property="jdbc.Dir" value="${jdbc}" else="scripts/voidTarget">
827 12057 jmvivo
                        <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 12141 cesar
            <condition property="geobd.Dir" value="${geobd}" else="scripts/voidTarget">
835 12057 jmvivo
                <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 12141 cesar
                <condition property="cad.Dir" value="${cad}" else="scripts/voidTarget">
842 12057 jmvivo
                        <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 12141 cesar
                <condition property="appcatalog.Dir" value="${appcatalog}" else="scripts/voidTarget">
849 12057 jmvivo
                        <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 12141 cesar
                <condition property="catalog.Dir" value="${catalog}" else="scripts/voidTarget">
856 12057 jmvivo
                        <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 12141 cesar
                <condition property="wcs.Dir" value="${wcs}" else="scripts/voidTarget">
863 12057 jmvivo
                        <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 12141 cesar
                <condition property="wms.Dir" value="${wms}" else="scripts/voidTarget">
870 12057 jmvivo
                        <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 12141 cesar
                <condition property="dataloc.Dir" value="${dataloc}" else="scripts/voidTarget">
877 12057 jmvivo
                        <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 12353 jmvivo
                </ant>
882 12057 jmvivo
                <ant dir="${dataloc.Dir}" inheritAll="false"/>
883 12141 cesar
                <condition property="geoprocessing.Dir" value="${geoprocessing}" else="scripts/voidTarget">
884 12057 jmvivo
                        <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 12141 cesar
                <condition property="geoprocessingExtensions.Dir" value="${geoprocessingExtensions}" else="scripts/voidTarget">
891 12057 jmvivo
                        <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 12353 jmvivo
                </ant>
896 12057 jmvivo
                <ant dir="${geoprocessingExtensions.Dir}" inheritAll="false"/>
897 12141 cesar
                <condition property="georeferencing.Dir" value="${georeferencing}" else="scripts/voidTarget">
898 12057 jmvivo
                        <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 12141 cesar
                <condition property="rastertools.Dir" value="${rastertools}" else="scripts/voidTarget">
905 12057 jmvivo
                        <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 12141 cesar
                <condition property="wfs.Dir" value="${wfs}" else="scripts/voidTarget">
912 12057 jmvivo
                        <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 12353 jmvivo
                </ant>
917 12057 jmvivo
                <ant dir="${wfs.Dir}" inheritAll="false"/>
918 12141 cesar
                <condition property="centerview.Dir" value="${centerview}" else="scripts/voidTarget">
919 12057 jmvivo
                        <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 12353 jmvivo
                </ant>
924 12057 jmvivo
                <ant dir="${centerview.Dir}" inheritAll="false"/>
925 12141 cesar
                <condition property="scripting.Dir" value="${scripting}" else="scripts/voidTarget">
926 12057 jmvivo
                        <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 12353 jmvivo
                </ant>
931 12057 jmvivo
                <ant dir="${scripting.Dir}" inheritAll="false"/>
932
933 12259 cesar
                <condition property="expressionField.Dir" value="${expressionField}" else="scripts/voidTarget">
934
                        <available file="${expressionField}" type="dir"/>
935 12057 jmvivo
                </condition>
936 12259 cesar
                <ant dir="${expressionField.Dir}" target="import-build-number" inheritAll="false">
937 12057 jmvivo
                        <property name="buildNumberFile" location="build.number"/>
938 12353 jmvivo
                </ant>
939 12259 cesar
                <ant dir="${expressionField.Dir}" inheritAll="false"/>
940 12057 jmvivo
941 12141 cesar
            <condition property="annotations.Dir" value="${annotations}" else="scripts/voidTarget">
942 12057 jmvivo
                <available file="${annotations}" type="dir"/>
943 12353 jmvivo
            </condition>
944 12057 jmvivo
           <ant dir="${annotations.Dir}" target="import-build-number" inheritAll="false">
945
                <property name="buildNumberFile" location="build.number"/>
946 12353 jmvivo
            </ant>
947 12057 jmvivo
            <ant dir="${annotations.Dir}" inheritAll="false"/>
948 12353 jmvivo
949 12936 cesar
            <condition property="extjcrs.Dir" value="${extjcrs}" else="scripts/voidTarget">
950
                <available file="${extjcrs}" type="dir"/>
951 12353 jmvivo
            </condition>
952 12936 cesar
           <ant dir="${extjcrs.Dir}" target="import-build-number" inheritAll="false">
953 12057 jmvivo
                <property name="buildNumberFile" location="build.number"/>
954 12353 jmvivo
            </ant>
955 12936 cesar
            <ant dir="${extjcrs.Dir}" inheritAll="false"/>
956 12057 jmvivo
957 12141 cesar
            <condition property="libArcIMS.Dir" value="${libArcIMS}" else="scripts/voidTarget">
958 12057 jmvivo
                <available file="${libArcIMS}" type="dir"/>
959 12353 jmvivo
            </condition>
960 12057 jmvivo
            <ant dir="${libArcIMS.Dir}" inheritAll="false"/>
961
962 12141 cesar
            <condition property="Arcims.Dir" value="${Arcims}" else="scripts/voidTarget">
963 12057 jmvivo
                <available file="${Arcims}" type="dir"/>
964 12353 jmvivo
            </condition>
965 12057 jmvivo
           <ant dir="${Arcims.Dir}" target="import-build-number" inheritAll="false">
966
                <property name="buildNumberFile" location="build.number"/>
967 12353 jmvivo
            </ant>
968 12057 jmvivo
            <ant dir="${Arcims.Dir}" inheritAll="false"/>
969 12353 jmvivo
970 7209 cesar
        </target>
971 5852 cesar
972 12353 jmvivo
973
974 6361 cesar
        <!-- The download targets are still no working well (or maybe not working at all...) -->
975 5849 cesar
        <target name="download"
976 7209 cesar
                        description="Not working yet. Downloads all the projects from the CVS HEAD"
977 5849 cesar
                        depends="download-base, download-extensions">
978
        </target>
979
980 7209 cesar
        <target name="download-base" description="Not working yet. It will download the base projects required to build gvSIG">
981 5849 cesar
                <property name="downloadDir" value="tmp-download"/>
982
                <mkdir dir="${downloadDir}" />
983 12353 jmvivo
984 5849 cesar
                <!-- 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 12353 jmvivo
994 5849 cesar
                <!-- we have to do the same for the rest of the projects -->
995
        </target>
996 12353 jmvivo
997 7209 cesar
        <target name="download-extensions" description="Not working yet. It will download the extensions">
998 5849 cesar
        </target>
999
1000 312 fernando
</project>