svn-gvsig-desktop / tags / Root_gvSIG_GisPlanet / applications / appgvSIG / build_sources.xml @ 19164
History | View | Annotate | Download (5.02 KB)
1 | 1316 | fjp | <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 | 1555 | fjp | <property name="coreplugindir" value="../CorePlugin"/> |
12 | 1564 | fjp | <property name="gdbmsdir" value="../GDBMS"/> |
13 | <property name="drivermanagerdir" value="../DriverManager"/> |
||
14 | 1316 | fjp | <property name="makeZip" location="makeZip"/> |
15 | 1509 | fjp | <property name="zipName" value="src_gvSIG-${version}"/> |
16 | 1316 | fjp | |
17 | <target name="init" depends="clean"> |
||
18 | <!-- Create the time stamp -->
|
||
19 | <tstamp/> |
||
20 | |||
21 | </target>
|
||
22 | |||
23 | |||
24 | |||
25 | <target name="dist" depends="init" |
||
26 | description="generate the distribution" > |
||
27 | <!-- Create the distribution directory -->
|
||
28 | <mkdir dir="${dist}"/> |
||
29 | <mkdir dir="${dist}/Andami"/> |
||
30 | <mkdir dir="${dist}/Andami/src"/> |
||
31 | <mkdir dir="${dist}/Andami/lib"/> |
||
32 | 1564 | fjp | <mkdir dir="${dist}/FMap 03"/> |
33 | <mkdir dir="${dist}/FMap 03/src"/> |
||
34 | <mkdir dir="${dist}/FMap 03/lib"/> |
||
35 | 1316 | fjp | <mkdir dir="${dist}/gvSIG"/> |
36 | <mkdir dir="${dist}/gvSIG/src"/> |
||
37 | <mkdir dir="${dist}/gvSIG/lib"/> |
||
38 | 1564 | fjp | <mkdir dir="${dist}/gvSIG/config"/> |
39 | 1316 | fjp | <mkdir dir="${dist}/gvSIG/images"/> |
40 | 1555 | fjp | <mkdir dir="${dist}/CorePlugin/src"/> |
41 | <mkdir dir="${dist}/CorePlugin/images"/> |
||
42 | 1564 | fjp | <mkdir dir="${dist}/GDBMS"/> |
43 | <mkdir dir="${dist}/GDBMS/src"/> |
||
44 | <mkdir dir="${dist}/GDBMS/lib"/> |
||
45 | <mkdir dir="${dist}/GDBMS/docs"/> |
||
46 | <mkdir dir="${dist}/GDBMS/grammar"/> |
||
47 | <mkdir dir="${dist}/DriverManager"/> |
||
48 | <mkdir dir="${dist}/DriverManager/src"/> |
||
49 | 1555 | fjp | |
50 | 1316 | fjp | <!-- Put everything into the directory ${dist} -->
|
51 | <copy todir="${dist}/Andami/lib"> |
||
52 | <fileset dir="${andamidir}/lib" includes="*.jar,*.zip"/> |
||
53 | </copy>
|
||
54 | 1564 | fjp | <copy todir="${dist}/Andami/src"> |
55 | <fileset dir="${andamidir}/src" includes="**/**"/> |
||
56 | </copy>
|
||
57 | <copy todir="${dist}/Andami"> |
||
58 | <fileset dir="${andamidir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
||
59 | </copy>
|
||
60 | |||
61 | <copy todir="${dist}/FMap 03/lib"> |
||
62 | 1316 | fjp | <fileset dir="${fmapdir}/lib" includes="*.jar,*.zip"/> |
63 | </copy>
|
||
64 | 1564 | fjp | <copy todir="${dist}/FMap 03/src"> |
65 | <fileset dir="${fmapdir}/src" includes="**/**" /> |
||
66 | </copy>
|
||
67 | <copy todir="${dist}/FMap 03"> |
||
68 | <fileset dir="${fmapdir}" includes="*.xml, *.classpath, *.project" /> |
||
69 | </copy>
|
||
70 | |||
71 | <copy todir="${dist}/gvSIG/config"> |
||
72 | <fileset dir="./config" includes="*.*"/> |
||
73 | </copy>
|
||
74 | 1316 | fjp | <copy todir="${dist}/gvSIG/lib"> |
75 | <fileset dir="./lib" includes="*.jar,*.zip"/> |
||
76 | 1564 | fjp | </copy>
|
77 | 1316 | fjp | <copy todir="${dist}/gvSIG/src"> |
78 | <fileset dir="./src" includes="**/**"/> |
||
79 | </copy>
|
||
80 | <copy todir="${dist}/gvSIG"> |
||
81 | 1564 | fjp | <fileset dir="." includes="*.xml, *.classpath, *.project, text*.properties"/> |
82 | 1316 | fjp | </copy>
|
83 | <copy todir="${dist}/gvSIG/images"> |
||
84 | <fileset dir="./images/" includes="*"/> |
||
85 | </copy>
|
||
86 | 1564 | fjp | |
87 | 1555 | fjp | <copy todir="${dist}/CorePlugin/src"> |
88 | 1564 | fjp | <fileset dir="${coreplugindir}/src" includes="**/**"/> |
89 | 1555 | fjp | </copy>
|
90 | <copy todir="${dist}/CorePlugin"> |
||
91 | 1564 | fjp | <fileset dir="${coreplugindir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
92 | 1555 | fjp | </copy>
|
93 | <copy todir="${dist}/CorePlugin/images"> |
||
94 | 1564 | fjp | <fileset dir="${coreplugindir}/images/" includes="*"/> |
95 | 1555 | fjp | </copy>
|
96 | 1564 | fjp | |
97 | <copy todir="${dist}/GDBMS"> |
||
98 | <fileset dir="${gdbmsdir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
||
99 | </copy>
|
||
100 | <copy todir="${dist}/GDBMS/src"> |
||
101 | <fileset dir="${gdbmsdir}/src/" includes="**/**"/> |
||
102 | </copy>
|
||
103 | <copy todir="${dist}/GDBMS/lib"> |
||
104 | <fileset dir="${gdbmsdir}/lib/" includes="*"/> |
||
105 | </copy>
|
||
106 | <copy todir="${dist}/GDBMS/docs"> |
||
107 | <fileset dir="${gdbmsdir}/docs/" includes="*"/> |
||
108 | </copy>
|
||
109 | <copy todir="${dist}/GDBMS/grammar"> |
||
110 | <fileset dir="${gdbmsdir}/grammar/" includes="*"/> |
||
111 | </copy>
|
||
112 | |||
113 | <copy todir="${dist}/DriverManager"> |
||
114 | <fileset dir="${drivermanagerdir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
||
115 | </copy>
|
||
116 | <copy todir="${dist}/DriverManager/src"> |
||
117 | <fileset dir="${drivermanagerdir}/src/" includes="**/**"/> |
||
118 | </copy>
|
||
119 | 1555 | fjp | |
120 | 1316 | fjp | <!-- BORRAMOS EL DIRECTIORIO DE EDICIÓN (PROVISIONAL) -->
|
121 | <delete dir="${dist}/FMap/src/com/iver/cit/gvsig/fmap/edition"/> |
||
122 | |||
123 | </target>
|
||
124 | |||
125 | <target name="makeZip" |
||
126 | description="Genera un zip con todas las fuentes" |
||
127 | depends="dist"> |
||
128 | <zip destfile="${dist}/${zipName}.zip" basedir="${dist}" /> |
||
129 | <!-- <delete dir="${dist}"/> -->
|
||
130 | </target>
|
||
131 | |||
132 | <target name="clean" |
||
133 | description="clean up" > |
||
134 | <!-- Delete the ${build} and ${dist} directory trees -->
|
||
135 | 1564 | fjp | <delete dir="${dist}/Andami"/> |
136 | <delete dir="${dist}/CorePlugin"/> |
||
137 | <delete dir="${dist}/FMap 03"/> |
||
138 | <delete dir="${dist}/gvSIG"/> |
||
139 | <delete dir="${dist}/GDBMS"/> |
||
140 | <delete file="${dist}/${zipName}.zip" /> |
||
141 | 1316 | fjp | </target>
|
142 | </project>
|