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