Statistics
| Revision:

svn-gvsig-desktop / trunk / applications / appgvSIG / build.xml @ 7139

History | View | Annotate | Download (20.1 KB)

1
<project name="Generar extension en MDIAPP" 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
        <property name="build-doc" value="build-doc"/>
21
        <property name="compile-classpath" value="${lib}/batik-awt-util.jar:${lib}/batik-bridge.jar:${lib}/batik-css.jar:${lib}/batik-dom.jar:${lib}/batik-ext.jar:${lib}/batik-extension.jar:${lib}/batik-gui-util.jar:${lib}/batik-gvt.jar:${lib}/batik-parser.jar:${lib}/batik-script.jar:${lib}/batik-svg-dom.jar:${lib}/batik-svggen.jar:${lib}/batik-swing.jar:${lib}/batik-transcoder.jar:${lib}/batik-util.jar:${lib}/batik-xml.jar:${andamiLibs}/beans.jar:${andamiLibs}/castor-0.9.5.3-xml.jar:${fmapLibs}/cms.jar:${fmapLibs}/driver-manager-1.1.jar:${fmapLibs}/fmap.jar:${fmapLibs}/geoapi-2.0.jar:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${fmapLibs}/gt2-legacy.jar:${fmapLibs}/gt2-main.jar:${fmapLibs}/gt2-postgis.jar:${fmapLibs}/gt2-wfs.jar:${fmapLibs}/gt2-wms.jar:${lib}/itext-1.4.2.jar:${fmapLibs}/jecw-0.0.1.jar:${lib-fmap}/jecwcompress-0.0.0.jar:${andamiJar}:${lib}/jep-2.24.jar:${lib-fmap}/jgdal-0.1.0.jar:${lib}/JimiProClasses.zip:${fmapLibs}/jogr.jar:${fmapLibs}/jts-1.7.jar:${lib}/junit.jar:${andamiLibs}/JWizardComponent.jar:${andamiLibs}/iver-utiles.jar:${andamiLibs}/log4j-1.2.8.jar:${andamiLibs}/looks-2.0.2.jar:${lib}/js.jar:${lib}/pdf-transcoder.jar:${lib-fmap}/units-0.01.jar:${lib-fmap}/wmsclient.jar:${lib}/xml-apis.jar:"/>
22
                
23
        <target name="init">
24
                <!-- Create the time stamp -->
25
                <tstamp/>
26
                <!-- Create the build directory structure used by compile -->
27
                <mkdir dir="${build}"/>
28
                <!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
29
                <!-- <buildnumber/> -->
30
        </target>
31

    
32
        <target name="build-doc" depends="" description="Genera un zip con la documentación">
33
                <javadoc
34
                        packagenames="com.iver.cit.gvsig.*"
35
                        sourcepath="src"
36
                        defaultexcludes="yes"
37
                        destdir="${build-doc}/gvSIG-api"
38
                        windowtitle="gvSIG API">
39
                </javadoc>
40
        </target>
41

    
42
        <target name="dist"
43
                                depends="init"
44
                                description="Generate the distribution of the gvSIG plugin. To build just the appgvSIG project from Eclipse " >
45
                <!-- Create the distribution directory -->
46
                <mkdir dir="${dist}"/>
47

    
48
                <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
49
                <copy todir="${dist}/lib">
50
                        <fileset dir="./lib" includes="*.jar,*.zip"/>
51
                </copy>
52
                <copy todir="${dist}/lib">
53
                        <fileset dir="${fmapdir}/lib" includes="*.jar"/>
54
                </copy>
55
                <jar jarfile="${dist}/lib/fmap.jar" basedir="${fmapdir}/bin"/>
56
                <jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}"/>
57
                <copy file="config/config.xml" todir="${dist}"/>
58
                <copy file="config/about.htm" todir="${dist}"/>
59
                <copy file="build.number" todir="${dist}"/>
60
                <copy todir="${dist}">
61
                        <fileset dir="config" includes="text*.properties"/>
62
                </copy>
63
                <copy todir="${dist}/images">
64
                        <fileset dir="images/" includes="*"/>
65
                </copy>
66
                <copy todir="${dist}/northimages">
