svn-gvsig-desktop / trunk / prototypes / mobile / desktop / extensions / extExportMobile / build_javi.xml @ 19124
History | View | Annotate | Download (2.76 KB)
1 |
<project name="Generar extension en Andami" default="generate-without-source" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin de ejemplo 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="plugin" value="es.prodevelop.gvsig.exportMobile"/> |
10 |
<property name="extension-dir" location="C:/Archivos de programa/gvSIG_1.1final/bin/gvSIG/extensiones"/> |
11 |
<property name="install-tree-dir" location="C:/Archivos de programa/gvSIG_1.1final/bin/gvSIG/extensiones"/> |
12 |
|
13 |
<target name="init"> |
14 |
<!-- Create the time stamp -->
|
15 |
<tstamp/> |
16 |
<!-- Create the build directory structure used by compile -->
|
17 |
<mkdir dir="${build}"/> |
18 |
<mkdir dir="${dist}"/> |
19 |
<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
20 |
<buildnumber/> |
21 |
|
22 |
</target>
|
23 |
|
24 |
<target name="generate-without-source" description="generate the distribution without the source file" > |
25 |
<!-- Create the distribution directory -->
|
26 |
<mkdir dir="${dist}"/> |
27 |
|
28 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
29 |
<jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/> |
30 |
<copy file="config/config.xml" todir="${dist}"/> |
31 |
<copy todir="${dist}"> |
32 |
<fileset dir="." includes="text*.properties"/> |
33 |
</copy>
|
34 |
<copy todir="${dist}/images"> |
35 |
<fileset dir="images/" includes="*"/> |
36 |
</copy>
|
37 |
<move todir="${extension-dir}/${plugin}/"> |
38 |
<fileset dir="${dist}" includes="**/**"/> |
39 |
</move>
|
40 |
</target>
|
41 |
|
42 |
<target name="generate-install-tree-export-only" description="generate the install tree" > |
43 |
<!-- Create the distribution directory -->
|
44 |
<mkdir dir="${dist}"/> |
45 |
|
46 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
47 |
<jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/> |
48 |
<copy file="config/config.xml" todir="${dist}"/> |
49 |
<copy todir="${dist}"> |
50 |
<fileset dir="." includes="text*.properties"/> |
51 |
</copy>
|
52 |
<copy todir="${dist}/images"> |
53 |
<fileset dir="images/" includes="*"/> |
54 |
</copy>
|
55 |
<move todir="./install/bin/gvSIG/extensiones/${plugin}/"> |
56 |
<fileset dir="${dist}" includes="**/**"/> |
57 |
</move>
|
58 |
</target>
|
59 |
|
60 |
<!--
|
61 |
|
62 |
<target name="clean-install-tree-export-synchro">
|
63 |
<delete>
|
64 |
<fileset dir="./install/pub/">
|
65 |
<include name="*.zip"/>
|
66 |
</fileset>
|
67 |
<fileset dir="./install/export_installer/">
|
68 |
<include name="*.jar"/>
|
69 |
</fileset>
|
70 |
</delete>
|
71 |
<delete dir="./install/bin" />
|
72 |
<mkdir dir="./install/bin" />
|
73 |
<mkdir dir="./install/bin/gvSIG" />
|
74 |
<mkdir dir="./install/bin/gvSIG/extensiones" />
|
75 |
</target>
|
76 |
-->
|
77 |
|
78 |
</project>
|
79 |
|