Revision 20535
branches/v10/libraries/libJCRS/build.xml | ||
---|---|---|
1 |
<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="jcrs"/> |
|
10 |
<property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/> |
|
11 |
<property name="targetDir" location="../libFMap/lib" /> |
|
12 |
|
|
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="${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 |
<!-- <copy file="${dist}/${plugin}.jar" todir="../extJCRS/lib/"/> --> |
|
45 |
</target> |
|
46 |
</project> |
|
47 |
|
|
48 |
|
|
0 | 49 |
Also available in: Unified diff