67
                        <fileset dir="northimages/" includes="*"/>
68
                </copy>
69

    
70
                <move todir="${extensionDir}/${plugin}/">
71
                        <fileset dir="${dist}" includes="**/**"/>
72
                </move>
73
        </target>
74

    
75
  <target name="makeZip"
76
          description="Genera un zip con todo lo necesario para ejecutar gvSIG. Actualmente no se usa"
77
          depends="dist">
78
    <!-- Create the distribution directory -->
79
    <mkdir dir="${dist}/${zipName}"/>
80
    <jar jarfile="${dist}/${zipName}/gvSIG.jar" basedir="../mdiApp/bin" manifest="../mdiApp/manifest.mf"/>
81
    <jar jarfile="${dist}/${zipName}/gvSIG.jar" basedir="../mdiApp/" includes="images/*" update="true"/>
82
    <jar jarfile="${dist}/${zipName}/gvSIG.jar" basedir="../mdiApp/" includes="plugin.dtd" update="true"/>
83
    <copy todir="${dist}/${zipName}">
84
                <fileset dir="../mdiApp">
85
                        <include name="extensiones/${plugin}/**"/>
86
                        <include name="extensiones/plugin.*"/>
87
                        <include name="plugin.*"/>
88
                </fileset>
89
                <!-- fileset dir="${dist}" includes="gvSIG.jar"/ -->
90
                <fileset dir="../mdiApp_v02_estable">
91
                        <include name="lib/**"/>
92
                </fileset>
93
                <fileset dir="distFiles" includes="**/**"/>
94
    </copy>
95
        <zip zipfile="${zipName}.zip">
96
                <fileset dir="${dist}">
97
                        <include name="**/**"/>
98
                </fileset>
99
        </zip>
100
 <!--   <delete dir="${dist}"/> -->
101
  </target>
102
        
103
        <target name="batch-build"
104
                        description="Global build for the whole gvSIG + extensions. Compiles all the sources and builds the application so that it's ready to execute"
105
                        depends="get-fmap-libs,compile,create-jar,copy-libs,copy-data-files,move-to-andami">
106
        </target>
107
        
108
        <target name="compile" description="compile the source">
109
                <!-- Create the time stamp -->
110
                <tstamp/>
111
                <!-- Create the build directory structure used by compile -->
112
                <mkdir dir="${build}"/>
113
                <!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
114
                <buildnumber />
115
                <!-- Compile the Java code from ${src} to ${build} -->
116
                <javac  srcdir="${src}"
117
                        destdir="${build}"
118
                        source="1.4"
119
                        target="1.4"
120
                        debug="${debug}"
121
                        debuglevel="${debuglevel}"
122
                        classpath="${compile-classpath}"
123
                        excludes="com/iver/cit/gvsig/test/**"/>
124
        </target>        
125

    
126
        <target name="create-jar" description="Creates the jar file">
127
                <mkdir dir="${dist}/lib"/>
128
                <jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}"/>
129
        </target>
130
        
131
        <target name="copy-libs"
132
                depends="get-fmap-libs">
133
                <mkdir dir="${dist}"/>
134
                <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
135
                <copy todir="${dist}/lib">
136
                        <fileset dir="./lib" includes="*.jar,*.zip"/>
137
                </copy>
138
        </target>
139
        
140
        <target name="get-fmap-libs">
141
                <copy todir="${dist}/lib">
142
                        <fileset dir="${fmapdir}/lib" includes="*.jar"/>
143
                </copy>
144
                <jar jarfile="${dist}/lib/fmap.jar" basedir="${fmapdir}/bin"/>
145
                <copy file="${dist}/lib/fmap.jar" todir="${extensionDir}/${plugin}/lib"/>
146
        </target>
147
        
148
        <target name="copy-data-files">
149
        <copy todir="${dist}">
150
                <fileset dir="config" includes="*" />
151
        </copy>
152
                <copy file="build.number" todir="${dist}"/>
153
                <copy todir="${dist}/images">
154
                        <fileset dir="images/" includes="*"/>
155
                </copy>
156
                <copy todir="${dist}/northimages">
157
                        <fileset dir="northimages/" includes="*"/>
