svn-gvsig-desktop / branches / v2_0_0_prep / extensions / extAnimationGUI / build.xml @ 28239
History | View | Annotate | Download (2.22 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="com.iver.ai2.animationgui.gui" /> |
10 |
<property name="extension-dir" location="../_fwAndami/gvSIG/extensiones" /> |
11 |
<property name="logos-dir" location="../_fwAndami/theme" /> |
12 |
<property name="gvsig-lib" location="../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/lib" /> |
13 |
<!--property name="binaries-dir" location="../binaries" /-->
|
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 |
<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
21 |
<buildnumber /> |
22 |
|
23 |
</target>
|
24 |
|
25 |
<target name="generate-without-source" description="generate the distribution without the source file" depends=""> |
26 |
<!-- Create the distribution directory -->
|
27 |
<mkdir dir="${dist}" /> |
28 |
<mkdir dir="${dist}/lib" /> |
29 |
<mkdir dir="${dist}/binaries" /> |
30 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file
|
31 |
Except classes to be instantiated in core gvSIG -->
|
32 |
<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}" /> |
33 |
|
34 |
<copy todir="${dist}/lib/"> |
35 |
<fileset dir="lib/" includes="**/**" /> |
36 |
</copy>
|
37 |
<!-- Put in this .jar the classes to be instantiated in gvSIG -->
|
38 |
<copy file="config/config.xml" todir="${dist}" /> |
39 |
<copy file="config/about.htm" todir="${dist}" /> |
40 |
|
41 |
<copy todir="${dist}"> |
42 |
<fileset dir="config" includes="text*.properties" /> |
43 |
</copy>
|
44 |
<copy todir="${dist}/images"> |
45 |
<fileset dir="images/" includes="**/**" excludes="**/*.db" /> |
46 |
</copy>
|
47 |
|
48 |
<move todir="${extension-dir}/${plugin}/"> |
49 |
<fileset dir="${dist}" includes="**/**" /> |
50 |
</move>
|
51 |
</target>
|
52 |
|
53 |
<target name="copy-binaries"> |
54 |
<copy todir="${binaries-dir}"> |
55 |
<fileset dir="binaries/" includes="**" /> |
56 |
</copy>
|
57 |
</target>
|
58 |
|
59 |
<target name="debug-yes"> |
60 |
<property name="debug" value="on" /> |
61 |
<property name="debuglevel" value="lines, vars" /> |
62 |
</target>
|
63 |
|
64 |
</project>
|
65 |
|