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