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