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