svn-gvsig-desktop / tags / tmp_build / install / instalador-gvSIG-mac / build.xml @ 19748
History | View | Annotate | Download (1.26 KB)
1 |
<project name="bundle-gvSIG" default="init" basedir="."> |
---|---|
2 |
<!-- Este script crea un bundle "simple" de gvSIG y lo envuelve en un bundle instalador de requisitos -->
|
3 |
<property name="FULLVERSION" value="2.0"/> |
4 |
<property name="NOMBRE_BUNDLE" value="gvSIG ${FULLVERSION} build ${build.number}"/> |
5 |
<property name="NOMBRE_BUNDLE_AUTOINSTALADOR" value="${NOMBRE_BUNDLE} autoinstalador"/> |
6 |
<property name="DIR_DESTINO" value="${basedir}"/> |
7 |
<!-- Para mac OSX 10.3==>"1.4+" y para 10.4==> "1.5*" -->
|
8 |
<property name="jvmversion" value="1.5*"/> |
9 |
|
10 |
<target name="init"> |
11 |
<ant antfile="build-bundle.xml"> |
12 |
<property name="jvmversion" value="${jvmversion}"/> |
13 |
</ant>
|
14 |
|
15 |
|
16 |
<!-- hacemos copia del bundle autoinstalador ... -->
|
17 |
<copy todir="${DIR_DESTINO}/${NOMBRE_BUNDLE_AUTOINSTALADOR}.app"> |
18 |
<fileset dir="instalador.app"/> |
19 |
</copy>
|
20 |
<!-- (corregimos permisos de ejecucion que copy se ha cargado) -->
|
21 |
<chmod file="${DIR_DESTINO}/${NOMBRE_BUNDLE_AUTOINSTALADOR}.app/Contents/MacOS/*" perm="+rwxrxrx"/> |
22 |
<!-- ...y movemos bundle gvSIG a su sitio dentro de autoinstalador -->
|
23 |
<move todir="${DIR_DESTINO}/${NOMBRE_BUNDLE_AUTOINSTALADOR}.app/Contents/Resources/gvSIG/${NOMBRE_BUNDLE}.app"> |
24 |
<fileset dir="${DIR_DESTINO}/${NOMBRE_BUNDLE}.app"/> |
25 |
</move>
|
26 |
|
27 |
</target>
|
28 |
|
29 |
</project>
|