svn-gvsig-desktop / tags / gvsig_sextante-0_3_0-1232 / extensions / extMeasureGeometry / build.xml @ 31434
History | View | Annotate | Download (1.57 KB)
1 | 4796 | caballero | <project name="Generar extension en Andami" default="generate-without-source" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Instala el plugin de Centrar la Vista sobre un punto en Andami. |
||
4 | </description>
|
||
5 | <!-- set global properties for this build -->
|
||
6 | <property name="src" location="src"/> |
||
7 | <property name="bin" location="bin"/> |
||
8 | <property name="doc" location="doc"/> |
||
9 | <property name="dist" location="dist"/> |
||
10 | <property name="without_src" location="without_src"/> |
||
11 | <property name="plugin" value="com.iver.gvsig.extMeasureGeometry"/> |
||
12 | <property name="mainplugin" value="com.iver.cit.gvsig"/> |
||
13 | <property name="extensionDir" location="../_fwAndami/gvSIG/extensiones"/> |
||
14 | <property name="drivers-dir" location="${extensionDir}/${mainplugin}/drivers" /> |
||
15 | |||
16 | <property name="build" location="bin"/> |
||
17 | <target name="init"> |
||
18 | <!-- Create the time stamp -->
|
||
19 | <tstamp/> |
||
20 | </target>
|
||
21 | |||
22 | 5715 | fjp | <target name="generate-without-source" description="generate the distribution without the source file" > |
23 | 4796 | caballero | <!-- Create the distribution directory -->
|
24 | <mkdir dir="${without_src}"/> |
||
25 | |||
26 | <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
||
27 | <jar jarfile="${without_src}/${plugin}.jar" basedir="${bin}"/> |
||
28 | <copy file="config/config.xml" todir="${without_src}"/> |
||
29 | <copy todir="${without_src}"> |
||
30 | <fileset dir="." includes="text*.properties"/> |
||
31 | </copy>
|
||
32 | <copy todir="${without_src}/images"> |
||
33 | <fileset dir="images/" includes="*"/> |
||
34 | </copy>
|
||
35 | <move todir="${extensionDir}/${plugin}/"> |
||
36 | <fileset dir="${without_src}" includes="**/**"/> |
||
37 | </move>
|
||
38 | </target>
|
||
39 | |||
40 | </project>
|