svn-gvsig-desktop / tags / v1_2_Build_1202 / install / build.xml @ 47316
History | View | Annotate | Download (16 KB)
1 |
<?xml version="1.0" ?>
|
---|---|
2 |
<project default="main"> |
3 |
|
4 |
|
5 |
<property file="../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/build.number"/> |
6 |
<import file="../binaries/ant/utilities.xml"/> |
7 |
<taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" > |
8 |
<classpath>
|
9 |
<pathelement location="${ant.file.ant_libs.dir}/jarbundler-1.9.jar"/> |
10 |
</classpath>
|
11 |
</taskdef>
|
12 |
|
13 |
<property file="build.properties"/> <!--COMPROBAR EXTENSIONES --> |
14 |
<property name="DIR_LIN" location="./instalador-gvSIG-lin"/> |
15 |
<property name="DIR_WIN" location="./instalador-gvSIG-win"/> |
16 |
<property name="DIR_MAC" location="./instalador-gvSIG-mac"/> |
17 |
<property name="baseFileName" value="${APPNAME}-${bversion}-build_${build.number}"/> |
18 |
<property name="LINUXBIN" value="${baseFileName}-linux-i586.bin"/> |
19 |
<property name="LINUXBINWITHJRE" value="${baseFileName}-linux-i586-withjre.bin"/> |
20 |
<property name="WINDOWSZIP" value="${baseFileName}-windows-i586.7z" /> |
21 |
<property name="WINDOWSEXE" value="${baseFileName}-windows-i586.exe"/> |
22 |
<property name="WINDOWSEXEWITHJRE" value="${baseFileName}-windows-i586-withjre.exe"/> |
23 |
<property name="MAC_10_ZIP" value="${baseFileName}-mac-10_4.zip"/> |
24 |
<property name="JARNAME" value="${APPNAME}-${bversion}-build_${build.number}.jar"/> |
25 |
<property name="INSTALLER_DIR" value="${APPNAME}-${version}_installer"/> |
26 |
<property name="nombre_autoinstalador" value="gvSIG ${version} build ${build.number} autoinstalador"/> <!--OJO!!!! HAY QUE REVISAR ESTO --> |
27 |
<property environment="env" /> |
28 |
|
29 |
|
30 |
<condition property="LAUNCHER7Z" value="./launcher/7z/7za" else="./launcher/7z/7z.exe"> |
31 |
<os family="unix" /> |
32 |
</condition>
|
33 |
|
34 |
<condition property="Lang.Is.Spanish"> |
35 |
<contains string="${env.LANG}" substring="es"/> |
36 |
</condition>
|
37 |
<condition property="directorio.base"> |
38 |
<available file="../install" type="dir" /> |
39 |
</condition>
|
40 |
|
41 |
<target name="E_Spanish" if="Lang.Is.Spanish"> |
42 |
<property name="ERROR_BASEDIR" value="Este script debe invocarse desde el directorio install del workspace" /> |
43 |
</target>
|
44 |
|
45 |
<target name="E_notSpanish" unless="Lang.Is.Spanish"> |
46 |
<property name="ERROR_BASEDIR" value="This script must be run from the workspace\install's directory" /> |
47 |
</target>
|
48 |
|
49 |
<target name="check" depends="E_Spanish,E_notSpanish"> |
50 |
<fail message="${ERROR_BASEDIR}" unless="directorio.base"/> |
51 |
</target>
|
52 |
|
53 |
<target name="main" depends="check,Linux,Windows,Mac" > |
54 |
<echo message="DISTRIBUCION" /> |
55 |
</target>
|
56 |
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
57 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
58 |
-->
|
59 |
<target name="Linux" depends="check,CopyFilesLin,CopyExtLin,CreateJarLin,InstallationLin,cleanDirLIN"> |
60 |
<echo> ********************************************* </echo> |
61 |
<echo> ******** LINUX DONE *********</echo> |
62 |
<echo> ********************************************* </echo> |
63 |
</target>
|
64 |
<target name="CopyFilesLin" description="Copia de ficheros LEEME y los jar y zip de _fwAndami/lib"> |
65 |
<delete dir="${DIR_LIN}/bin"/> |
66 |
<mkdir dir="${DIR_LIN}/bin/gvSIG/extensiones"/> |
67 |
<!-- copiamos los fichers README LEEME y LLIG-ME, y gpl.txt -->
|
68 |
|
69 |
<copy todir="${DIR_LIN}/bin"> |
70 |
<fileset dir="${DIR_LIN}/installer_files"> |
71 |
<include name="*"/> |
72 |
<exclude name="*.*" /> |
73 |
</fileset>
|
74 |
</copy>
|
75 |
<copy todir="${DIR_LIN}/bin" file="${DIR_LIN}/resources/gpl.txt"/> |
76 |
|
77 |
<mkdir dir="${DIR_LIN}/bin/lib"/> |
78 |
|
79 |
<!-- copiamos los jar y zip que tenemos en _fwAndami/lib -->
|
80 |
<copy todir="${DIR_LIN}/bin/lib"> |
81 |
<fileset dir="../_fwAndami/lib"> |
82 |
<include name="*.jar"/> |
83 |
<include name="*.zip"/> |
84 |
</fileset>
|
85 |
</copy>
|
86 |
|
87 |
<copy todir="${DIR_LIN}/bin" file="../_fwAndami/andami.jar"/> |
88 |
<copy todir="${DIR_LIN}/bin" file="../_fwAndami/castor.properties"/> |
89 |
|
90 |
<mkdir dir="${DIR_LIN}/bin/theme"/> |
91 |
<copy todir="${DIR_LIN}/bin"> |
92 |
<fileset dir="../_fwAndami/theme"> |
93 |
<include name="*"/> |
94 |
</fileset>
|
95 |
</copy>
|
96 |
|
97 |
|
98 |
|
99 |
</target>
|
100 |
|
101 |
<target name="CopyExtLin" description="Copia de las extensiones" > |
102 |
<!-- Estas extensiones se copian directamente al directorio destino, ya que no vamos a dar -->
|
103 |
<!-- opcion a no instalarlas, son obligatorias. Los drivers de oracle no se deben copiar -->
|
104 |
<for list="${MANDATORY_EXTENSIONS}" param="mandatory"> |
105 |
<sequential>
|
106 |
<copy todir="${DIR_LIN}/bin/gvSIG/extensiones/@{mandatory}"> |
107 |
<fileset dir="../_fwAndami/gvSIG/extensiones/@{mandatory}"> |
108 |
<exclude name="**/ojdbc*.jar"/> |
109 |
<exclude name="**/gt2-oracle-spatial-*.jar"/> |
110 |
<exclude name="**/sdoapi.jar"/> |
111 |
</fileset>
|
112 |
</copy>
|
113 |
<echo>copiado @{mandatory}</echo> |
114 |
</sequential>
|
115 |
</for>
|
116 |
|
117 |
<delete dir="${DIR_LIN}/extensiones"/> |
118 |
<mkdir dir="${DIR_LIN}/extensiones" /> |
119 |
|
120 |
|
121 |
|
122 |
<!-- Copiamos las demas extensiones, de nuevo sin copiar los drivers de oracle -->
|
123 |
<for list="${EXTENSIONS}" param="extensions"> |
124 |
<sequential>
|
125 |
<copy todir="${DIR_LIN}/extensiones/@{extensions}"> |
126 |
<fileset dir="../_fwAndami/gvSIG/extensiones/@{extensions}"> |
127 |
<exclude name="**/ojdbc*.jar"/> |
128 |
<exclude name="**/gt2-oracle-spatial-*.jar"/> |
129 |
<exclude name="**/sdoapi.jar"/> |
130 |
</fileset>
|
131 |
</copy>
|
132 |
<echo>extension--> @{extensions} </echo> |
133 |
</sequential>
|
134 |
</for>
|
135 |
</target>
|
136 |
|
137 |
<target name="CreateJarLin" description="Generacion del instalador(jar) para Linux" > |
138 |
<!-- Generamos el instalador (jar) para Linux -->
|
139 |
<delete file="../${JARNAME}"/> |
140 |
<ant dir="${DIR_LIN}"> |
141 |
<property name="JARNAME" value="${JARNAME}"/> |
142 |
<property name="GVSIG_VERSION" value="${version}"/> |
143 |
<property name="APPNAME" value="${APPNAME}"/> |
144 |
</ant>
|
145 |
</target>
|
146 |
<target name="InstallationLin" description="Generacion de la distribucion"> |
147 |
<echo> ********************************************* </echo> |
148 |
<echo> Buildnumber----> ${build.number} --- version--> ${version}</echo> |
149 |
<echo> ********************************************* </echo> |
150 |
|
151 |
<!-- INSTALACION PARA LINUX -->
|
152 |
<mkdir dir="${OUTPUT_DIR}" /> |
153 |
<delete dir="${DIR_LIN}/${INSTALLER_DIR}"/> |
154 |
<mkdir dir="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall"/> |
155 |
<move todir="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall"> |
156 |
<fileset file="./${JARNAME}"/> |
157 |
</move>
|
158 |
|
159 |
<!-- carpetas CVS no se copiaran, ANT las excluye por defecto -->
|
160 |
<copy todir="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall"> |
161 |
<fileset dir="./launcher/izpack-launcher-1.3_linux/dist"> |
162 |
<exclude name="launcher.ini"/> |
163 |
</fileset>
|
164 |
</copy>
|
165 |
<chmod file="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher-Linux" perm="ugo+rx"/> |
166 |
|
167 |
<copy file="${DIR_LIN}/resources/launcher.ini.j15" tofile="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher.ini"/> |
168 |
<replace file="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher.ini" token="%JARNAME%" value="${JARNAME}"/> |
169 |
|
170 |
<!-- comprimimos la carpeta tmp_gvSIGInstall en tmp.tgz -->
|
171 |
<tar destfile="${DIR_LIN}/${INSTALLER_DIR}/tmp.tgz" compression="gzip"> |
172 |
<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}" mode="755" > |
173 |
<include name="tmp_gvSIGInstall/launcher-Linux"/> |
174 |
</tarfileset>
|
175 |
<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}"> |
176 |
<include name="tmp_gvSIGInstall/*"/> |
177 |
<exclude name="tmp_gvSIGInstall/launcher-Linux"/> |
178 |
</tarfileset>
|
179 |
</tar>
|
180 |
<!-- copiamos la jre y volvemos a comprimir en tmp_wjre.tgz -->
|
181 |
<copy todir="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall"> |
182 |
<fileset file="${DIR_LIN}/jre/*-1_5_0_*.gz"/> |
183 |
</copy>
|
184 |
<tar destfile="${DIR_LIN}/${INSTALLER_DIR}/tmp_wjre.tgz" compression="gzip"> |
185 |
<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}" mode="755" > |
186 |
<include name="tmp_gvSIGInstall/launcher-Linux"/> |
187 |
</tarfileset>
|
188 |
<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}"> |
189 |
<include name="tmp_gvSIGInstall/*"/> |
190 |
<exclude name="tmp_gvSIGInstall/launcher-Linux"/> |
191 |
</tarfileset>
|
192 |
</tar>
|
193 |
<echo message="#!/bin/sh${line.separator}" file="${DIR_LIN}/${INSTALLER_DIR}/xx.tmp" /> |
194 |
<echo message="lcount=59${line.separator}" file="${DIR_LIN}/${INSTALLER_DIR}/xx.tmp" append="true" /> |
195 |
<concat destfile="${DIR_LIN}/${INSTALLER_DIR}/${LINUXBIN}" binary="true" > |
196 |
<fileset file="${DIR_LIN}/${INSTALLER_DIR}/xx.tmp"/> |
197 |
<fileset file="./launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh"/> |
198 |
<fileset file="${DIR_LIN}/${INSTALLER_DIR}/tmp.tgz"/> |
199 |
</concat>
|
200 |
<concat destfile="${DIR_LIN}/${INSTALLER_DIR}/${LINUXBINWITHJRE}" binary="true" > |
201 |
<fileset file="${DIR_LIN}/${INSTALLER_DIR}/xx.tmp"/> |
202 |
<fileset file="./launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh"/> |
203 |
<fileset file="${DIR_LIN}/${INSTALLER_DIR}/tmp_wjre.tgz"/> |
204 |
</concat>
|
205 |
<chmod file="${DIR_LIN}/${INSTALLER_DIR}/${LINUXBIN}" perm="ugo+rx"/> |
206 |
<chmod file="${DIR_LIN}/${INSTALLER_DIR}/${LINUXBINWITHJRE}" perm="ugo+rx"/> |
207 |
<delete file="${DIR_LIN}/${INSTALLER_DIR}/xx.tmp"/> |
208 |
<move todir="${OUTPUT_DIR}" > |
209 |
<fileset file="${DIR_LIN}/${INSTALLER_DIR}/${LINUXBIN}"/> |
210 |
<fileset file="${DIR_LIN}/${INSTALLER_DIR}/${LINUXBINWITHJRE}"/> |
211 |
</move>
|
212 |
<chmod file="${OUTPUT_DIR}/${LINUXBIN}" perm="ugo+rx"/> |
213 |
<chmod file="${OUTPUT_DIR}/${LINUXBINWITHJRE}" perm="ugo+rx"/> |
214 |
<delete dir="${DIR_LIN}/${INSTALLER_DIR}"/> |
215 |
</target>
|
216 |
<target name="cleanDirLIN" description="Limpiamos los directorios DIR_LIN"> |
217 |
<delete dir="${DIR_LIN}/extensiones" /> |
218 |
<delete dir="${DIR_LIN}/bin" /> |
219 |
|
220 |
</target>
|
221 |
|
222 |
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
223 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
224 |
-->
|
225 |
<target name="Windows" depends="check,CopyFilesWin,CopyExtWin,CreateJarWin,InstallationWin,cleanDirWIN" > |
226 |
<echo> ********************************************* </echo> |
227 |
<echo> ******** WINDOWS DONE *********</echo> |
228 |
<echo> ********************************************* </echo> |
229 |
</target>
|
230 |
<target name="CopyFilesWin" description="Copia de ficheros LEEME y los jar y zip de _fwAndami/lib" > |
231 |
|
232 |
|
233 |
<delete dir="${DIR_WIN}/bin"/> |
234 |
<mkdir dir="${DIR_WIN}/bin/gvSIG/extensiones"/> |
235 |
<copy todir="${DIR_WIN}/bin"> |
236 |
<fileset dir="${DIR_WIN}/installer_files"> |
237 |
<include name="*.txt"/> |
238 |
</fileset>
|
239 |
</copy>
|
240 |
<copy todir="${DIR_WIN}/bin" file="${DIR_WIN}/resources/gpl.txt"/> |
241 |
|
242 |
<!-- copiamos los jar y zip que tenemos en _fwAndami/lib -->
|
243 |
<copy todir="${DIR_WIN}/bin/lib"> |
244 |
<fileset dir="../_fwAndami/lib"> |
245 |
<include name="*.jar"/> |
246 |
<include name="*.zip"/> |
247 |
</fileset>
|
248 |
</copy>
|
249 |
|
250 |
<copy todir="${DIR_WIN}/bin" file="../_fwAndami/andami.jar"/> |
251 |
<copy todir="${DIR_WIN}/bin" file="../_fwAndami/castor.properties"/> |
252 |
|
253 |
<mkdir dir="${DIR_WIN}/bin/theme"/> |
254 |
<copy todir="${DIR_WIN}/bin"> |
255 |
<fileset dir="../_fwAndami/theme"> |
256 |
<include name="*"/> |
257 |
</fileset>
|
258 |
</copy>
|
259 |
|
260 |
|
261 |
<delete dir="${DIR_WIN}/tmpResources"/> |
262 |
<mkdir dir="${DIR_WIN}/tmpResources" /> |
263 |
|
264 |
<!-- Copiamos el lanzador y sus traduciones al tmpResources,sin copiar el ini, manifest y los CVS (ANT excluye carpetas CVS por defecto -->
|
265 |
<copy todir="${DIR_WIN}/tmpResources"> |
266 |
<fileset dir="./launcher/izpack-launcher-1.3/dist/"> |
267 |
<include name="**/"/> |
268 |
<exclude name="**/*.ini"/> |
269 |
<exclude name="**/*.manifest"/> |
270 |
</fileset>
|
271 |
</copy>
|
272 |
<move file="${DIR_WIN}/tmpResources/launcher-Win32.exe" tofile="${DIR_WIN}/tmpResources/gvSIG.exe"/> |
273 |
<copy todir="${DIR_WIN}/tmpResources/jai_imageio-1_0_01-lib-windows/"> |
274 |
<fileset dir="${DIR_WIN}/jre_installers_1.5/jai_imageio-1_0_01-lib-windows"/> |
275 |
</copy>
|
276 |
<copy file="${DIR_WIN}/resources/gvSIG.ini.J15" tofile="${DIR_WIN}/tmpResources/gvSIG.ini"/> |
277 |
|
278 |
</target>
|
279 |
<target name="CopyExtWin" description="Copia de las extensiones" > |
280 |
<!-- Estas extensiones se copian directamente al directorio destino, ya que no vamos a dar -->
|
281 |
<!-- opcion a no instalarlas, son obligatorias. Los drivers de oracle no se deben copiar -->
|
282 |
<for list="${MANDATORY_EXTENSIONS}" param="mandatory"> |
283 |
<sequential>
|
284 |
<copy todir="${DIR_WIN}/bin/gvSIG/extensiones/@{mandatory}"> |
285 |
<fileset dir="../_fwAndami/gvSIG/extensiones/@{mandatory}"> |
286 |
<exclude name="**/ojdbc*.jar"/> |
287 |
<exclude name="**/gt2-oracle-spatial-*.jar"/> |
288 |
<exclude name="**/sdoapi.jar"/> |
289 |
</fileset>
|
290 |
</copy>
|
291 |
<echo>copiado @{mandatory}</echo> |
292 |
</sequential>
|
293 |
</for>
|
294 |
|
295 |
<delete dir="${DIR_WIN}/extensiones"/> |
296 |
<mkdir dir="${DIR_WIN}/extensiones" /> |
297 |
|
298 |
<!-- Copiamos las demas extensiones, de nuevo sin copiar los drivers de oracle -->
|
299 |
<for list="${EXTENSIONS}" param="extensions"> |
300 |
<sequential>
|
301 |
<copy todir="${DIR_WIN}/extensiones/@{extensions}"> |
302 |
<fileset dir="../_fwAndami/gvSIG/extensiones/@{extensions}"> |
303 |
<exclude name="**/ojdbc*.jar"/> |
304 |
<exclude name="**/gt2-oracle-spatial-*.jar"/> |
305 |
<exclude name="**/sdoapi.jar"/> |
306 |
</fileset>
|
307 |
</copy>
|
308 |
<echo>extension--> @{extensions} </echo> |
309 |
</sequential>
|
310 |
</for>
|
311 |
</target>
|
312 |
<target name="CreateJarWin" description="Generacion del instalador(jar) para Windows" > |
313 |
|
314 |
<!-- Instalador para Windows -->
|
315 |
|
316 |
<echo> ********************************************* </echo> |
317 |
<echo> Buildnumber----> ${build.number} --- version--> ${version}</echo> |
318 |
<echo> ********************************************* </echo> |
319 |
<delete file="./${JARNAME}"/> |
320 |
<ant dir="${DIR_WIN}"> |
321 |
<property name="JARNAME" value="${JARNAME}"/> |
322 |
<property name="GVSIG_VERSION" value="${version}"/> |
323 |
<property name="APPNAME" value="${APPNAME}"/> |
324 |
<property name="INSTALL_FILE" value="${DIR_WIN}/install_15.xml"/> |
325 |
</ant>
|
326 |
|
327 |
</target>
|
328 |
<target name="InstallationWin" description="Generacion de la distribucion"> |
329 |
|
330 |
<delete dir="${DIR_WIN}/${INSTALLER_DIR}"/> |
331 |
|
332 |
<copy todir="${DIR_WIN}/${INSTALLER_DIR}"> |
333 |
|
334 |
|
335 |
<fileset dir="${DIR_WIN}/installer_files"> |
336 |
<exclude name="install.bat"/> |
337 |
</fileset>
|
338 |
</copy>
|
339 |
<copy todir="${DIR_WIN}/${INSTALLER_DIR}"> |
340 |
<fileset dir="./launcher/izpack-launcher-1.3/dist"> |
341 |
<exclude name="launcher-Win32.ini"/> |
342 |
</fileset>
|
343 |
</copy>
|
344 |
<copy file="${DIR_WIN}/resources/launcher-Win32.ini.j15" tofile="${DIR_WIN}/${INSTALLER_DIR}/launcher-Win32.ini"/> |
345 |
<replace file="${DIR_WIN}/${INSTALLER_DIR}/launcher-Win32.ini" token="%JARNAME%" value="${JARNAME}"/> |
346 |
<move todir="${DIR_WIN}/${INSTALLER_DIR}/"> |
347 |
<fileset file="./${JARNAME}"/> |
348 |
</move>
|
349 |
<delete file="${DIR_WIN}/${WINDOWSZIP}"/> |
350 |
<exec executable="${LAUNCHER7Z}"> |
351 |
<arg line="a -r ${DIR_WIN}/${WINDOWSZIP} ${DIR_WIN}/${INSTALLER_DIR}/*"/> |
352 |
</exec>
|
353 |
|
354 |
<copy file="./launcher/7z/dist_config.txt" tofile="${DIR_WIN}/dist_config.txt"/> |
355 |
<replace file="${DIR_WIN}/dist_config.txt" token="%TITLE%" value="gvSIG-${bversion}_${build.number}" /> |
356 |
<concat destfile="${DIR_WIN}/${WINDOWSEXE}" binary="true"> |
357 |
<fileset file="./launcher/7z/7zS.sfx"/> |
358 |
<fileset file="${DIR_WIN}/dist_config.txt"/> |
359 |
<fileset file="${DIR_WIN}/${WINDOWSZIP}"/> |
360 |
</concat>
|
361 |
<exec executable="${LAUNCHER7Z}"> |
362 |
<arg line="a -r ${DIR_WIN}/${WINDOWSZIP} ${DIR_WIN}/jre_installers_1.5/*.exe"/> |
363 |
</exec>
|
364 |
<concat destfile="${DIR_WIN}/${WINDOWSEXEWITHJRE}" binary="true"> |
365 |
<fileset file="./launcher/7z/7zS.sfx"/> |
366 |
<fileset file="${DIR_WIN}/dist_config.txt"/> |
367 |
<fileset file="${DIR_WIN}/${WINDOWSZIP}"/> |
368 |
</concat>
|
369 |
<move todir="${OUTPUT_DIR}" > |
370 |
<fileset file="${DIR_WIN}/${WINDOWSEXE}"/> |
371 |
<fileset file="${DIR_WIN}/${WINDOWSEXEWITHJRE}"/> |
372 |
</move>
|
373 |
<delete file="${DIR_WIN}/${WINDOWSZIP}" /> |
374 |
<delete file="${DIR_WIN}/dist_config.txt" /> |
375 |
<delete dir="${DIR_WIN}/${INSTALLER_DIR}" /> |
376 |
<delete dir="${DIR_WIN}/tmpResources" /> |
377 |
</target>
|
378 |
<target name="cleanDirWIN" description="Limpiamos los directorios DIR_WIN"> |
379 |
<delete dir="${DIR_WIN}/extensiones" /> |
380 |
<delete dir="${DIR_WIN}/bin" /> |
381 |
|
382 |
</target>
|
383 |
|
384 |
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
385 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
386 |
-->
|
387 |
<target name="Mac"> |
388 |
<mkdir dir="${OUTPUT_DIR}" /> |
389 |
<ant dir="${DIR_MAC}"> |
390 |
<property name="build.number" value="${build.number}"/> |
391 |
</ant>
|
392 |
<zip destfile="${OUTPUT_DIR}/${MAC_10_ZIP}" basedir="${DIR_MAC}" includes="gvSIG*.app/**"/> |
393 |
<delete dir="${DIR_MAC}/${nombre_autoinstalador}.app"/> <!--OJO!!!! HAY QUE REVISAR ESTO --> |
394 |
<echo> ********************************************* </echo> |
395 |
<echo> ******** MAC DONE *********</echo> |
396 |
<echo> ********************************************* </echo> |
397 |
</target>
|
398 |
</project>
|