svn-gvsig-desktop / branches / v10 / applications / appgvSIG / build_sources.xml @ 11952
History | View | Annotate | Download (7.87 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.5"/> |
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="gdbmsdir" value="../GDBMS"/> |
13 |
<property name="jdbcspatialdir" value="../gvSIG_JDBC"/> |
14 |
<property name="arcsdedir" value="../gvSIG_SDE"/> |
15 |
<property name="wmsdir" value="../gvSIG_WMS"/> |
16 |
<property name="wfsdir" value="../gvSIG_WFS"/> |
17 |
<property name="wcsdir" value="../gvSIG WCSClient"/> |
18 |
<property name="WMSClientdir" value="../WMSClient"/> |
19 |
<property name="drivermanagerdir" value="../DriverManager"/> |
20 |
<property name="exampledir" value="../Ejemplo"/> |
21 |
<property name="makeZip" location="makeZip"/> |
22 |
<property name="zipName" value="src_gvSIG-${version}"/> |
23 |
|
24 |
<target name="init" depends="clean"> |
25 |
<!-- Create the time stamp -->
|
26 |
<tstamp/> |
27 |
|
28 |
</target>
|
29 |
|
30 |
|
31 |
|
32 |
<target name="dist" depends="init" |
33 |
description="generate the distribution" > |
34 |
<!-- Create the distribution directory -->
|
35 |
<mkdir dir="${dist}"/> |
36 |
<mkdir dir="${dist}/Andami"/> |
37 |
<mkdir dir="${dist}/Andami/src"/> |
38 |
<mkdir dir="${dist}/Andami/lib"/> |
39 |
<mkdir dir="${dist}/FMap"/> |
40 |
<mkdir dir="${dist}/FMap/src"/> |
41 |
<mkdir dir="${dist}/FMap/lib"/> |
42 |
<mkdir dir="${dist}/gvSIG"/> |
43 |
<mkdir dir="${dist}/gvSIG/src"/> |
44 |
<mkdir dir="${dist}/gvSIG/lib"/> |
45 |
<mkdir dir="${dist}/gvSIG/config"/> |
46 |
<mkdir dir="${dist}/gvSIG/images"/> |
47 |
<mkdir dir="${dist}/CorePlugin/src"/> |
48 |
<mkdir dir="${dist}/CorePlugin/images"/> |
49 |
<!-- <mkdir dir="${dist}/GDBMS"/>
|
50 |
<mkdir dir="${dist}/GDBMS/src"/>
|
51 |
<mkdir dir="${dist}/GDBMS/lib"/>
|
52 |
<mkdir dir="${dist}/GDBMS/conf"/>
|
53 |
<mkdir dir="${dist}/GDBMS/target"/> -->
|
54 |
<mkdir dir="${dist}/DriverManager"/> |
55 |
<mkdir dir="${dist}/DriverManager/src"/> |
56 |
|
57 |
<!-- <mkdir dir="${dist}/gvSIG_JDBC"/>
|
58 |
<mkdir dir="${dist}/gvSIG_JDBC/src"/>
|
59 |
<mkdir dir="${dist}/gvSIG_JDBC/config"/>
|
60 |
|
61 |
<mkdir dir="${dist}/gvSIG_SDE"/>
|
62 |
<mkdir dir="${dist}/gvSIG_SDE/src"/>
|
63 |
<mkdir dir="${dist}/gvSIG_SDE/config"/>
|
64 |
<mkdir dir="${dist}/gvSIG_SDE/lib"/>
|
65 |
|
66 |
<mkdir dir="${dist}/gvSIG_WFS"/>
|
67 |
<mkdir dir="${dist}/gvSIG_WFS/src"/>
|
68 |
<mkdir dir="${dist}/gvSIG_WFS/config"/> -->
|
69 |
|
70 |
<mkdir dir="${dist}/gvSIG_WMS"/> |
71 |
<mkdir dir="${dist}/gvSIG_WMS/src"/> |
72 |
<mkdir dir="${dist}/gvSIG_WMS/config"/> |
73 |
|
74 |
<mkdir dir="${dist}/gvSIG WCSClient"/> |
75 |
<mkdir dir="${dist}/gvSIG WCSClient/src"/> |
76 |
<mkdir dir="${dist}/gvSIG WCSClient/config"/> |
77 |
|
78 |
<mkdir dir="${dist}/Example"/> |
79 |
<mkdir dir="${dist}/Example/src"/> |
80 |
<mkdir dir="${dist}/Example/config"/> |
81 |
<mkdir dir="${dist}/Example/images"/> |
82 |
|
83 |
|
84 |
<!-- Put everything into the directory ${dist} -->
|
85 |
<copy todir="${dist}/Andami/lib"> |
86 |
<fileset dir="${andamidir}/lib" includes="*.jar,*.zip"/> |
87 |
</copy>
|
88 |
<copy todir="${dist}/Andami/src"> |
89 |
<fileset dir="${andamidir}/src" includes="**/**"/> |
90 |
</copy>
|
91 |
<copy todir="${dist}/Andami"> |
92 |
<fileset dir="${andamidir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
93 |
</copy>
|
94 |
|
95 |
<copy todir="${dist}/FMap/lib"> |
96 |
<fileset dir="${fmapdir}/lib" includes="*.jar,*.zip"/> |
97 |
</copy>
|
98 |
<copy todir="${dist}/FMap/src"> |
99 |
<fileset dir="${fmapdir}/src" includes="**/**" /> |
100 |
</copy>
|
101 |
<copy todir="${dist}/FMap"> |
102 |
<fileset dir="${fmapdir}" includes="*.xml, *.classpath, *.project" /> |
103 |
<!-- <fileset dir="${fmapdir}" includes="*.xml" /> -->
|
104 |
</copy>
|
105 |
|
106 |
<copy todir="${dist}/gvSIG/config"> |
107 |
<fileset dir="./config" includes="*.*"/> |
108 |
</copy>
|
109 |
<copy todir="${dist}/gvSIG/lib"> |
110 |
<fileset dir="./lib" includes="*.jar,*.zip"/> |
111 |
</copy>
|
112 |
<copy todir="${dist}/gvSIG/src"> |
113 |
<fileset dir="./src" includes="**/**"/> |
114 |
</copy>
|
115 |
<copy todir="${dist}/gvSIG"> |
116 |
<fileset dir="." includes="*.xml, *.classpath, *.project, text*.properties"/> |
117 |
<!-- <fileset dir="." includes="text*.properties"/> -->
|
118 |
</copy>
|
119 |
<copy todir="${dist}/gvSIG/images"> |
120 |
<fileset dir="./images/" includes="*"/> |
121 |
</copy>
|
122 |
|
123 |
<copy todir="${dist}/CorePlugin/src"> |
124 |
<fileset dir="${coreplugindir}/src" includes="**/**"/> |
125 |
</copy>
|
126 |
<copy todir="${dist}/CorePlugin"> |
127 |
<fileset dir="${coreplugindir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
128 |
</copy>
|
129 |
<copy todir="${dist}/CorePlugin/images"> |
130 |
<fileset dir="${coreplugindir}/images/" includes="*"/> |
131 |
</copy>
|
132 |
|
133 |
<!-- <copy todir="${dist}/GDBMS">
|
134 |
<fileset dir="${gdbmsdir}" includes="*.xml, *.classpath, *.project, text*.properties"/>
|
135 |
</copy>
|
136 |
<copy todir="${dist}/GDBMS/src">
|
137 |
<fileset dir="${gdbmsdir}/src/" includes="**/**"/>
|
138 |
</copy>
|
139 |
<copy todir="${dist}/GDBMS/lib">
|
140 |
<fileset dir="${gdbmsdir}/lib/" includes="*"/>
|
141 |
</copy>
|
142 |
<copy todir="${dist}/GDBMS/docs">
|
143 |
<fileset dir="${gdbmsdir}/docs/" includes="*"/>
|
144 |
</copy>
|
145 |
<copy todir="${dist}/GDBMS/grammar">
|
146 |
<fileset dir="${gdbmsdir}/grammar/" includes="*"/>
|
147 |
</copy> -->
|
148 |
|
149 |
<copy todir="${dist}/DriverManager"> |
150 |
<fileset dir="${drivermanagerdir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
151 |
</copy>
|
152 |
<copy todir="${dist}/DriverManager/src"> |
153 |
<fileset dir="${drivermanagerdir}/src/" includes="**/**"/> |
154 |
</copy>
|
155 |
|
156 |
<!-- <copy todir="${dist}/gvSIG_JDBC">
|
157 |
<fileset dir="${jdbcspatialdir}" includes="*.xml, *.classpath, *.project, text*.properties"/>
|
158 |
</copy>
|
159 |
<copy todir="${dist}/gvSIG_JDBC/src">
|
160 |
<fileset dir="${jdbcspatialdir}/src/" includes="**/**"/>
|
161 |
</copy> -->
|
162 |
|
163 |
<copy todir="${dist}/gvSIG_WMS"> |
164 |
<fileset dir="${wmsdir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
165 |
</copy>
|
166 |
<copy todir="${dist}/gvSIG_WMS/src"> |
167 |
<fileset dir="${wmsdir}/src/" includes="**/**"/> |
168 |
</copy>
|
169 |
<copy todir="${dist}/gvSIG_WMS/config"> |
170 |
<fileset dir="${wmsdir}/config" includes="*.*"/> |
171 |
</copy>
|
172 |
|
173 |
|
174 |
<copy todir="${dist}/gvSIG WCSClient"> |
175 |
<fileset dir="${wcsdir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
176 |
</copy>
|
177 |
<copy todir="${dist}/gvSIG WCSClient/src"> |
178 |
<fileset dir="${wcsdir}/src/" includes="**/**"/> |
179 |
</copy>
|
180 |
|
181 |
<copy todir="${dist}/Example"> |
182 |
<fileset dir="${exampledir}" includes="*.xml, *.classpath, *.project, text*.properties"/> |
183 |
</copy>
|
184 |
<copy todir="${dist}/Example/src"> |
185 |
<fileset dir="${exampledir}/src/" includes="**/**"/> |
186 |
</copy>
|
187 |
<copy todir="${dist}/Example/config"> |
188 |
<fileset dir="${exampledir}/config" includes="*.*"/> |
189 |
</copy>
|
190 |
<copy todir="${dist}/Example/images"> |
191 |
<fileset dir="${exampledir}/images" includes="*.*"/> |
192 |
</copy>
|
193 |
|
194 |
<!-- BORRAMOS EL DIRECTIORIO DE EDICIÓN (PROVISIONAL) -->
|
195 |
<delete dir="${dist}/FMap/src/com/iver/cit/gvsig/fmap/edition"/> |
196 |
|
197 |
</target>
|
198 |
|
199 |
<target name="makeZip" |
200 |
description="Genera un zip con todas las fuentes" |
201 |
depends="dist"> |
202 |
<zip destfile="${dist}/${zipName}.zip" basedir="${dist}" /> |
203 |
<!-- <delete dir="${dist}"/> -->
|
204 |
</target>
|
205 |
|
206 |
<target name="clean" |
207 |
description="clean up" > |
208 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
209 |
<delete dir="${dist}/Andami"/> |
210 |
<delete dir="${dist}/CorePlugin"/> |
211 |
<delete dir="${dist}/FMap"/> |
212 |
<delete dir="${dist}/gvSIG"/> |
213 |
<delete dir="${dist}/gvSIG WCSClient"/> |
214 |
<!-- <delete dir="${dist}/GDBMS"/> -->
|
215 |
<!-- <delete dir="${dist}/gvSIG_JDBC"/> -->
|
216 |
<delete file="${dist}/${zipName}.zip" /> |
217 |
</target>
|
218 |
</project>
|
219 |
|