Revision 9135
branches/v10/install/distribucion.sh | ||
---|---|---|
46 | 46 |
WINDOWSEXE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586.exe |
47 | 47 |
WINDOWSEXEWITHJRE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586-withjre.exe |
48 | 48 |
|
49 |
MAC_10_3_ZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-mac-10_3.zip |
|
50 |
MAC_10_4_ZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-mac-10_4.zip |
|
49 |
MAC_10_ZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-mac-10.zip |
|
51 | 50 |
|
51 |
|
|
52 | 52 |
#Directorios |
53 | 53 |
#OUTPUT_DIR=/mnt/sercartlin/grupo-sig-ca/Testing/Versiones/v"$FULLVERSION"\_"$BUILDNUMBER" |
54 | 54 |
OUTPUT_DIR="$TARGET_DIR"/v"$FULLVERSION"\_"$BUILDNUMBER" |
... | ... | |
279 | 279 |
echo "- Mac" |
280 | 280 |
if type ant 2>/dev/null >/dev/null; then |
281 | 281 |
cd "$DIR_BASE"/"$DIR_MAC" |
282 |
if ant -Dbuild.number="$BUILDNUMBER" -f build-10_3.xml; then
|
|
283 |
zip -r "$MAC_10_3_ZIP" "gvSIG 1_0.app"
|
|
284 |
rm -r "gvSIG 1_0.app"
|
|
285 |
mv "$MAC_10_3_ZIP" "$OUTPUT_DIR"
|
|
282 |
if ant -Dbuild.number="$BUILDNUMBER" -f build.xml; then |
|
283 |
zip -r "$MAC_10_ZIP" gvSIG*.app
|
|
284 |
rm -r gvSIG*.app
|
|
285 |
mv "$MAC_10_ZIP" "$OUTPUT_DIR" |
|
286 | 286 |
else |
287 | 287 |
echo "No se ha generado el paquete para Mac 10.3 . Compruebe que su ant tiene jarbundler instalado" |
288 |
fi |
|
289 |
|
|
290 |
if ant -Dbuild.number="$BUILDNUMBER" -f build-10_4.xml; then |
|
291 |
zip -r "$MAC_10_4_ZIP" "gvSIG 1_0.app" |
|
292 |
rm -r "gvSIG 1_0.app" |
|
293 |
mv "$MAC_10_4_ZIP" "$OUTPUT_DIR" |
|
294 |
else |
|
295 |
echo "No se ha generado el paquete para Mac 10.4. Compruebe que su ant tiene jarbundler instalado" |
|
296 |
fi |
|
288 |
fi |
|
297 | 289 |
|
298 | 290 |
else |
299 | 291 |
echo "No se ha encontrado el ant en el path de ejecucion: |
Also available in: Unified diff