svn-gvsig-desktop / tags / v2_0_Build_1211 / extensions / extGPS / build.xml @ 37664
History | View | Annotate | Download (1.82 KB)
1 |
<project name="Generar extension en Andami" 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="mainplugin" value="com.iver.cit.gvsig"/> |
10 |
<property name="plugin" value="org.gvsig.gps"/> |
11 |
<property name="gvsiglibjar" value="gvsig-gps"/> |
12 |
<property name="extensionDir" location="../_fwAndami/gvSIG/extensiones"/> |
13 |
<property name="drivers-dir" location="${extensionDir}/${mainplugin}/drivers" /> |
14 |
<property name="lib-dir" location="${extensionDir}/${mainplugin}/lib"/> |
15 |
<target name="init"> |
16 |
<!-- Create the time stamp -->
|
17 |
<tstamp/> |
18 |
<!-- Create the build directory structure used by compile -->
|
19 |
<mkdir dir="${build}"/> |
20 |
<mkdir dir="${dist}"/> |
21 |
|
22 |
</target>
|
23 |
|
24 |
<target name="generate-without-source" |
25 |
description="generate the distribution without the source file"> |
26 |
<!-- Create the distribution directory -->
|
27 |
<mkdir dir="${dist}"/> |
28 |
|
29 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
30 |
<jar jarfile="${dist}/${plugin}.jar" basedir="${build}" includes="org/gvsig/**/**" |
31 |
excludes="com/iver/cit/gvsig/fmap/**" |
32 |
/>
|
33 |
|
34 |
<copy file="config/config.xml" todir="${dist}"/> |
35 |
|
36 |
<copy todir="${dist}"> |
37 |
<fileset dir="config" includes="text*.properties"/> |
38 |
</copy>
|
39 |
<copy todir="${lib-dir}"> |
40 |
<fileset dir="lib" includes="RXTXcomm.jar"/> |
41 |
</copy>
|
42 |
<move todir="${extensionDir}/${plugin}/"> |
43 |
<fileset dir="${dist}" includes="**/**"/> |
44 |
</move>
|
45 |
|
46 |
</target>
|
47 |
<target name="clean" description="clean up" > |
48 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
49 |
<delete dir="${dist}"/> |
50 |
</target>
|
51 |
</project>
|
52 |
|