svn-gvsig-desktop / trunk / applications / appgvSIG / build_sources.xml @ 1555
History | View | Annotate | Download (3.04 KB)
1 |
<project name="Copiar las fuentes a un directorio" default="dist" basedir="."> |
---|---|
2 |
<description>
|
3 |
Copiar las fuentes a un directorio |
4 |
</description>
|
5 |
<!-- set global properties for this build -->
|
6 |
<property name="buildDate" value="${TSTAMP}"/> |
7 |
<property name="version" value="0.3"/> |
8 |
<property name="dist" location="d:/fjp/COPUT/instala_gvsig/fuentes"/> |
9 |
<property name="fmapdir" value="../FMAP 03"/> |
10 |
<property name="andamidir" value="../Andami"/> |
11 |
<property name="coreplugindir" value="../CorePlugin"/> |
12 |
<property name="makeZip" location="makeZip"/> |
13 |
<property name="zipName" value="src_gvSIG-${version}"/> |
14 |
|
15 |
<target name="init" depends="clean"> |
16 |
<!-- Create the time stamp -->
|
17 |
<tstamp/> |
18 |
|
19 |
</target>
|
20 |
|
21 |
|
22 |
|
23 |
<target name="dist" depends="init" |
24 |
description="generate the distribution" > |
25 |
<!-- Create the distribution directory -->
|
26 |
<mkdir dir="${dist}"/> |
27 |
<mkdir dir="${dist}/Andami"/> |
28 |
<mkdir dir="${dist}/Andami/src"/> |
29 |
<mkdir dir="${dist}/Andami/lib"/> |
30 |
<mkdir dir="${dist}/FMap"/> |
31 |
<mkdir dir="${dist}/FMap/src"/> |
32 |
<mkdir dir="${dist}/FMap/lib"/> |
33 |
<mkdir dir="${dist}/gvSIG"/> |
34 |
<mkdir dir="${dist}/gvSIG/src"/> |
35 |
<mkdir dir="${dist}/gvSIG/lib"/> |
36 |
<mkdir dir="${dist}/gvSIG/images"/> |
37 |
<mkdir dir="${dist}/CorePlugin/src"/> |
38 |
<mkdir dir="${dist}/CorePlugin/images"/> |
39 |
|
40 |
<!-- Put everything into the directory ${dist} -->
|
41 |
<copy todir="${dist}/Andami/lib"> |
42 |
<fileset dir="${andamidir}/lib" includes="*.jar,*.zip"/> |
43 |
</copy>
|
44 |
<copy todir="${dist}/FMap/lib"> |
45 |
<fileset dir="${fmapdir}/lib" includes="*.jar,*.zip"/> |
46 |
</copy>
|
47 |
<copy todir="${dist}/gvSIG/lib"> |
48 |
<fileset dir="./lib" includes="*.jar,*.zip"/> |
49 |
</copy>
|
50 |
<copy todir="${dist}/Andami/src"> |
51 |
<fileset dir="${andamidir}/src" includes="**/**"/> |
52 |
</copy>
|
53 |
<copy todir="${dist}/FMap/src"> |
54 |
<fileset dir="${fmapdir}/src" includes="**/**" /> |
55 |
</copy>
|
56 |
<copy todir="${dist}/gvSIG/src"> |
57 |
<fileset dir="./src" includes="**/**"/> |
58 |
</copy>
|
59 |
<copy todir="${dist}/gvSIG"> |
60 |
<fileset dir="." includes="text*.properties"/> |
61 |
</copy>
|
62 |
<copy todir="${dist}/gvSIG/images"> |
63 |
<fileset dir="./images/" includes="*"/> |
64 |
</copy>
|
65 |
<copy todir="${dist}/CorePlugin/src"> |
66 |
<fileset dir="./src" includes="**/**"/> |
67 |
</copy>
|
68 |
<copy todir="${dist}/CorePlugin"> |
69 |
<fileset dir="." includes="text*.properties"/> |
70 |
</copy>
|
71 |
<copy todir="${dist}/CorePlugin/images"> |
72 |
<fileset dir="./images/" includes="*"/> |
73 |
</copy>
|
74 |
|
75 |
<!-- BORRAMOS EL DIRECTIORIO DE EDICIÓN (PROVISIONAL) -->
|
76 |
<delete dir="${dist}/FMap/src/com/iver/cit/gvsig/fmap/edition"/> |
77 |
|
78 |
</target>
|
79 |
|
80 |
<target name="makeZip" |
81 |
description="Genera un zip con todas las fuentes" |
82 |
depends="dist"> |
83 |
<zip destfile="${dist}/${zipName}.zip" basedir="${dist}" /> |
84 |
<!-- <delete dir="${dist}"/> -->
|
85 |
</target>
|
86 |
|
87 |
<target name="clean" |
88 |
description="clean up" > |
89 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
90 |
<delete dir="${dist}"/> |
91 |
</target>
|
92 |
</project>
|
93 |
|