Revision 15284

View differences:

import/ext3D/trunk/install-extension3d/mac/resources/updates/Info.plist
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
<plist version="1.0">
4
<dict>
5
	<key>CFBundleAllowMixedLocalizations</key>
6
	<string>false</string>
7
	<key>CFBundleDevelopmentRegion</key>
8
	<string>Spanish</string>
9
	<key>CFBundleExecutable</key>
10
	<string>JavaApplicationStub</string>
11
	<key>CFBundleGetInfoString</key>
12
	<string>gvSIG 1.0.2</string>
13
	<key>CFBundleIconFile</key>
14
	<string>logo gvsig.icns</string>
15
	<key>CFBundleIdentifier</key>
16
	<string>com.iver.cit.gvsig</string>
17
	<key>CFBundleInfoDictionaryVersion</key>
18
	<string>6.0</string>
19
	<key>CFBundleName</key>
20
	<string>gvSIG</string>
21
	<key>CFBundlePackageType</key>
22
	<string>APPL</string>
23
	<key>CFBundleShortVersionString</key>
24
	<string>1.0.2</string>
25
	<key>CFBundleSignature</key>
26
	<string>????</string>
27
	<key>CFBundleVersion</key>
28
	<string>905</string>
29
	<key>Java</key>
30
	<dict>
31
		<key>Arguments</key>
32
		<string>gvSIG gvSIG/extensiones</string>
33
		<key>ClassPath</key>
34
		<array>
35
			<string>andami.jar</string>
36
			<string>lib/log4j-1.2.8.jar</string>
37
			<string>lib/beans.jar</string>
38
			<string>lib/gvsig-i18n.jar</string>
39
			<string>lib/iver-utiles.jar</string>
40
			<string>lib/castor-0.9.5.3-xml.jar</string>
41
			<string>lib/crimson.jar</string>
42
			<string>lib/xerces_2_5_0.jar</string>
43
			<string>lib/javaws.jar</string>
44
			<string>lib/xml-apis.jar</string>
45
			<string>lib/JWizardComponent.jar</string>
46
			<string>lib/looks-2.0.2.jar</string>
47
			<string>lib/kxml2.jar</string>
48
			<string>lib/jcalendar.jar</string>
49
			<string>gvSIG/extensiones/com.iver.ai2.gvsig3d/lib/libjosg-planets-1.0-SNAPSHOT.jar</string>
50
			<string>gvSIG/extensiones/com.iver.ai2.gvsig3d/lib/libjosg-core-1.0-SNAPSHOT.jar</string>
51
		</array>
52
		<key>JVMVersion</key>
53
		<string>1.4+</string>
54
		<key>MainClass</key>
55
		<string>com.iver.andami.Launcher</string>
56
		<key>Properties</key>
57
		<dict>
58
			<key>apple.laf.useScreenMenuBar</key>
59
			<string>true</string>
60
			<key>java.library.path</key>
61
			<string>$JAVAROOT/../NativeLibs</string>
62
		</dict>
63
		<key>VMOptions</key>
64
		<string>-Xmx500M</string>
65
		<key>WorkingDirectory</key>
66
		<string>$JAVAROOT</string>
67
	</dict>
68
</dict>
69
</plist>
import/ext3D/trunk/install-extension3d/mac/resources/bundle/Info.plist
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
<plist version="1.0">
4
<dict>
5
	<key>CFBundleAllowMixedLocalizations</key>
6
	<true/>
7
	<key>CFBundleDevelopmentRegion</key>
8
	<string>English</string>
9
	<key>CFBundleExecutable</key>
10
	<string>applet</string>
11
	<key>CFBundleIconFile</key>
12
	<string>applet.icns</string>
13
	<key>CFBundleInfoDictionaryVersion</key>
14
	<string>6.0</string>
15
	<key>CFBundleName</key>
16
	<string>Instalador Extension 3D</string>
17
	<key>CFBundlePackageType</key>
18
	<string>APPL</string>
19
	<key>CFBundleSignature</key>
20
	<string>aplt</string>
21
	<key>LSRequiresCarbon</key>
22
	<true/>
23
	<key>WindowState</key>
24
	<dict>
25
		<key>name</key>
26
		<string>ScriptWindowState</string>
27
		<key>positionOfDivider</key>
28
		<real>345</real>
29
		<key>savedFrame</key>