158
                </copy>
159
    </target>
160
        
161
        <target name="move-to-andami" description="Moves the build directory to andami">
162
                <move todir="${extensionDir}/${plugin}/">
163
                        <fileset dir="${dist}" includes="**/**"/>
164
                </move>
165
        </target>
166

    
167
        <target name="clean"
168
                        description="clean up" >
169
                <!-- Delete the ${build} and ${dist} directory trees -->
170
                <delete dir="${build}"/>
171
<!--                <delete dir="${dist}"/> -->
172
        </target>
173
        
174
        
175
        <!-- the global build starts here -->
176
        <property name="andami" location="../_fwAndami"/>
177
        <property name="utiles" location="../libIverUtiles"/>
178
        <property name="core" location="../libCorePlugin"/>
179
        <property name="driver" location="../libDriverManager"/>
180
        <property name="cms" location="../libCq CMS for java"/>
181
        <property name="fmap" location="../libFMap"/>
182
        <property name="gvSIG" location="../appgvSIG"/>
183
        <property name="remote" location="../libRemoteServices"/>
184
        <property name="gdbms" location="../libGDBMS"/>
185
        <property name="i18n" location="../libInternationalization"/>
186
        <property name="appcatalog" location="../appCatalogYNomenclatorClient"/>
187
        <property name="catalog" location="../extCatalogYNomenclator"/>
188
        <property name="dataloc" location="../extDataLocator"/>
189
        <property name="event" location="../extAddEventTheme"/>
190
        <property name="libdwg" location="../libDwg"/>
191
        <property name="extdwg" location="../extDwg"/>
192
        <property name="cad" location="../extCAD"/>
193
        <property name="geoprocessing" location="../extGeoProcessing"/>
194
        <property name="georeferencing" location="../extGeoreferencing"/>
195
        <property name="jdbc" location="../extJDBC"/>
196
        <property name="rastertools" location="../extRasterTools"/>
197
        <property name="wcs" location="../extWCS"/>
198
        <property name="wfs" location="../extWFS2"/>
199
        <property name="wms" location="../extWMS"/>
200
        <property name="scripting" location="../extScripting"/>
201
        <property name="centerview" location="../extCenterViewToPoint"/>
202
        <property name="libui" location="../libUI"/>
203
        <property name="global.installBaseDir" location="${andami}"/>
204

    
205
        <target name="build-all"
206
                                depends="debug-yes,base,extensions"
207
                                description="Global build for the whole gvSIG + extensions. Compiles all the sources and builds the application so that it's ready to execute" />
208
        
209
        <target name="eclipse-build-all"
210
                                        depends="debug-no,base,extensions"
211
                                        description="Builds the application, including extensions, producing debug info" />
212
        
213
        <target name="debug-yes">
214
                <property name="debug" value="on"/>
215
                <property name="debuglevel" value="lines, vars"/>
216
        </target>
217
        
218
        <target name="debug-no">
219
                <property name="debug" value="off"/>
220
        </target>
221
        
222
        <target name="eclipse-base" depends="debug-yes,base" />
223
        <target name="eclipse-extensions" depends="debug-yes,base,extensions" />
224
        
225
        <target name="base"
226
                        description="Builds the application, excluding extensions">
227
                <ant dir="${utiles}" target="batch-build" inheritAll="false">
228
                        <property name="debug" value="${debug}"/>
229
                        <property name="debuglevel" value="${debuglevel}"/>
230
                        <property name="encoding" value="ISO_8859_1"/>
231
                </ant>
232
                  <ant dir="${i18n}" target="batch-build" inheritAll="false">
233
                        <property name="debug" value="${debug}"/>
234
                        <property name="debuglevel" value="${debuglevel}"/>
235
                        <property name="encoding" value="ISO_8859_1"/>
236
                </ant>
237
                <ant dir="${andami}" target="batch-build"  inheritAll="false">
238
                        <property name="debug" value="${debug}"/>
239
                        <property name="debuglevel" value="${debuglevel}"/>
240
                        <property name="encoding" value="ISO_8859_1"/>
241
                </ant>
242
                <ant dir="${libui}" target="batch-build" inheritAll="false">
