root / trunk / libraries / libRaster / build.xml @ 12169
History | View | Annotate | Download (2.76 KB)
1 |
<project name="Parte raster de FMap" default="generate-without-source" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin en Andami |
4 |
</description>
|
5 |
<!-- set global properties for this build -->
|
6 |
<property name="src" location="src"/> |
7 |
<property name="build" location="bin"/> |
8 |
<property name="dist" location="dist"/> |
9 |
<property name="lib" location="lib" /> |
10 |
<property name="mainplugin" value="com.iver.cit.gvsig"/> |
11 |
<property name="andami" location="../_fwAndami"/> |
12 |
<property name="extensionsDir" location="${andami}/gvSIG/extensiones"/> |
13 |
<property name="drivers-dir" location="${extensionsDir}/${mainplugin}/drivers" /> |
14 |
<property name="lib-dir" location="${extensionsDir}/${mainplugin}/lib"/> |
15 |
<property name="jarName" location="gvRaster" /> |
16 |
<property name="andamiLibs" location="${andami}/lib" /> |
17 |
<property name="andamiJar" location="${andami}/andami.jar"/> |
18 |
<property name="fmapLibs" location="../libFMap/lib" /> |
19 |
<property name="gvsigJar" location="${extensionsDir}/${mainplugin}/lib/${mainplugin}.jar"/> |
20 |
<property name="compile-classpath" value="${andamiJar}:${gvsigJar}:${andamiLibs}/beans.jar:${andamiLibs}/castor-0.9.5.3-xml.jar:${fmapLibs}/cms.jar:${fmapLibs}/driver-manager-1.1.jar:${fmapLibs}/fmap.jar:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${lib}/gt2-wms.jar:${andamiLibs}/iver-utiles.jar:${fmapLibs}/jts-1.7.jar:${fmapLibs}/kxml2.jar:${andamiLibs}/log4j-1.2.8.jar:${fmapLibs}/remote-clients.jar:${andamiLibs}/tempFileManager.jar" /> |
21 |
<!-- ${fmapLibs}/geoapi-2.0.jar:${fmapLibs}/gt2-main.jar -->
|
22 |
|
23 |
<target name="init"> |
24 |
<!-- Create the time stamp -->
|
25 |
<tstamp/> |
26 |
<!-- Create the build directory structure used by compile -->
|
27 |
<mkdir dir="${build}"/> |
28 |
<mkdir dir="${dist}"/> |
29 |
|
30 |
</target>
|
31 |
|
32 |
<target name="generate-without-source" |
33 |
description="generate the distribution without the source file" |
34 |
depends="gdal"> |
35 |
<!-- Create the distribution directory -->
|
36 |
<mkdir dir="${dist}"/> |
37 |
|
38 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
39 |
<jar jarfile="${jarName}.jar" basedir="${build}" includes="org/gvsig/raster/**"/> |
40 |
|
41 |
<copy file="${jarName}.jar" todir="${lib-dir}"/> |
42 |
<copy file="${jarName}.jar" todir="${fmapLibs}"/> |
43 |
|
44 |
<copy todir="${lib-dir}"> |
45 |
<fileset dir="./lib" includes="*.jar"/> |
46 |
<fileset dir="." includes=".keystore"/> |
47 |
</copy>
|
48 |
<copy todir="${fmapLibs}/"> |
49 |
<fileset dir="." includes="${jarName}.jar"/> |
50 |
</copy>
|
51 |
|
52 |
</target>
|
53 |
|
54 |
<target name="gdal" depends="" description="Genera el jar del driver de gdal"> |
55 |
<mkdir dir="${drivers-dir}/gdal" /> |
56 |
<jar jarfile="${drivers-dir}/gdal/gdal.jar" basedir="./bin" includes="org/gvsig/raster/driver/gdal/**" /> |
57 |
</target>
|
58 |
|
59 |
<target name="clean" description="clean up" > |
60 |
<delete dir="${dist}"/> |
61 |
<delete dir="${build}"/> |
62 |
</target>
|
63 |
</project>
|
64 |
|