Revision 21347
trunk/libraries/libTopology/build.xml | ||
---|---|---|
19 | 19 |
<property name="andami" value="../_fwAndami"/> |
20 | 20 |
<property name="extensionsDir" location="${andami}/gvSIG/extensiones"/> |
21 | 21 |
<import file="../binaries/ant/utilities.xml"/> |
22 |
|
|
23 | 22 |
|
23 |
|
|
24 | 24 |
<target name="init"> |
25 | 25 |
<tstamp/> |
26 | 26 |
<echo> |
... | ... | |
28 | 28 |
</echo> |
29 | 29 |
</target> |
30 | 30 |
|
31 |
|
|
31 |
|
|
32 | 32 |
<target name="dist" depends="init, create-jar, move-to-andami" |
33 | 33 |
description="generate the distribution" > |
34 | 34 |
</target> |
35 |
|
|
35 |
|
|
36 | 36 |
<target name="batch-build" |
37 | 37 |
description="compile the sources, create the jar file" |
38 |
depends="compile,create-jar"> |
|
38 |
depends="compile,create-jar,move-to-andami">
|
|
39 | 39 |
</target> |
40 | 40 |
|
41 | 41 |
<target name="compile" description="compile the source" > |
... | ... | |
56 | 56 |
<jar jarfile="${dist}/${jarName}" basedir="." includes = "images/*" update="true" /> |
57 | 57 |
</target> |
58 | 58 |
|
59 |
|
|
59 |
|
|
60 | 60 |
<target name="move-to-fmap" description="Move jars and required libraries to fmap"> |
61 | 61 |
<copy todir="${dist}"> |
62 | 62 |
<fileset dir="./lib" includes="*.jar"/> |
... | ... | |
65 | 65 |
<fileset dir="${dist}" includes="**/**"/> |
66 | 66 |
</move> |
67 | 67 |
</target> |
68 |
|
|
68 |
|
|
69 | 69 |
<target name="move-to-andami" description="Move jars and required libraries to andami plugin directory"> |
70 | 70 |
<copy todir="${dist}"> |
71 | 71 |
<fileset dir="./lib" includes="*.jar"/> |
72 | 72 |
</copy> |
73 |
|
|
74 |
|
|
73 |
|
|
74 |
|
|
75 | 75 |
<move todir="${extensionsDir}/com.iver.cit.gvsig/lib/"> |
76 | 76 |
<fileset dir="${dist}" includes="**/**"/> |
77 | 77 |
</move> |
78 | 78 |
</target> |
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 | 84 |
<target name="clean" |
85 | 85 |
description="clean up" > |
86 | 86 |
<!-- Delete the ${build} and ${dist} directory trees --> |
87 | 87 |
<delete dir="${build}"/> |
88 | 88 |
<delete dir="${dist}"/> |
89 | 89 |
</target> |
90 |
|
|
90 |
|
|
91 | 91 |
<target name="run-tests" depends="batch-build"> |
92 | 92 |
<!-- |
93 | 93 |
<antcall target="generic-run-tests"> |
Also available in: Unified diff