svn-gvsig-desktop / tags / v2_0_0_prep_before_2001 / install / build.xml @ 43043
History | View | Annotate | Download (16.2 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/theme"> |
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/theme"> |
255 |
<fileset dir="../_fwAndami/theme"> |
256 |
<include name="*"/> |
257 |
</fileset>
|
258 |
</copy>
|
259 |
|
260 |
|
261 |
|
262 |
<delete dir="${DIR_WIN}/tmpResources"/> |
263 |
<mkdir dir="${DIR_WIN}/tmpResources" /> |
264 |
|
265 |
<!-- Copiamos el lanzador y sus traduciones al tmpResources,sin copiar el ini, manifest y los CVS (ANT excluye carpetas CVS por defecto -->
|
266 |
<copy todir="${DIR_WIN}/tmpResources"> |
267 |
<fileset dir="./launcher/izpack-launcher-1.3/dist/"> |
268 |
<include name="**/"/> |
269 |
<exclude name="**/*.ini"/> |
270 |
<exclude name="**/*.manifest"/> |
271 |
</fileset>
|
272 |
</copy>
|
273 |
<move file="${DIR_WIN}/tmpResources/launcher-Win32.exe" tofile="${DIR_WIN}/tmpResources/gvSIG.exe"/> |
274 |
<copy todir="${DIR_WIN}/tmpResources/jai_imageio-1_0_01-lib-windows/"> |
275 |
<fileset dir="${DIR_WIN}/jre_installers_1.5/jai_imageio-1_0_01-lib-windows"/> |
276 |
</copy>
|
277 |
<copy file="${DIR_WIN}/resources/gvSIG.ini.J15" tofile="${DIR_WIN}/tmpResources/gvSIG.ini"/> |
278 |
|
279 |
</target>
|
280 |
<target name="CopyExtWin" description="Copia de las extensiones" > |
281 |
<!-- Estas extensiones se copian directamente al directorio destino, ya que no vamos a dar -->
|
282 |
<!-- opcion a no instalarlas, son obligatorias. Los drivers de oracle no se deben copiar -->
|
283 |
<for list="${MANDATORY_EXTENSIONS}" param="mandatory"> |
284 |
<sequential>
|
285 |
<copy todir="${DIR_WIN}/bin/gvSIG/extensiones/@{mandatory}"> |
286 |
<fileset dir="../_fwAndami/gvSIG/extensiones/@{mandatory}"> |
287 |
<exclude name="**/ojdbc*.jar"/> |
288 |
<exclude name="**/gt2-oracle-spatial-*.jar"/> |
289 |
<exclude name="**/sdoapi.jar"/> |
290 |
</fileset>
|
291 |
</copy>
|
292 |
<echo>copiado @{mandatory}</echo> |
293 |
</sequential>
|
294 |
</for>
|
295 |
|
296 |
<delete dir="${DIR_WIN}/extensiones"/> |
297 |
<mkdir dir="${DIR_WIN}/extensiones" /> |
298 |
|
299 |
<!-- Copiamos las demas extensiones, de nuevo sin copiar los drivers de oracle -->
|
300 |
<for list="${EXTENSIONS}" param="extensions"> |
301 |
<sequential>
|
302 |
<copy todir="${DIR_WIN}/extensiones/@{extensions}"> |
303 |
<fileset dir="../_fwAndami/gvSIG/extensiones/@{extensions}"> |
304 |
<exclude name="**/ojdbc*.jar"/> |
305 |
<exclude name="**/gt2-oracle-spatial-*.jar"/> |
306 |
<exclude name="**/sdoapi.jar"/> |
307 |
</fileset>
|
308 |
</copy>
|
309 |
<echo>extension--> @{extensions} </echo> |
310 |
</sequential>
|
311 |
</for>
|
312 |
</target>
|
313 |
<target name="CreateJarWin" description="Generacion del instalador(jar) para Windows" > |
314 |
|
315 |
<!-- Instalador para Windows -->
|
316 |
|
317 |
<echo> ********************************************* </echo> |
318 |
<echo> Buildnumber----> ${build.number} --- version--> ${version}</echo> |
319 |
<echo> ********************************************* </echo> |
320 |
<delete file="./${JARNAME}"/> |
321 |
<ant dir="${DIR_WIN}"> |
322 |
<property name="JARNAME" value="${JARNAME}"/> |
323 |
<property name="GVSIG_VERSION" value="${version}"/> |
324 |
<property name="APPNAME" value="${APPNAME}"/> |
325 |
<property name="INSTALL_FILE" value="${DIR_WIN}/install_15.xml"/> |
326 |
</ant>
|
327 |
|
328 |
</target>
|
329 |
<target name="InstallationWin" description="Generacion de la distribucion"> |
330 |
|
331 |
<delete dir="${DIR_WIN}/${INSTALLER_DIR}"/> |
332 |
|
333 |
<copy todir="${DIR_WIN}/${INSTALLER_DIR}"> |
334 |
|
335 |
|
336 |
<fileset dir="${DIR_WIN}/installer_files"> |
337 |
<exclude name="install.bat"/> |
338 |
</fileset>
|
339 |
</copy>
|
340 |
<copy todir="${DIR_WIN}/${INSTALLER_DIR}"> |
341 |
<fileset dir="./launcher/izpack-launcher-1.3/dist"> |
342 |
<exclude name="launcher-Win32.ini"/> |
343 |
</fileset>
|
344 |
</copy>
|
345 |
<copy file="${DIR_WIN}/resources/launcher-Win32.ini.j15" tofile="${DIR_WIN}/${INSTALLER_DIR}/launcher-Win32.ini"/> |
346 |
<replace file="${DIR_WIN}/${INSTALLER_DIR}/launcher-Win32.ini" token="%JARNAME%" value="${JARNAME}"/> |
347 |
<move todir="${DIR_WIN}/${INSTALLER_DIR}/"> |
348 |
<fileset file="./${JARNAME}"/> |
349 |
</move>
|
350 |
<delete file="${DIR_WIN}/${WINDOWSZIP}"/> |
351 |
<exec executable="${LAUNCHER7Z}"> |
352 |
<arg line="a -r ${DIR_WIN}/${WINDOWSZIP} ${DIR_WIN}/${INSTALLER_DIR}/*"/> |
353 |
</exec>
|
354 |
|
355 |
<copy file="./launcher/7z/dist_config.txt" tofile="${DIR_WIN}/dist_config.txt"/> |
356 |
<replace file="${DIR_WIN}/dist_config.txt" token="%TITLE%" value="gvSIG-${bversion}_${build.number}" /> |
357 |
<concat destfile="${DIR_WIN}/${WINDOWSEXE}" binary="true"> |
358 |
<fileset file="./launcher/7z/7zS.sfx"/> |
359 |
<fileset file="${DIR_WIN}/dist_config.txt"/> |
360 |
<fileset file="${DIR_WIN}/${WINDOWSZIP}"/> |
361 |
</concat>
|
362 |
<exec executable="${LAUNCHER7Z}"> |
363 |
<arg line="a -r ${DIR_WIN}/${WINDOWSZIP} ${DIR_WIN}/jre_installers_1.5/*.exe"/> |
364 |
</exec>
|
365 |
<concat destfile="${DIR_WIN}/${WINDOWSEXEWITHJRE}" binary="true"> |
366 |
<fileset file="./launcher/7z/7zS.sfx"/> |
367 |
<fileset file="${DIR_WIN}/dist_config.txt"/> |
368 |
<fileset file="${DIR_WIN}/${WINDOWSZIP}"/> |
369 |
</concat>
|
370 |
<move todir="${OUTPUT_DIR}" > |
371 |
<fileset file="${DIR_WIN}/${WINDOWSEXE}"/> |
372 |
<fileset file="${DIR_WIN}/${WINDOWSEXEWITHJRE}"/> |
373 |
</move>
|
374 |
<delete file="${DIR_WIN}/${WINDOWSZIP}" /> |
375 |
<delete file="${DIR_WIN}/dist_config.txt" /> |
376 |
<delete dir="${DIR_WIN}/${INSTALLER_DIR}" /> |
377 |
<delete dir="${DIR_WIN}/tmpResources" /> |
378 |
</target>
|
379 |
<target name="cleanDirWIN" description="Limpiamos los directorios DIR_WIN"> |
380 |
<delete dir="${DIR_WIN}/extensiones" /> |
381 |
<delete dir="${DIR_WIN}/bin" /> |
382 |
|
383 |
</target>
|
384 |
|
385 |
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
386 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
387 |
-->
|
388 |
<target name="Mac"> |
389 |
<mkdir dir="${OUTPUT_DIR}" /> |
390 |
<mkdir dir="${DIR_MAC}/tmp" /> |
391 |
<ant dir="${DIR_MAC}"> |
392 |
<property name="build.number" value="${build.number}"/> |
393 |
<property name="DIR_DESTINO" location="${DIR_MAC}/tmp"/> |
394 |
</ant>
|
395 |
<zip destfile="${OUTPUT_DIR}/${MAC_10_ZIP}"> |
396 |
<zipfileset dir="${DIR_MAC}/tmp" |
397 |
includes="*.app/**" |
398 |
excludes="**/MacOS/*" |
399 |
/>
|
400 |
<zipfileset dir="${DIR_MAC}/tmp" |
401 |
includes="**/MacOS/*" |
402 |
filemode="755" |
403 |
/>
|
404 |
|
405 |
</zip>
|
406 |
<delete dir="${DIR_MAC}/tmp"/> |
407 |
|
408 |
|
409 |
<echo> ********************************************* </echo> |
410 |
<echo> ******** MAC DONE *********</echo> |
411 |
<echo> ********************************************* </echo> |
412 |
</target>
|
413 |
</project>
|