svn-gvsig-desktop / tags / v1_1_2_1_Build_1046 / upgrade / buildExt.xml @ 47840
History | View | Annotate | Download (20.5 KB)
1 | 16602 | mhaloui | <project name="instalador-gvSIG" default="init" basedir="."> |
---|---|---|---|
2 | 16738 | jmvivo | |
3 | 16602 | mhaloui | <dirname file="${ant.file.instalador-gvSIG}" property="base_dir"/> |
4 | <dirname file="${base_dir}" property="proyect_dir"/> |
||
5 | <property value="${proyect_dir}" name="workspace_dir"/> |
||
6 | 16738 | jmvivo | |
7 | 16602 | mhaloui | <taskdef resource="net/sf/antcontrib/antcontrib.properties"> |
8 | <classpath>
|
||
9 | <pathelement location="${workspace_dir}/binaries/ant/ant-contrib-1.0b3.jar"/> <!--CAMBIAR SEGUN DONDE SE COLOQUEN FINALMENTE LOS JARS--> |
||
10 | </classpath>
|
||
11 | </taskdef>
|
||
12 | 16738 | jmvivo | |
13 | 16602 | mhaloui | <taskdef resource="net/sf/antcontrib/antlib.xml"> |
14 | <classpath>
|
||
15 | <pathelement location="${workspace_dir}/binaries/ant/ant-contrib-1.0b3.jar"/> <!--CAMBIAR SEGUN DONDE SE COLOQUEN FINALMENTE LOS JARS--> |
||
16 | </classpath>
|
||
17 | </taskdef>
|
||
18 | 16738 | jmvivo | |
19 | 16602 | mhaloui | <property file="build.properties"/> |
20 | <property file="${workspace_dir}/_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/build.number"/> |
||
21 | 16738 | jmvivo | |
22 | 16602 | mhaloui | <property name="dir_inst" location="/usr/local"/> |
23 | <!--<property name="base_dir" location="./"/> -->
|
||
24 | <property name="izpack_dir" location="${workspace_dir}/install/IzPack"/> |
||
25 | <property name="dir_libs" location="${izpack_dir}/lib"/> |
||
26 | 16738 | jmvivo | |
27 | |||
28 | 16602 | mhaloui | <property name="GVSIG_INSTALLDIR" location="${workspace_dir}/install"/> |
29 | <property name="ANDAMI_DIR" location="${workspace_dir}/_fwAndami"/> |
||
30 | <property name="INSTALLER_DIR" value="${APPNAME}-${version}_upgrader"/> |
||
31 | <property name="JARNAME" value="${APPNAME}-${version}.jar"/> |
||
32 | <property name="DIR_LIN_GVSIG" location="${GVSIG_INSTALLDIR}/instalador-gvSIG-lin"/> |
||
33 | <property name="DIR_WIN_GVSIG" location="${GVSIG_INSTALLDIR}/instalador-gvSIG-win"/> |
||
34 | <property name="WINDOWSZIP" value="${APPNAME}-${bversion}_${build.number}-windows-i586.7z" /> |
||
35 | 16608 | mhaloui | <property name="LINUXBIN" value="${APPNAME}-${bversion}_${build.number}-upgraderFrom_1_1_1015-linux-i586.bin"/> |
36 | <property name="WINDOWSEXE" value="${APPNAME}-${bversion}_${build.number}-upgraderFrom_1_1_1015-windows-i586.exe"/> |
||
37 | <property name="MAC_10_ZIP" value="${APPNAME}-${bversion}_${build.number}-upgraderFrom_1_1_1015-mac-10_4.zip"/> |
||
38 | 16739 | mhaloui | <property name="autoinstalador" value="${APPNAME}_update-1_1-TO-${bversion}" /> |
39 | 16602 | mhaloui | <property name="OUTPUT_DIR" location="./tmp/versiones/v${version}/${build.number}"/> <!--CAMBIAR ESTO SEGUN DIRECTORIO OUTPUT,VERIFICAR BUILD.PROPERTIES --> |
40 | 16738 | jmvivo | |
41 | 16602 | mhaloui | <condition property="LAUNCHER7Z" value="${GVSIG_INSTALLDIR}/launcher/7z/7za" else="${GVSIG_INSTALLDIR}/launcher/7z/7z.exe"> |
42 | <os family="unix" /> |
||
43 | </condition>
|
||
44 | 16738 | jmvivo | |
45 | 16602 | mhaloui | <taskdef name="izpack" classpath="${dir_libs}/compiler.jar" classname="com.izforge.izpack.ant.IzPackTask"/> |
46 | 16738 | jmvivo | |
47 | |||
48 | 16602 | mhaloui | <condition property="Lang.Is.Spanish"> |
49 | <contains string="${env.LANG}" substring="es"/> |
||
50 | </condition>
|
||
51 | <condition property="directorio.base"> |
||
52 | <available file="${base_dir}/install.xml" type="file" /> |
||
53 | </condition>
|
||
54 | 16738 | jmvivo | |
55 | 16602 | mhaloui | <target name="E_Spanish" if="Lang.Is.Spanish"> |
56 | <property name="ERROR_BASEDIR" value="En el directorio ${base_dir} no se encuentra el fichero install.xml" /> |
||
57 | </target>
|
||
58 | 16738 | jmvivo | |
59 | 16602 | mhaloui | <target name="E_notSpanish" unless="Lang.Is.Spanish"> |
60 | <property name="ERROR_BASEDIR" value="Cannot find install.xml in ${base_dir} folder " /> |
||
61 | </target>
|
||
62 | 16738 | jmvivo | |
63 | 16602 | mhaloui | <target name="check" depends="E_Spanish,E_notSpanish"> |
64 | <fail message="${ERROR_BASEDIR}" unless="directorio.base"/> |
||
65 | </target>
|
||
66 | |||
67 | 16738 | jmvivo | |
68 | |||
69 | 16602 | mhaloui | <target name="init" depends="check,CopyFiles,CreateJar,Installation,InstallMac,CleanDir" > |
70 | 16738 | jmvivo | |
71 | 16602 | mhaloui | </target>
|
72 | <target name="CopyFiles" description="Copia de ficheros de librerias y de las extensiones necesarias"> |
||
73 | <delete dir="${base_dir}/bin"/> |
||
74 | <copy file="${base_dir}/resources/gpl.txt" todir="./bin"/> |
||
75 | 16738 | jmvivo | <mkdir dir="${base_dir}/bin/lib"/> |
76 | 16602 | mhaloui | <!-- copiamos los jar y zip que tenemos en _fwAndami/lib -->
|
77 | 16738 | jmvivo | <copy todir="${base_dir}/bin/lib"> |
78 | <fileset dir="${ANDAMI_DIR}/lib"> |
||
79 | <include name="*.jar"/> |
||
80 | <include name="*.zip"/> |
||
81 | 16602 | mhaloui | </fileset>
|
82 | </copy>
|
||
83 | 16738 | jmvivo | |
84 | 16602 | mhaloui | <copy todir="${base_dir}/bin" file="${ANDAMI_DIR}/andami.jar"/> |
85 | <copy todir="${base_dir}/bin" file="${ANDAMI_DIR}/castor.properties"/> |
||
86 | 19131 | jmvivo | <copy todir="${base_dir}/bin" file="${DIR_LIN_GVSIG}/resources/gvSIG.sh"/> |
87 | 16602 | mhaloui | <!-- PARA WINDOWS -->
|
88 | |||
89 | 16738 | jmvivo | |
90 | 16602 | mhaloui | <delete dir="${base_dir}/tmpResources"/> |
91 | <mkdir dir="${base_dir}/tmpResources" /> |
||
92 | |||
93 | <!-- Copiamos el lanzador y sus traduciones al tmpResources,sin copiar el ini, manifest y los CVS (ANT excluye carpetas CVS por defecto -->
|
||
94 | <copy todir="${base_dir}/tmpResources"> |
||
95 | <fileset dir="${GVSIG_INSTALLDIR}/launcher/izpack-launcher-1.3/dist/"> |
||
96 | <include name="**/"/> |
||
97 | <exclude name="**/*.ini"/> |
||
98 | <exclude name="**/*.manifest"/> |
||
99 | </fileset>
|
||
100 | </copy>
|
||
101 | <move file="${base_dir}/tmpResources/launcher-Win32.exe" tofile="./tmpResources/gvSIG.exe"/> |
||
102 | 19131 | jmvivo | <copy tofile="${base_dir}/tmpResources/gvSIG.ini" file="${DIR_WIN_GVSIG}/resources/gvSIG.ini.J15"/> |
103 | 16738 | jmvivo | |
104 | |||
105 | |||
106 | 16602 | mhaloui | <for list="${EXTENSIONS}" param="extensions"> |
107 | <sequential>
|
||
108 | <copy todir="${base_dir}/extensiones/@{extensions}"> |
||
109 | <fileset dir="${ANDAMI_DIR}/gvSIG/extensiones/@{extensions}"/> |
||
110 | </copy>
|
||
111 | <echo>extension ----> @{extensions} </echo> |
||
112 | </sequential>
|
||
113 | </for>
|
||
114 | </target>
|
||
115 | <target name="CreateJar" description="Generacion del instalador Jar"> |
||
116 | 16738 | jmvivo | <izpack input="${base_dir}/install.xml" |
117 | output="${base_dir}/${JARNAME}" |
||
118 | installerType="standard" |
||
119 | basedir="${base_dir}" |
||
120 | 16602 | mhaloui | izPackDir="${izpack_dir}/"/> |
121 | </target>
|
||
122 | <!-- generar el tar.gz para linux -->
|
||
123 | <target name="Installation" description="Generacion de la distribucion"> |
||
124 | |||
125 | <mkdir dir="${OUTPUT_DIR}" /> |
||
126 | <delete dir="${base_dir}/${INSTALLER_DIR}"/> |
||
127 | 16738 | jmvivo | <mkdir dir="${base_dir}/${INSTALLER_DIR}/tmp_gvSIGInstall"/> |
128 | 16602 | mhaloui | <copy file="${base_dir}/${JARNAME}" todir="./${INSTALLER_DIR}/tmp_gvSIGInstall"/> |
129 | 16738 | jmvivo | |
130 | 16602 | mhaloui | <!-- carpetas CVS no se copiaran, ANT las excluye por defecto -->
|
131 | <copy todir="${base_dir}/${INSTALLER_DIR}/tmp_gvSIGInstall"> |
||
132 | <fileset dir="${GVSIG_INSTALLDIR}/launcher/izpack-launcher-1.3_linux/dist/"/> |
||
133 | </copy>
|
||
134 | 16738 | jmvivo | |
135 | 16602 | mhaloui | <chmod file="${base_dir}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher-Linux" perm="ugo+rx"/> |
136 | <delete file="${base_dir}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher.ini"/> |
||
137 | <copy file="${DIR_LIN_GVSIG}/resources/launcher.ini.j15" tofile="${base_dir}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher.ini"/> |
||
138 | <replace file="${base_dir}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher.ini" token="%JARNAME%" value="${JARNAME}"/> |
||
139 | 16738 | jmvivo | |
140 | 16602 | mhaloui | <!-- comprimimos la carpeta tmp_gvSIGInstall en tmp.tgz -->
|
141 | <tar destfile="${base_dir}/${INSTALLER_DIR}/tmp.tgz" compression="gzip"> |
||
142 | <tarfileset dir="${base_dir}/${INSTALLER_DIR}" mode="755" > |
||
143 | <include name="tmp_gvSIGInstall/launcher-Linux"/> |
||
144 | </tarfileset>
|
||
145 | <tarfileset dir="${base_dir}/${INSTALLER_DIR}"> |
||
146 | <include name="tmp_gvSIGInstall/*"/> |
||
147 | <exclude name="tmp_gvSIGInstall/launcher-Linux"/> |
||
148 | </tarfileset>
|
||
149 | </tar>
|
||
150 | <echo message="#!/bin/sh${line.separator}" file="./${INSTALLER_DIR}/xx.tmp" /> |
||
151 | <echo message="lcount=59${line.separator}" file="./${INSTALLER_DIR}/xx.tmp" append="true" /> <!-- OJO SI SE TOCA EL FICHERO h_gvSIG-install.sh - 59 -> num de lineas del fichero + 2 --> |
||
152 | <concat destfile="${base_dir}/${INSTALLER_DIR}/${LINUXBIN}" binary="true" > |
||
153 | <fileset file="${base_dir}/${INSTALLER_DIR}/xx.tmp"/> |
||
154 | <fileset file="${GVSIG_INSTALLDIR}/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh"/> |
||
155 | <fileset file="${base_dir}/${INSTALLER_DIR}/tmp.tgz"/> |
||
156 | </concat>
|
||
157 | <chmod file="${base_dir}/${INSTALLER_DIR}/${LINUXBIN}" perm="ugo+rx"/> |
||
158 | <delete file="${base_dir}/${INSTALLER_DIR}/xx.tmp"/> |
||
159 | <move file="${base_dir}/${INSTALLER_DIR}/${LINUXBIN}" todir="${OUTPUT_DIR}" /> |
||
160 | 16848 | jmvivo | <chmod file="${OUTPUT_DIR}/${LINUXBIN}" perm="ugo+rx"/> |
161 | 16602 | mhaloui | <delete dir="${base_dir}/${INSTALLER_DIR}"/> |
162 | 16738 | jmvivo | |
163 | |||
164 | |||
165 | 16602 | mhaloui | <!-- PARA WINDOWS -->
|
166 | <delete dir="${base_dir}/${INSTALLER_DIR}"/> |
||
167 | 16738 | jmvivo | <mkdir dir="${base_dir}/${INSTALLER_DIR}"/> |
168 | 16602 | mhaloui | <copy todir="${base_dir}/${INSTALLER_DIR}"> |
169 | <fileset dir="${GVSIG_INSTALLDIR}/launcher/izpack-launcher-1.3/dist"/> |
||
170 | </copy>
|
||
171 | 16741 | mhaloui | <delete file="${base_dir}/${INSTALLER_DIR}/launcher-Win32.ini"/> |
172 | 16845 | jmvivo | <copy file="${DIR_WIN_GVSIG}/resources/launcher-Win32.ini.j15" tofile="${base_dir}/${INSTALLER_DIR}/launcher-Win32.ini"/> |
173 | 16602 | mhaloui | <replace file="${base_dir}/${INSTALLER_DIR}/launcher-Win32.ini" token="%JARNAME%" value="${JARNAME}"/> |
174 | <move file="${base_dir}/${JARNAME}" todir="./${INSTALLER_DIR}"/> |
||
175 | <delete file="${base_dir}/${WINDOWSZIP}"/> |
||
176 | <exec executable="${LAUNCHER7Z}"> |
||
177 | <arg line="a -r ${WINDOWSZIP} ./${INSTALLER_DIR}/*"/> |
||
178 | </exec>
|
||
179 | <copy file="${GVSIG_INSTALLDIR}/launcher/7z/dist_config.txt" tofile="./dist_config.txt"/> |
||
180 | <replace file="${base_dir}/dist_config.txt" token="%TITLE%" value="${APPNAME}-${bversion}_${build.number}" /> |
||
181 | <concat destfile="${base_dir}/${WINDOWSEXE}" binary="true"> |
||
182 | <fileset file="${GVSIG_INSTALLDIR}/launcher/7z/7zS.sfx"/> |
||
183 | <fileset file="${base_dir}/dist_config.txt"/> |
||
184 | <fileset file="${base_dir}/${WINDOWSZIP}"/> |
||
185 | </concat>
|
||
186 | <move file="${WINDOWSEXE}" todir="${OUTPUT_DIR}"/> |
||
187 | </target>
|
||
188 | 16738 | jmvivo | |
189 | 16602 | mhaloui | <target name="InstallMac" description="Actualizador para MAC"> |
190 | 17031 | jmvivo | <property name="tmp_mac" location="${base_dir}/tmpResources_mac"/> |
191 | |||
192 | <delete dir="${tmp_mac}" failonerror="no"/> |
||
193 | |||
194 | <mkdir dir="${tmp_mac}"/> |
||
195 | |||
196 | <ant antfile="build-updater.xml" dir="${GVSIG_INSTALLDIR}/instalador-gvSIG-mac"> |
||
197 | <property name="NOMBRE_BUNDLE" value="${autoinstalador}"/> |
||
198 | <property name="DIR_DESTINO" value="${tmp_mac}"/> |
||
199 | </ant>
|
||
200 | |||
201 | <copy todir="${tmp_mac}/${autoinstalador}.app/Contents/Resources" file="./resources/configfile" overwrite="yes"/> |
||
202 | |||
203 | <replace file="${tmp_mac}/${autoinstalador}.app/Contents/Resources/configfile" |
||
204 | token="%BUILD.NUMBER%" |
||
205 | value="${build.number}"/> |
||
206 | |||
207 | |||
208 | 19275 | jmvivo | <property name="mac_install_path_bin" value="${tmp_mac}/${autoinstalador}.app/Contents/Resources/updates/bin"/> |
209 | 16848 | jmvivo | <property name="mac_install_path_gvsig" value="${mac_install_path_bin}/gvSIG"/> |
210 | <property name="mac_install_path_ext" value="${mac_install_path_gvsig}/extensiones"/> |
||
211 | 16738 | jmvivo | |
212 | 19131 | jmvivo | <!--Ficheros a eliminar -->
|
213 | <concat
|
||
214 | destfile="${tmp_mac}/${autoinstalador}.app/Contents/Resources/configfile" |
||
215 | append="yes" |
||
216 | eol="unix" |
||
217 | >
|
||
218 | deleteFiles |
||
219 | Java/gvSIG/extensiones/com.iver.cit.gvsig/drivers/gml |
||
220 | Java/gvSIG/extensiones/com.iver.cit.gvsig.oracle_spatial/dbf/oracle_epsg_calculo.xls |
||
221 | Java/gvSIG/extensiones/com.iver.cit.gvsig.oracle_spatial/dbf/oracle_epsg.mdb |
||
222 | Java/gvSIG/extensiones/com.iver.cit.gvsig.oracle_spatial/dbf/oracle_epsg_tabla.xls |
||
223 | |||
224 | |||
225 | </concat>
|
||
226 | |||
227 | 19132 | jmvivo | <!-- Opcional: Actualiza el calsspath de arranque -->
|
228 | 19291 | jmvivo | <copy todir="${tmp_mac}/${autoinstalador}.app/Contents/Resources/updates" file="./resources/Info.plist" failonerror="false"/> |
229 | 19131 | jmvivo | |
230 | |||
231 | 19132 | jmvivo | |
232 | |||
233 | |||
234 | 16738 | jmvivo | <copy todir="${mac_install_path_bin}" file="bin/andami.jar"/> |
235 | 19291 | jmvivo | <copy todir="${mac_install_path_bin}"> |
236 | <fileset dir="${ANDAMI_DIR}" includes="theme/**"/> |
||
237 | </copy>
|
||
238 | 16738 | jmvivo | <copy todir="${mac_install_path_bin}/lib"> |
239 | 16848 | jmvivo | <fileset dir="bin/lib"> |
240 | 19131 | jmvivo | <include name="jh.jar"/> |
241 | 16848 | jmvivo | <include name="beans.jar"/> |
242 | <include name="gvsig-i18n.jar"/> |
||
243 | <include name="iver-utiles.jar"/> |
||
244 | 16740 | mhaloui | </fileset>
|
245 | 16602 | mhaloui | </copy>
|
246 | 16738 | jmvivo | |
247 | 16848 | jmvivo | <copy todir="${mac_install_path_gvsig}"> |
248 | 16740 | mhaloui | <fileset dir="."> |
249 | <include name="extensiones/com.iver.cit.gvsig/text.properties"/> |
||
250 | 19131 | jmvivo | <include name="extensiones/com.iver.cit.gvsig/text_en.properties"/> |
251 | 16740 | mhaloui | <include name="extensiones/com.iver.cit.gvsig/config.xml"/> |
252 | </fileset>
|
||
253 | 16602 | mhaloui | </copy>
|
254 | 16848 | jmvivo | <copy todir="${mac_install_path_gvsig}"> |
255 | 19131 | jmvivo | <fileset dir="." includes="extensiones/com.iver.cit.gvsig/northimages/gvsig_*.svg"/> |
256 | </copy>
|
||
257 | |||
258 | <copy todir="${mac_install_path_gvsig}"> |
||
259 | 16740 | mhaloui | <fileset dir="."> |
260 | <include name="extensiones/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.jar"/> |
||
261 | <include name="extensiones/com.iver.cit.gvsig/lib/driver-manager-1.1.jar"/> |
||
262 | <include name="extensiones/com.iver.cit.gvsig/lib/fmap-arcims.jar"/> |
||
263 | <include name="extensiones/com.iver.cit.gvsig/lib/gvsig-annotation.jar"/> |
||
264 | <include name="extensiones/com.iver.cit.gvsig/lib/gvsig-ui.jar"/> |
||
265 | <include name="extensiones/com.iver.cit.gvsig/lib/hsqldb_spatial.jar"/> |
||
266 | <include name="extensiones/com.iver.cit.gvsig/lib/mysql_spatial.jar"/> |
||
267 | <include name="extensiones/com.iver.cit.gvsig/lib/oracle_spatial.jar"/> |
||
268 | <include name="extensiones/com.iver.cit.gvsig/lib/postgis_spatial.jar"/> |
||
269 | <include name="extensiones/com.iver.cit.gvsig/lib/remote-clients-arcims.jar"/> |
||
270 | <include name="extensiones/com.iver.cit.gvsig/lib/fmap.jar"/> |
||
271 | <include name="extensiones/com.iver.cit.gvsig/lib/cms.jar"/> |
||
272 | <include name="extensiones/com.iver.cit.gvsig/lib/jcrs.jar"/> |
||
273 | <include name="extensiones/com.iver.cit.gvsig/lib/gdbms-0.8-SNAPSHOT.jar"/> |
||
274 | <include name="extensiones/com.iver.cit.gvsig/lib/remote-clients.jar"/> |
||
275 | 19131 | jmvivo | <include name="extensiones/com.iver.cit.gvsig/lib/gvsig-exceptions.jar"/> |
276 | 16738 | jmvivo | |
277 | |||
278 | 17031 | jmvivo | <include name="extensiones/com.iver.cit.gvsig/lib/com.iver.gvsig.addeventtheme.jar"/> |
279 | <include name="extensiones/com.iver.cit.gvsig/lib/fmap-georeferencing.jar"/> |
||
280 | <include name="extensiones/com.iver.cit.gvsig/lib/fmap-wcs.jar"/> |
||
281 | <include name="extensiones/com.iver.cit.gvsig/lib/fmap-wfs.jar"/> |
||
282 | <include name="extensiones/com.iver.cit.gvsig/lib/fmap-wms.jar"/> |
||
283 | <include name="extensiones/com.iver.cit.gvsig/lib/jdwglib.jar"/> |
||
284 | <include name="extensiones/com.iver.cit.gvsig/lib/org.gvsig.scripting.jar"/> |
||
285 | 16738 | jmvivo | |
286 | 19131 | jmvivo | |
287 | <include name="extensiones/com.iver.cit.gvsig/lib/jgdal-0.6.1.jar"/> |
||
288 | <include name="extensiones/com.iver.cit.gvsig/lib/org.gvsig.fmap.drivers.gpe.jar"/> |
||
289 | <include name="extensiones/com.iver.cit.gvsig/lib/org.gvsig.gpe.gml.jar"/> |
||
290 | <include name="extensiones/com.iver.cit.gvsig/lib/org.gvsig.gpe.jar"/> |
||
291 | <include name="extensiones/com.iver.cit.gvsig/lib/org.gvsig.gpe.kml.jar"/> |
||
292 | <include name="extensiones/com.iver.cit.gvsig/lib/org.gvsig.xmlschema.jar"/> |
||
293 | |||
294 | 16849 | jmvivo | </fileset>
|
295 | </copy>
|
||
296 | 16845 | jmvivo | |
297 | 16849 | jmvivo | |
298 | <copy todir="${mac_install_path_gvsig}"> |
||
299 | <fileset dir="."> |
||
300 | 17031 | jmvivo | <include name="extensiones/com.iver.cit.gvsig/drivers/**/**"/> |
301 | 16849 | jmvivo | </fileset>
|
302 | </copy>
|
||
303 | |||
304 | 16738 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.annotation/lib" |
305 | file="extensiones/com.iver.cit.gvsig.annotation/lib/com.iver.cit.gvsig.annotation.jar"/> |
||
306 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.annotation/" |
307 | file="extensiones/com.iver.cit.gvsig.annotation/config.xml"/> |
||
308 | 16738 | jmvivo | |
309 | 19131 | jmvivo | |
310 | 16738 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.cad" |
311 | file="extensiones/com.iver.cit.gvsig.cad/com.iver.cit.gvsig.cad.jar"/> |
||
312 | |||
313 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.cad" |
314 | file="extensiones/com.iver.cit.gvsig.cad/config.xml"/> |
||
315 | |||
316 | |||
317 | 19291 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.gvsig.centerviewpoint" |
318 | 16849 | jmvivo | file="extensiones/com.iver.gvsig.centerviewpoint/com.iver.gvsig.centerviewpoint.jar"/> |
319 | 19291 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.gvsig.centerviewpoint" |
320 | 19131 | jmvivo | file="extensiones/com.iver.gvsig.centerviewpoint/config.xml"/> |
321 | 16849 | jmvivo | |
322 | 16738 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.gvsig.expresionfield" |
323 | file="extensiones/com.iver.gvsig.expresionfield/com.iver.gvsig.expresionfield.jar"/> |
||
324 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.gvsig.expresionfield" |
325 | file="extensiones/com.iver.gvsig.expresionfield/config.xml"/> |
||
326 | 16738 | jmvivo | |
327 | 17031 | jmvivo | |
328 | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.wcs" |
||
329 | file="extensiones/com.iver.cit.gvsig.wcs/com.iver.cit.gvsig.wcs.jar"/> |
||
330 | 19131 | jmvivo | |
331 | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.wfs2"> |
||
332 | <fileset dir="extensiones/com.iver.cit.gvsig.wfs2"> |
||
333 | <include name="lib/com.iver.cit.gvsig.wfs2.jar"/> |
||
334 | <include name="config.xml"/> |
||
335 | <include name="text_en.properties"/> |
||
336 | <include name="text.properties"/> |
||
337 | <include name="images/clock.png"/> |
||
338 | </fileset>
|
||
339 | </copy>
|
||
340 | |||
341 | |||
342 | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.wms"> |
||
343 | <fileset dir="extensiones/com.iver.cit.gvsig.wms"> |
||
344 | <include name="com.iver.cit.gvsig.wms.jar"/> |
||
345 | <include name="config.xml"/> |
||
346 | </fileset>
|
||
347 | </copy>
|
||
348 | |||
349 | <copy todir="${mac_install_path_ext}/com.iver.gvsig.addeventtheme" |
||
350 | file="extensiones/com.iver.gvsig.addeventtheme/config.xml"/> |
||
351 | |||
352 | 17031 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.gvsig.datalocator" |
353 | file="extensiones/com.iver.gvsig.datalocator/com.iver.gvsig.datalocator.jar"/> |
||
354 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.gvsig.datalocator" |
355 | file="extensiones/com.iver.gvsig.datalocator/config.xml"/> |
||
356 | 17031 | jmvivo | |
357 | |||
358 | 16738 | jmvivo | <copy todir="${mac_install_path_ext}/es.prodevelop.cit.gvsig.arcims" |
359 | file="extensiones/es.prodevelop.cit.gvsig.arcims/es.prodevelop.cit.gvsig.arcims.jar"/> |
||
360 | |||
361 | <copy todir="${mac_install_path_ext}/org.gvsig.crs" |
||
362 | file="extensiones/org.gvsig.crs/org.gvsig.crs.jar"/> |
||
363 | <copy todir="${mac_install_path_ext}/org.gvsig.crs" |
||
364 | file="extensiones/org.gvsig.crs/text_pl.properties"/> |
||
365 | |||
366 | 16849 | jmvivo | <copy todir="${mac_install_path_gvsig}"> |
367 | <fileset dir="."> |
||
368 | <include name="extensiones/com.iver.cit.gvsig.geoprocess/docs/com.iver.cit.gvsig.geoprocess.impl.dissolve.DissolveGeoprocessPlugin/description_cs.html"/> |
||
369 | <include name="extensiones/com.iver.cit.gvsig.geoprocess/docs/com.iver.cit.gvsig.geoprocess.impl.dissolve.DissolveGeoprocessPlugin/description_pl.html"/> |
||
370 | </fileset>
|
||
371 | </copy>
|
||
372 | 17031 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.geoprocess" |
373 | file="extensiones/com.iver.cit.gvsig.geoprocess/com.iver.cit.gvsig.geoprocess.jar"/> |
||
374 | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.geoprocess/lib" |
||
375 | file="extensiones/com.iver.cit.gvsig.geoprocess/lib/com.iver.cit.gvsig.geoprocess.jar"/> |
||
376 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.geoprocess/" |
377 | file="extensiones/com.iver.cit.gvsig.geoprocess/config.xml"/> |
||
378 | 16849 | jmvivo | |
379 | 17031 | jmvivo | |
380 | 16849 | jmvivo | <copy todir="${mac_install_path_gvsig}"> |
381 | <fileset dir="."> |
||
382 | <include name="extensiones/com.iver.cit.gvsig.geoprocessextensions/docs/com.iver.cit.gvsig.geoprocess.impl.xyshift.XYShiftGeoprocessPlugin/description_cs.html"/> |
||
383 | <include name="extensiones/com.iver.cit.gvsig.geoprocessextensions/docs/com.iver.cit.gvsig.geoprocess.impl.xyshift.XYShiftGeoprocessPlugin/description_pl.html"/> |
||
384 | </fileset>
|
||
385 | </copy>
|
||
386 | |||
387 | 19131 | jmvivo | <copy todir="${mac_install_path_gvsig}"> |
388 | <fileset dir="."> |
||
389 | <include name="extensiones/com.iver.cit.gvsig.geoprocessextensions/docs/*/description_de.html"/> |
||
390 | <include name="extensiones/com.iver.cit.gvsig.geoprocess/docs/*/description_de.html"/> |
||
391 | </fileset>
|
||
392 | </copy>
|
||
393 | |||
394 | |||
395 | 16738 | jmvivo | <copy todir="${mac_install_path_ext}/org.gvsig.georeferencing" |
396 | file="extensiones/org.gvsig.georeferencing/text_pt_br.properties"/> |
||
397 | 17031 | jmvivo | <copy todir="${mac_install_path_ext}/org.gvsig.georeferencing" |
398 | file="extensiones/org.gvsig.georeferencing/org.gvsig.georeferencing.jar"/> |
||
399 | 16738 | jmvivo | |
400 | |||
401 | 17031 | jmvivo | <copy todir="${mac_install_path_ext}/org.gvsig.rasterTools" |
402 | file="extensiones/org.gvsig.rasterTools/org.gvsig.rasterTools.jar"/> |
||
403 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}/org.gvsig.rasterTools" |
404 | file="extensiones/org.gvsig.rasterTools/config.xml"/> |
||
405 | 17031 | jmvivo | |
406 | |||
407 | 16738 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.jdbc_spatial" |
408 | file="extensiones/com.iver.cit.gvsig.jdbc_spatial/com.iver.cit.gvsig.jdbc_spatial.jar"/> |
||
409 | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig/drivers"> |
||
410 | <fileset dir="extensiones/com.iver.cit.gvsig/drivers"> |
||
411 | <include name="jdbc_spatial/*"/> |
||
412 | </fileset>
|
||
413 | </copy>
|
||
414 | |||
415 | |||
416 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.cit.gvsig.oracle_spatial"> |
417 | <fileset dir="extensiones/com.iver.cit.gvsig.oracle_spatial"> |
||
418 | <include name="com.iver.cit.gvsig.oracle_spatial.jar"/> |
||
419 | <include name="images/jdbc.png"/> |
||
420 | <include name="config.xml"/> |
||
421 | <include name="text_ca.properties"/> |
||
422 | <include name="text_en.properties"/> |
||
423 | <include name="text.properties"/> |
||
424 | <include name="about/jdbc-os-about.html"/> |
||
425 | <include name="dbf/ORA_EPSG.DBF"/> |
||
426 | </fileset>
|
||
427 | </copy>
|
||
428 | 16738 | jmvivo | |
429 | |||
430 | 19131 | jmvivo | |
431 | |||
432 | |||
433 | 16738 | jmvivo | <copy todir="${mac_install_path_ext}/com.iver.core" |
434 | file="extensiones/com.iver.core/text_pt_br.properties"/> |
||
435 | <copy todir="${mac_install_path_ext}/com.iver.core" |
||
436 | file="extensiones/com.iver.core/com.iver.core.jar"/> |
||
437 | |||
438 | 16848 | jmvivo | <copy todir="${mac_install_path_ext}"> |
439 | 16738 | jmvivo | <fileset dir="extensiones"> |
440 | <include name="es.gva.cit.gvsig.catalogClient/**/**"/> |
||
441 | </fileset>
|
||
442 | </copy>
|
||
443 | |||
444 | 19131 | jmvivo | <copy todir="${mac_install_path_ext}"> |
445 | <fileset dir="extensiones"> |
||
446 | <include name="org.gvsig.gpe/**/**"/> |
||
447 | </fileset>
|
||
448 | </copy>
|
||
449 | 16738 | jmvivo | |
450 | 17031 | jmvivo | |
451 | |||
452 | |||
453 | 16848 | jmvivo | <copy todir="${mac_install_path_ext}"> |
454 | 16738 | jmvivo | <fileset dir="extensiones"> |
455 | <include name="**/build.number"/> |
||
456 | </fileset>
|
||
457 | </copy>
|
||
458 | 16848 | jmvivo | <copy todir="${mac_install_path_ext}"> |
459 | 16738 | jmvivo | <fileset dir="extensiones"> |
460 | <include name="**/text_ro.properties,**/text_en.properties,**/text_eu.properties,**/text_de.properties"/> |
||
461 | </fileset>
|
||
462 | </copy>
|
||
463 | 16848 | jmvivo | <copy todir="${mac_install_path_ext}"> |
464 | 16738 | jmvivo | <fileset dir="extensiones"> |
465 | <include name="**/about.htm"/> |
||
466 | </fileset>
|
||
467 | </copy>
|
||
468 | |||
469 | 17751 | jmvivo | <zip destfile="${OUTPUT_DIR}/${MAC_10_ZIP}"> |
470 | <zipfileset dir="${tmp_mac}" |
||
471 | includes="${autoinstalador}.app/**" |
||
472 | excludes="${autoinstalador}.app/Contents/MacOS/*" |
||
473 | />
|
||
474 | <zipfileset dir="${tmp_mac}" |
||
475 | includes="${autoinstalador}.app/Contents/MacOS/*" |
||
476 | filemode="755" |
||
477 | />
|
||
478 | 16738 | jmvivo | |
479 | 17751 | jmvivo | </zip>
|
480 | |||
481 | 17031 | jmvivo | <delete dir="${tmp_mac}"/> |
482 | 16602 | mhaloui | </target>
|
483 | 16738 | jmvivo | |
484 | 16602 | mhaloui | <target name="CleanDir" description="Limpiamos los directorios creados"> |
485 | 16738 | jmvivo | |
486 | 16602 | mhaloui | <delete file="${base_dir}/${WINDOWSZIP}" /> |
487 | <delete file="${base_dir}/dist_config.txt" /> |
||
488 | <delete dir="${base_dir}/${INSTALLER_DIR}" /> |
||
489 | <delete dir="${base_dir}/tmpResources" /> |
||
490 | <delete dir="extensiones"/> |
||
491 | <delete dir="bin"/> |
||
492 | </target>
|
||
493 | 16738 | jmvivo | |
494 | 16602 | mhaloui | </project> |