svn-gvsig-desktop / tags / Root_v10alpha_tecnimap / extensions / extCAD / build.xml @ 40002
History | View | Annotate | Download (1.64 KB)
1 |
<project name="Generar extension en Andami" default="dist" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin de CAD |
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="com.iver.cit.gvsig.cad"/> |
10 |
<property name="extensionDir" location="../_fwAndami/gvSIG/extensiones"/> |
11 |
<property name="mainplugin" value="com.iver.cit.gvsig"/> |
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 |
|
18 |
</target>
|
19 |
|
20 |
|
21 |
<target name="compile" depends="init" |
22 |
description="compile the source " > |
23 |
</target>
|
24 |
|
25 |
<target name="dist" depends="compile" |
26 |
description="generate the distribution" > |
27 |
<!-- Create the distribution directory -->
|
28 |
<mkdir dir="${dist}"/> |
29 |
<copy todir="${extensionDir}/${mainplugin}/lib"> |
30 |
<fileset dir="./lib" includes="*.jar,*.zip"/> |
31 |
</copy>
|
32 |
<jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/> |
33 |
<copy file="config/config.xml" todir="${dist}"/> |
34 |
<copy todir="${dist}"> |
35 |
<fileset dir="." includes="text*.properties"/> |
36 |
</copy>
|
37 |
<copy todir="${dist}/images"> |
38 |
<fileset dir="images/" includes="*"/> |
39 |
</copy>
|
40 |
|
41 |
<move todir="${extensionDir}/${plugin}/"> |
42 |
<fileset dir="${dist}" includes="**/**"/> |
43 |
</move>
|
44 |
</target>
|
45 |
|
46 |
|
47 |
<target name="clean" |
48 |
description="clean up" > |
49 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
50 |
<delete dir="${build}"/> |
51 |
<delete dir="${dist}"/> |
52 |
</target>
|
53 |
</project>
|
54 |
|