svn-gvsig-desktop / trunk / extensions / extGeoreferencing / build.xml @ 5217
History | View | Annotate | Download (2.13 KB)
1 |
<project name="Generar extension en Andami para Georeferenciación" default="generate-without-source" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin de Georeferenciación 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="images" location="images"/> |
10 |
<property name="mainplugin" value="com.iver.cit.gvsig"/> |
11 |
<property name="plugin" value="org.gvsig.georeferencing"/> |
12 |
<property name="driverjar" value="georeferencing"/> |
13 |
<property name="extensionDir" location="../_fwAndami/gvSIG/extensiones"/> |
14 |
<property name="drivers-dir" location="${extensionDir}/${mainplugin}/drivers" /> |
15 |
|
16 |
<target name="init"> |
17 |
<!-- Create the time stamp -->
|
18 |
<tstamp/> |
19 |
<!-- Create the build directory structure used by compile -->
|
20 |
<mkdir dir="${build}"/> |
21 |
<mkdir dir="${dist}"/> |
22 |
<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
23 |
<buildnumber/> |
24 |
|
25 |
</target>
|
26 |
|
27 |
<target name="generate-without-source" |
28 |
description="generate the distribution without the source file"> |
29 |
|
30 |
<!-- Create the distribution directory -->
|
31 |
<mkdir dir="${dist}"/> |
32 |
<mkdir dir="${drivers-dir}/wcs" /> |
33 |
|
34 |
<!-- Jars de las extensiones -->
|
35 |
<jar jarfile="${dist}/${plugin}.jar" basedir="${build}" |
36 |
includes="org/gvsig/georeferencing/**"/> |
37 |
|
38 |
<copy file="config/config.xml" todir="${dist}"/> |
39 |
<copy file="config/plugin.dtd" todir="${dist}"/> |
40 |
<copy todir="${dist}"> |
41 |
<fileset dir="." includes="text*.properties"/> |
42 |
</copy>
|
43 |
<mkdir dir="${dist}/images" /> |
44 |
<copy todir="${dist}/images"> |
45 |
<fileset dir="images" includes="*"/> |
46 |
</copy>
|
47 |
|
48 |
<copy todir="${extensionDir}/${mainplugin}/images"> |
49 |
<fileset dir="images" includes="*Cursor.gif"/> |
50 |
</copy>
|
51 |
|
52 |
<move todir="${extensionDir}/${plugin}/"> |
53 |
<fileset dir="${dist}" includes="**/**"/> |
54 |
</move>
|
55 |
|
56 |
</target>
|
57 |
|
58 |
<target name="clean" |
59 |
description="clean up" > |
60 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
61 |
<delete dir="${dist}"/> |
62 |
</target>
|
63 |
</project>
|
64 |
|