243
                        <property name="debug" value="${debug}"/>
244
                        <property name="debuglevel" value="${debuglevel}"/>
245
                <property name="installBaseDir" value="${global.installBaseDir}"/>
246
                        <property name="encoding" value="ISO_8859_1"/>
247
                </ant>
248
                <ant dir="${core}" target="batch-build"  inheritAll="false">
249
                        <property name="debug" value="${debug}"/>
250
                        <property name="debuglevel" value="${debuglevel}"/>
251
                        <property name="encoding" value="ISO_8859_1"/>
252
                </ant>
253
                <ant dir="${cms}" target="batch-build"  inheritAll="false">
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="${driver}" target="batch-build"  inheritAll="false">
259
                        <property name="debug" value="${debug}"/>
260
                        <property name="debuglevel" value="${debuglevel}"/>
261
                        <property name="encoding" value="ISO_8859_1"/>
262
                </ant>
263
                <ant dir="${remote}" target="batch-build"  inheritAll="false">
264
                        <property name="debug" value="${debug}"/>
265
                        <property name="debuglevel" value="${debuglevel}"/>
266
                        <property name="encoding" value="ISO_8859_1"/>
267
                </ant>
268
                <ant dir="${gdbms}" target="batch-build" inheritAll="false">
269
                        <property name="debug" value="${debug}"/>
270
                        <property name="debuglevel" value="${debuglevel}"/>
271
                        <property name="encoding" value="ISO_8859_1"/>
272
                </ant>
273
                <ant dir="${fmap}" target="batch-build"  inheritAll="false">
274
                        <property name="debug" value="${debug}"/>
275
                        <property name="debuglevel" value="${debuglevel}"/>
276
                        <property name="encoding" value="ISO_8859_1"/>
277
                </ant>
278
                <ant dir="${gvSIG}" target="batch-build"  inheritAll="false">
279
                        <property name="debug" value="${debug}"/>
280
                        <property name="debuglevel" value="${debuglevel}"/>
281
                        <property name="encoding" value="ISO_8859_1"/>
282
                </ant>
283
        </target>
284
        
285
        <target name="extensions" depends="base">
286
                <ant dir="${event}" target="batch-build" inheritAll="false">
287
                        <property name="debug" value="${debug}"/>
288
                        <property name="debuglevel" value="${debuglevel}"/>
289
                        <property name="encoding" value="ISO_8859_1"/>
290
                </ant>
291
                <ant dir="${libdwg}" target="batch-build" inheritAll="false">
292
                        <property name="debug" value="${debug}"/>
293
                        <property name="debuglevel" value="${debuglevel}"/>
294
                        <property name="encoding" value="ISO_8859_1"/>
295
                </ant>
296
                <ant dir="${extdwg}" target="batch-build" inheritAll="false">
297
                        <property name="debug" value="${debug}"/>
298
                        <property name="debuglevel" value="${debuglevel}"/>
299
                        <property name="encoding" value="ISO_8859_1"/>
300
                </ant>
301
                <ant dir="${jdbc}" target="batch-build" inheritAll="false">
302
                        <property name="debug" value="${debug}"/>
303
                        <property name="debuglevel" value="${debuglevel}"/>
304
                        <property name="encoding" value="ISO_8859_1"/>
305
                </ant>
306
                <ant dir="${cad}" target="batch-build" inheritAll="false">
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="${appcatalog}" target="batch-build" inheritAll="false">
312
                        <property name="debug" value="${debug}"/>
313
                        <property name="debuglevel" value="${debuglevel}"/>
314
                        <property name="encoding" value="ISO_8859_1"/>
315
                </ant>
316
                <ant dir="${catalog}" target="batch-build" inheritAll="false">
317
                        <property name="debug" value="${debug}"/>
318
                        <property name="debuglevel" value="${debuglevel}"/>
319
                        <property name="encoding" value="ISO_8859_1"/>
320
                </ant>
321
                <ant dir="${wcs}" target="batch-build" inheritAll="false">
322
                        <property name="debug" value="${debug}"/>
323
                        <property name="debuglevel" value="${debuglevel}"/>
324
                        <property name="encoding" value="ISO_8859_1"/>
