svn-gvsig-desktop / tags / v1_0_2_Build_908 / install / instalador-gvSIG-mac / build.xml @ 40799
History | View | Annotate | Download (1.76 KB)
1 |
<project name="bundle-gvSIG" default="init" basedir="."> |
---|---|
2 |
<property name="FULLVERSION" value="1.0.2"/> |
3 |
<property name="NOMBRE_BUNDLE" value="gvSIG ${FULLVERSION} build ${build.number}"/> |
4 |
<property name="NOMBRE_BUNDLE_AUTOINSTALADOR" value="${NOMBRE_BUNDLE} autoinstalador"/> |
5 |
|
6 |
|
7 |
<target name="init"> |
8 |
<ant antfile="build-bundle.xml"/> |
9 |
|
10 |
<!-- hasta aqui tenemos un bundle mac, pero sin libs nativas-->
|
11 |
<!-- crear dir NativeLibs-->
|
12 |
<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/NativeLibs"/> |
13 |
<!-- copiar dentro dylibs, jnilibs-->
|
14 |
<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/NativeLibs" |
15 |
flatten="true" |
16 |
>
|
17 |
<fileset dir="../../binaries/mac/raster/" includes="**/*.dylib **/*.jnilib"/> |
18 |
</copy>
|
19 |
<!-- copiar jars para JNI en gvSIG/extensiones/...-->
|
20 |
<delete>
|
21 |
<fileset dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig/lib" includes="jgdal*.jar jmrsid*.jar"/> |
22 |
<!--para asegurarnos de que no hay jgdal o jmrsid duplicados, lo cual provocarÃa error -->
|
23 |
</delete>
|
24 |
<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig/lib" |
25 |
flatten="true" |
26 |
>
|
27 |
<fileset dir="../../binaries/mac/raster/" includes="**/*.jar"/> |
28 |
</copy>
|
29 |
<!-- copiamos el bundle autoinstalador ... -->
|
30 |
<copy todir="${NOMBRE_BUNDLE_AUTOINSTALADOR}.app"> |
31 |
<fileset dir="instalador.app"/> |
32 |
</copy>
|
33 |
<!-- (corregimos permisos de ejecucion que copy se ha cargado) -->
|
34 |
<chmod file="${NOMBRE_BUNDLE_AUTOINSTALADOR}.app/Contents/MacOS/applet" perm="+rwxrxrx"/> |
35 |
<!-- ...y movemos bundle gvSIG a su sitio dentro de autoinstalador -->
|
36 |
<move todir="${NOMBRE_BUNDLE_AUTOINSTALADOR}.app/Contents/Resources/gvSIG/${NOMBRE_BUNDLE}.app"> |
37 |
<fileset dir="${NOMBRE_BUNDLE}.app"/> |
38 |
</move>
|
39 |
|
40 |
</target>
|
41 |
|
42 |
</project>
|