root / trunk / extensions / extJCRS / build.xml @ 9210
History | View | Annotate | Download (2.18 KB)
1 | 7705 | dguerrero | <project name="Generar extension en Andami" default="generate-without-source" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Instala el plugin de JCrs 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="plugin" value="org.gvsig.crs"/> |
||
10 | <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/> |
||
11 | 7736 | dguerrero | <property name="andami-dir" location="../_fwAndami"/> |
12 | 7705 | dguerrero | |
13 | <target name="init"> |
||
14 | <!-- Create the time stamp -->
|
||
15 | <tstamp/> |
||
16 | <!-- Create the build directory structure used by compile -->
|
||
17 | <mkdir dir="${build}"/> |
||
18 | <mkdir dir="${dist}"/> |
||
19 | <!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
||
20 | <buildnumber/> |
||
21 | |||
22 | </target>
|
||
23 | |||
24 | <target name="compile" |
||
25 | description="compile the source" > |
||
26 | <!-- Compile the Java code from ${src} to ${bin} -->
|
||
27 | <javac srcdir="${src}" |
||
28 | destdir="${build}" |
||
29 | classpath="${extension-dir}/com.iver.cit.gvsig/lib/fmap.jar:${extension-dir}/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.jar:../FMap/lib/cms.jar:../Andami/lib/iver-utiles.jar:../FMap/lib/gdbms-0.8-SNAPSHOT.jar:../Andami/andami.jar"/> |
||
30 | </target>
|
||
31 | |||
32 | <target name="generate-without-source" description="generate the distribution without the source file" > |
||
33 | <!-- Create the distribution directory -->
|
||
34 | <mkdir dir="${dist}"/> |
||
35 | |||
36 | <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
||
37 | <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/> |
||
38 | |||
39 | <copy file="config/config.xml" todir="${dist}"/> |
||
40 | |||
41 | <copy file="${dist}/${plugin}.jar" todir="lib/"/> |
||
42 | <copy todir="${dist}"> |
||
43 | <fileset dir="config" includes="text*.properties"/> |
||
44 | 8480 | jlgomez | <fileset dir="config" includes="db_epsg.*"/> |
45 | <fileset dir="config" includes="db_iau2000.*"/> |
||
46 | </copy>
|
||
47 | 7705 | dguerrero | <move todir="${extension-dir}/${plugin}/"> |
48 | <fileset dir="${dist}" includes="**/**"/> |
||
49 | </move>
|
||
50 | 8548 | dguerrero | |
51 | <mkdir dir="${extension-dir}/${plugin}/data"/> |
||
52 | <copy todir="${extension-dir}/${plugin}/data"> |
||
53 | <fileset dir="data" includes="**/**"/> |
||
54 | </copy>
|
||
55 | |||
56 | 7705 | dguerrero | </target>
|
57 | </project>
|
||
58 |