svn-gvsig-desktop / branches / v10 / libraries / libJCRS / build.xml @ 9916
History | View | Annotate | Download (1.88 KB)
1 | 7581 | 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 | 7705 | dguerrero | <property name="plugin" value="jcrs"/> |
10 | 7581 | dguerrero | <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/> |
11 | 8627 | dguerrero | <property name="targetDir" location="../libFMap/lib" /> |
12 | 7183 | jlgomez | |
13 | 7581 | dguerrero | <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 | 7183 | jlgomez | |
24 | 7581 | dguerrero | <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 | 7603 | dguerrero | |
39 | 8627 | dguerrero | <!-- copy file="${dist}/${plugin}.jar" todir="lib/"/> -->
|
40 | <copy file="${dist}/${plugin}.jar" todir="${targetDir}"/> |
||
41 | <copy todir="${targetDir}"> |
||
42 | <fileset dir="./lib" includes="*.jar" /> |
||
43 | </copy>
|
||
44 | 8103 | dguerrero | <!-- <copy file="${dist}/${plugin}.jar" todir="../extJCRS/lib/"/> -->
|
45 | 7581 | dguerrero | </target>
|
46 | </project>
|
||
47 |