svn-gvsig-desktop / branches / v2_0_0_prep / extensions / extMetadata / build.xml @ 28711
History | View | Annotate | Download (1.53 KB)
1 | 23727 | abeltran | <project name="extMetadata" default="generate-without-source" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Instala la extension de Metadatos. |
||
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="org.gvsig.metadata.extension"/> |
||
10 | <property name="extension-dir" location="${GVSIG_INSTALL_DIR}/bin/gvSIG/extensiones"/> |
||
11 | |||
12 | <target name="init"> |
||
13 | <!-- Create the time stamp -->
|
||
14 | <tstamp/> |
||
15 | <echo>
|
||
16 | Compiling ${ant.project.name}...</echo>
|
||
17 | <!-- Create the build directory structure used by compile -->
|
||
18 | <mkdir dir="${build}"/> |
||
19 | <mkdir dir="${dist}"/> |
||
20 | </target>
|
||
21 | |||
22 | <target name="generate-without-source" description="generate the distribution without the source file" > |
||
23 | <!-- Create the distribution directory -->
|
||
24 | <mkdir dir="${dist}"/> |
||
25 | |||
26 | <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
||
27 | <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/> |
||
28 | <copy file="config/config.xml" todir="${dist}"/> |
||
29 | <copy todir="${dist}"> |
||
30 | <fileset dir="config" includes="text*.properties"/> |
||
31 | </copy>
|
||
32 | 23808 | abeltran | <copy todir="${dist}"> |
33 | <fileset dir="lib" includes="*.jar"/> |
||
34 | </copy>
|
||
35 | 24539 | abeltran | <copy todir="${dist}/images"> |
36 | <fileset dir="images/" includes="*"/> |
||
37 | </copy>
|
||
38 | 23727 | abeltran | <move todir="${extension-dir}/${plugin}/"> |
39 | <fileset dir="${dist}" includes="**/**"/> |
||
40 | </move>
|
||
41 | |||
42 | </target>
|
||
43 | |||
44 | </project> |