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