30
		<string>42 152 918 439 0 0 1024 746 </string>
31
		<key>selectedTabView</key>
32
		<string>result</string>
33
	</dict>
34
</dict>
35
</plist>
import/ext3D/trunk/install-extension3d/mac/resources/bundle/TXT.rtf
1
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410
2
{\fonttbl}
3
{\colortbl;\red255\green255\blue255;}
4
}
import/ext3D/trunk/install-extension3d/mac/resources/bundle/PkgInfo
1
APPLaplt
import/ext3D/trunk/install-extension3d/mac/HOWTO-BUILD.txt
1
 C?MO GENERAR EL INSTALADOR:
2
 ===========================
3
- Las librerias nativas deben de tener los install names correctos. Para ello debemos poner la siguiente ruta: 
4
@executable_path/../Resources/NativeLibs/ en el flag "Installation Directory" de las propiedades del proyecto de
5
XCode.
6
- Asegurarse de que las rutas para las extensiones y las librerias nativas sean las correctas en la tarea de ant.
import/ext3D/trunk/install-extension3d/mac/build.xml
1
<project name="bundle-gvSIG" default="init" basedir=".">
2
	<property name="NOMBRE_BUNDLE" value="Instalador Extension 3D"/>
3
	<property name="EXTENSIONES" value="../../_fwAndami/gvSIG/extensiones"/>
4
	<property name="LIBRERIAS" value="../../ext3D/binaries/mac"/>
5
	<target name="init">
6
		<!--Generamos el bundle de instalaciĆ³n-->
7
		<mkdir dir="${NOMBRE_BUNDLE}.app"/>
8
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents"/>
9
		<copy todir="${NOMBRE_BUNDLE}.app/Contents">
10
			<fileset dir="resources/bundle" includes="Info.plist PkgInfo" />
11
		</copy>
12
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/MacOS"/>
13
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/MacOS">
14
			<fileset dir="resources/bundle" includes="applet"/>
15
		</copy>
16
		<chmod file="${NOMBRE_BUNDLE}.app/Contents/MacOS/applet" perm="+rwxrxrx"/>
17
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources"/>
18
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources">
19
			<fileset dir="resources/bundle" includes="applet.icns applet.rsrc" />
20
		</copy>
21
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/description.rtfd"/>
22
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/description.rtfd">
23
			<fileset dir="resources/bundle" includes="TXT.rtf" />
24
		</copy>
25
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Scripts"/>
26
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Scripts">
27
			<fileset dir="resources/bundle" includes="main.scpt" />
28
		</copy>
29
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates"/>
30
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates">
31
			<fileset dir="resources/updates" includes="Info.plist" />
32
		</copy>
33
		<unzip src="resources/updates/Frameworks.zip" dest="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates"/>
34
		<!--Borrammos el directorio temporal que crea al descomprimir-->
35
		<delete dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/__MACOSX"/>
36
		<!--Copiamos las extensiones-->
37
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.ai2.gvsig3d"/>
38
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.ai2.gvsig3d">
39
			<fileset dir="${EXTENSIONES}/com.iver.ai2.gvsig3d"/>
40
		</copy>
41
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig"/>
42
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig">
43
			<fileset dir="${EXTENSIONES}/com.iver.cit.gvsig"/>
44
		</copy>
45
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig.wcs"/>
46
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig.wcs">
47
			<fileset dir="${EXTENSIONES}/com.iver.cit.gvsig.wcs"/>
48
		</copy>
49
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig.wfs2"/>
50
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig.wfs2">
51
			<fileset dir="${EXTENSIONES}/com.iver.cit.gvsig.wfs2"/>
52
		</copy>
53
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.core"/>
54
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/com.iver.core">
55
			<fileset dir="${EXTENSIONES}/com.iver.core"/>
56
		</copy>
57
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/es.gva.cit.gvsig.catalogClient"/>
58
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/Java/gvSIG/extensiones/es.gva.cit.gvsig.catalogClient">
59
			<fileset dir="${EXTENSIONES}/es.gva.cit.gvsig.catalogClient"/>
60
		</copy>
61
		<!--Copiamos las librerias nativas-->
62
		<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/NativeLibs"/>
63
		<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Updates/Resources/NativeLibs">
64
			<fileset dir="${LIBRERIAS}"/>
65
		</copy>
66
	</target>
67
</project>

Also available in: Unified diff