325
                </ant>
326
                <ant dir="${wms}" target="batch-build" inheritAll="false">
327
                        <property name="debug" value="${debug}"/>
328
                        <property name="debuglevel" value="${debuglevel}"/>
329
                        <property name="encoding" value="ISO_8859_1"/>
330
                </ant>
331
                <ant dir="${dataloc}" target="batch-build" inheritAll="false">
332
                        <property name="debug" value="${debug}"/>
333
                        <property name="debuglevel" value="${debuglevel}"/>
334
                        <property name="encoding" value="ISO_8859_1"/>
335
                </ant>
336
                <ant dir="${geoprocessing}" target="batch-build" inheritAll="false">
337
                        <property name="debug" value="${debug}"/>
338
                        <property name="debuglevel" value="${debuglevel}"/>
339
                        <property name="encoding" value="ISO_8859_1"/>
340
                </ant>
341
                <ant dir="${georeferencing}" target="batch-build" inheritAll="false">
342
                        <property name="debug" value="${debug}"/>
343
                        <property name="debuglevel" value="${debuglevel}"/>
344
                        <property name="encoding" value="ISO_8859_1"/>
345
                </ant>
346
                <ant dir="${rastertools}" target="batch-build" inheritAll="false">
347
                        <property name="debug" value="${debug}"/>
348
                        <property name="debuglevel" value="${debuglevel}"/>
349
                        <property name="encoding" value="ISO_8859_1"/>
350
                </ant>
351
                <ant dir="${wfs}" target="batch-build" inheritAll="false">
352
                        <property name="debug" value="${debug}"/>
353
                        <property name="debuglevel" value="${debuglevel}"/>
354
                        <property name="encoding" value="ISO_8859_1"/>
355
                </ant>
356
                <ant dir="${centerview}" target="batch-build" inheritAll="false">
357
                        <property name="debug" value="${debug}"/>
358
                        <property name="debuglevel" value="${debuglevel}"/>
359
                        <property name="encoding" value="ISO_8859_1"/>
360
                        <property name="installBaseDir" value="${global.installBaseDir}"/>
361
                </ant>
362
                <ant dir="${scripting}" target="batch-build" inheritAll="false">
363
                        <property name="debug" value="${debug}"/>
364
                        <property name="debuglevel" value="${debuglevel}"/>
365
                        <property name="encoding" value="ISO_8859_1"/>
366
                        <property name="installBaseDir" value="${global.installBaseDir}"/>
367
                </ant>
368
        </target>
369
        
370
        <target name="clean-all"
371
                                depends="clean-base,clean-extensions"
372
                                description="clean up" />
373
        
374
        <target name="clean-base">
375
                <!-- Delete the ${build} and ${dist} directory trees -->
376
                <ant dir="${utiles}" target="clean"/>
377
                <ant dir="${i18n}" target="clean"/>
378
                <ant dir="${andami}" target="clean"/>
379
                <ant dir="${core}" target="clean"/>
380
                <ant dir="${cms}" target="clean"/>
381
                <ant dir="${driver}" target="clean"/>
382
                <ant dir="${remote}" target="clean"/>
383
                <ant dir="${gdbms}" target="clean"/>
384
                <ant dir="${fmap}" target="clean"/>
385
                <ant dir="${gvSIG}" target="clean"/>
386
                <ant dir="${libui}" target="clean"/>
387
        </target>
388
        
389
        <target name="clean-extensions">
390
                <ant dir="${event}" target="clean" inheritAll="false" />
391
                <ant dir="${libdwg}" target="clean" inheritAll="false" />
392
                <ant dir="${extdwg}" target="clean" inheritAll="false" />
393
                <ant dir="${jdbc}" target="clean" inheritAll="false" />
394
                <ant dir="${cad}" target="clean" inheritAll="false" />
395
                <ant dir="${appcatalog}" target="clean" inheritAll="false" />
396
                <ant dir="${catalog}" target="clean" inheritAll="false" />
397
                <ant dir="${wcs}" target="clean" inheritAll="false" />
398
                <ant dir="${wms}" target="clean" inheritAll="false" />
399
                <ant dir="${dataloc}" target="clean" inheritAll="false" />
