Revision 17060 branches/v10/install/instalador-gvSIG-mac/build-updater.xml
build-updater.xml | ||
---|---|---|
1 | 1 |
<project name="bundle-gvSIG" default="init" basedir="."> |
2 | 2 |
<property name="NOMBRE_BUNDLE" value="instalador de la extension XXX"/> |
3 |
<property name="DIR_DESTINO" value="${basedir}"/> |
|
3 | 4 |
|
4 | 5 |
<target name="init"> |
5 | 6 |
<!-- copiamos el bundle actualizador ... --> |
6 |
<copy todir="${NOMBRE_BUNDLE}.app"> |
|
7 |
<copy todir="${DIR_DESTINO}/${NOMBRE_BUNDLE}.app">
|
|
7 | 8 |
<fileset dir="actualizador.app"/> |
8 | 9 |
</copy> |
9 | 10 |
<!-- (corregimos permisos de ejecucion que copy se ha cargado) --> |
10 |
<chmod dir="${NOMBRE_BUNDLE}.app/Contents/MacOS/" type="file" perm="+rwxrxrx"/> |
|
11 |
<!-- ...y copiamos cosas a su sitio dentro de autoinstalador
|
|
11 |
<chmod dir="${DIR_DESTINO}/${NOMBRE_BUNDLE}.app/Contents/MacOS/" type="file" perm="+rwxrxrx"/>
|
|
12 |
<!-- ...y copiamos cosas a su sitio dentro de autoinstalador |
|
12 | 13 |
MEJOR HACERLO A MANO? |
13 | 14 |
<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/updates"> |
14 |
LO QUE SEA; POR EJEMPLO,
|
|
15 |
LO QUE SEA; POR EJEMPLO, |
|
15 | 16 |
<fileset dir="../../binaries/mac/" includes="**/*.jar"/> |
16 | 17 |
</copy> |
17 | 18 |
--> |
Also available in: Unified diff