svn-gvsig-desktop / tags / v2_0_0_Build_2003 / extensions / extGeocoding / build.xml @ 44029
History | View | Annotate | Download (1.59 KB)
1 | 26843 | vsanjaime | <project name="extGeocoding" default="generate-without-source" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Install the Geocoding plugin |
||
4 | </description>
|
||
5 | |||
6 | <!-- set global properties for this build -->
|
||
7 | <property name="src" location="src" /> |
||
8 | <property name="build" location="bin" /> |
||
9 | <property name="dist" location="dist" /> |
||
10 | <property name="plugin" value="org.gvsig.geocoding" /> |
||
11 | <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones" /> |
||
12 | <import file="../binaries/ant/utilities.xml" /> |
||
13 | |||
14 | <target name="init"> |
||
15 | <!-- Create the time stamp -->
|
||
16 | <tstamp /> |
||
17 | <echo>
|
||
18 | Compiling ${ant.project.name}...</echo>
|
||
19 | </target>
|
||
20 | |||
21 | <target name="generate-without-source" description="generate the distribution without the source file"> |
||
22 | |||
23 | <!-- Create the distribution directory -->
|
||
24 | <mkdir dir="${dist}" /> |
||
25 | <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
||
26 | <jar jarfile="${dist}/${plugin}.jar" basedir="${build}" /> |
||
27 | <copy file="config/config.xml" todir="${dist}" /> |
||
28 | <copy file="about/extGeocoding-about.html" todir="${dist}" /> |
||
29 | <copy todir="${dist}"> |
||
30 | <fileset dir="config" includes="text*.properties" /> |
||
31 | <fileset dir="lib" includes="**/**" /> |
||
32 | </copy>
|
||
33 | <copy todir="${dist}/about"> |
||
34 | <fileset dir="about/" includes="*" /> |
||
35 | </copy>
|
||
36 | <copy todir="${dist}/images"> |
||
37 | <fileset dir="images/" includes="**/**" /> |
||
38 | </copy>
|
||
39 | <copy todir="${dist}/templates"> |
||
40 | <fileset dir="templates" includes="*" /> |
||
41 | </copy>
|
||
42 | <move todir="${extension-dir}/${plugin}/"> |
||
43 | <fileset dir="${dist}" includes="**/**" /> |
||
44 | </move>
|
||
45 | </target>
|
||
46 | </project> |