svn-gvsig-desktop / tmp / trunk / cliente / WorkSpace_WPSClient / extWPSCallejero / build.xml @ 26497
History | View | Annotate | Download (2.09 KB)
1 |
<project name="Generar extension wps en Andami" default="generate-without-source" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin WPSCallejeros |
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="plugin" value="es.logex.gvsig.wps"/> |
11 |
<property name="GVSIG_INSTALL_DIR" value="../../gvSIG_1.1.2" /> |
12 |
<property name="andami-dir" location="${GVSIG_INSTALL_DIR}/bin"/> |
13 |
<property name="extension-dir" location="${GVSIG_INSTALL_DIR}/bin/gvSIG/extensiones"/> |
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" description="generate the distribution without the source file" > |
27 |
<!-- Create the distribution directory -->
|
28 |
<mkdir dir="${dist}" /> |
29 |
<mkdir dir="${dist}/lib"/> |
30 |
<mkdir dir="${dist}/leyendas"/> |
31 |
<mkdir dir="${dist}/images"/> |
32 |
<buildnumber file="build.number"/> |
33 |
|
34 |
<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}"/> |
35 |
<copy file="config/config.xml" todir="${dist}"/> |
36 |
<copy file="build.number" todir="${dist}"/> |
37 |
<copy file="config/about.htm" todir="${dist}"/> |
38 |
|
39 |
|
40 |
<!-- copiar las librerÃas usadas por el plugin al lib de la extensión
|
41 |
-->
|
42 |
<copy todir="${dist}/lib"> |
43 |
<fileset dir="lib" includes="*.*"/> |
44 |
</copy>
|
45 |
|
46 |
<copy todir="${dist}"> |
47 |
<fileset dir="." includes="text*.properties"/> |
48 |
</copy>
|
49 |
|
50 |
<copy todir="${dist}/leyendas"> |
51 |
<fileset dir="leyendas" includes = "*"/> |
52 |
</copy>
|
53 |
|
54 |
<copy todir="${dist}/images"> |
55 |
<fileset dir="images" includes = "*"/> |
56 |
</copy>
|
57 |
|
58 |
<move todir="${extension-dir}/${plugin}/"> |
59 |
<fileset dir="${dist}" includes="**/**"/> |
60 |
</move>
|
61 |
</target>
|
62 |
</project>
|
63 |
|
64 |
|