root / trunk / libraries / libJCRS / build.xml @ 7705
History | View | Annotate | Download (1.93 KB)
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 |
|
12 |
<target name="init"> |
13 |
<!-- Create the time stamp -->
|
14 |
<tstamp/> |
15 |
<!-- Create the build directory structure used by compile -->
|
16 |
<mkdir dir="${build}"/> |
17 |
<mkdir dir="${dist}"/> |
18 |
<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
19 |
<buildnumber/> |
20 |
|
21 |
</target>
|
22 |
|
23 |
<target name="compile" |
24 |
description="compile the source" > |
25 |
<!-- Compile the Java code from ${src} to ${bin} -->
|
26 |
<javac srcdir="${src}" |
27 |
destdir="${build}" |
28 |
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"/> |
29 |
</target>
|
30 |
|
31 |
<target name="generate-without-source" description="generate the distribution without the source file" > |
32 |
<!-- Create the distribution directory -->
|
33 |
<mkdir dir="${dist}"/> |
34 |
|
35 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
36 |
<jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/> |
37 |
|
38 |
<!--<copy file="config/config.xml" todir="${dist}"/> -->
|
39 |
|
40 |
<copy file="${dist}/${plugin}.jar" todir="lib/"/> |
41 |
<copy file="${dist}/${plugin}.jar" todir="../libFMap/lib/"/> |
42 |
<!-- <copy todir="${dist}">
|
43 |
<fileset dir="config" includes="text*.properties"/>
|
44 |
</copy>
|
45 |
<move todir="${extension-dir}/${plugin}/">
|
46 |
<fileset dir="${dist}" includes="**/**"/>
|
47 |
</move>-->
|
48 |
</target>
|
49 |
</project>
|
50 |
|
51 |
|