400
                <ant dir="${geoprocessing}" target="clean" inheritAll="false" />
401
                <ant dir="${georeferencing}" target="clean" inheritAll="false" />
402
                <ant dir="${rastertools}" target="clean" inheritAll="false" />
403
                <ant dir="${wfs}" target="clean" inheritAll="false" />
404
                <ant dir="${scripting}" target="clean" inheritAll="false" />
405
                <ant dir="${centerview}" target="clean" inheritAll="false" />
406
        </target>
407

    
408
        <!-- Those targets don't compile, they just generate the jars and copy files to
409
        andami. The compilation is supposed to be done by Eclipse  -->
410
        <target name="install-all"
411
                                        depends="install-base,install-extensions"
412
                                        description="Generate jars and copy files to Andami for the whole application (gvSIG+libs+extensions). Compilation is supposed to be automatically done by Eclipse" />
413
                
414
        <target name="install-base"
415
                                description="Generate jars and copy files to Andami for the application (gvSIG+libs). Compilation is supposed to be automatically done by Eclipse" >
416
                <ant dir="${utiles}" inheritAll="false" />
417
                <ant dir="${i18n}" inheritAll="false" />
418
                <ant dir="${andami}" inheritAll="false" />
419
                <ant dir="${core}" inheritAll="false" />
420
                <ant dir="${cms}" inheritAll="false" />
421
                <ant dir="${driver}" inheritAll="false" />
422
                <ant dir="${remote}" inheritAll="false" />
423
                <ant dir="${gdbms}" inheritAll="false" />
424
                <ant dir="${fmap}" inheritAll="false" />
425
                <ant dir="${gvSIG}" inheritAll="false" />
426
                <!--                <ant dir="${libui}" inheritAll="false" /> -->
427
        </target>
428
                
429
        <target name="install-extensions" depends="base"
430
                        description="Generate jars and copy files to Andami for the extensions. Compilation is supposed to be automatically done by Eclipse" >
431
                <ant dir="${event}" inheritAll="false" />
432
                <ant dir="${libdwg}" inheritAll="false" />
433
                <ant dir="${extdwg}" inheritAll="false" />
434
                <ant dir="${jdbc}" inheritAll="false" />
435
                <ant dir="${cad}" inheritAll="false" />
436
                <ant dir="${appcatalog}" inheritAll="false" />
437
                <ant dir="${catalog}" inheritAll="false" />
438
                <ant dir="${wcs}" inheritAll="false" />
439
                <ant dir="${wms}" inheritAll="false" />
440
                <ant dir="${dataloc}" inheritAll="false" />
441
                <ant dir="${geoprocessing}" inheritAll="false" />
442
                <ant dir="${georeferencing}" inheritAll="false" />
443
                <ant dir="${rastertools}" inheritAll="false" />
444
                <ant dir="${wfs}" inheritAll="false" />
445
                <ant dir="${scripting}" inheritAll="false" />
446
                <ant dir="${centerview}" inheritAll="false" />        
447
        </target>
448

    
449
        
450
        
451
        <!-- The download targets are still no working well (or maybe not working at all...) -->
452
        <target name="download"
453
                        description="Not working yet. Downloads all the projects from the CVS HEAD"
454
                        depends="download-base, download-extensions">
455
        </target>
456

    
457
        <target name="download-base" description="Not working yet. It will download the base projects required to build gvSIG">
458
                <property name="downloadDir" value="tmp-download"/>
459
                <mkdir dir="${downloadDir}" />
460
                
461
                <!-- andami -->
462
                <cvs
463
                        dest="${downloadDir}"
464
                        package="gvSIG-project/frameworks/_fwAndami"
465
                        cvsRoot=":extssh:www.gvsig.org:/var/lib/cvs-gvSIG" />
466

    
467
                <move todir="${andami}">
468
                        <fileset dir="${downloadDir}/gvSIG-project/frameworks/_fwAndami"/>
469
                </move>
470
                
471
                <!-- we have to do the same for the rest of the projects -->
472
        </target>
473
        
474
        <target name="download-extensions" description="Not working yet. It will download the extensions">
475
        </target>
476

    
477
</project>
478