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