Revision 36423

View differences:

tags/tmp_build/build/build.xml
1
<project name="Complete_build_system" basedir="." default="prepare-eclipse-workspace">
2
	<description>
3
		Builds and prepare folders to work with eclipse using maven.
4
		Also is able to generate a release of all system with binaries distribution
5
		and sources distribution.
6
	</description>
7
	<!-- set global properties for this build -->
8
	<dirname file="${ant.file.Complete_build_system}" property="ant.file.Complete_build_system.dir"/>
9
	<property name="mavendir" location="${ant.file.Complete_build_system.dir}/maven" />
10
	<property environment="environment"/>
11

  
12
	<condition property="mvn.executable" value="${mavendir}/bin/mvn.bat" else="${mavendir}/bin/mvn">
13
		<os family="windows" />
14
	</condition>
15

  
16
	<condition property="isLinux">
17
		<and>
18
			<os family="unix" />
19
			<not>
20
				<os family="mac" />
21
			</not>
22
		</and>
23
	</condition>
24
	<condition property="isWindows">
25
		<or>
26
			<os family="windows" />
27
			<os family="win9x" />
28
			<os name="Windows Vista" />
29
		</or>
30
	</condition>
31
	<condition property="isMac">
32
		<os family="mac" />
33
	</condition>
34

  
35
	<condition property="gvsig.os" value="w32">
36
		<os family="windows" />
37
	</condition>
38
	<condition property="gvsig.os" value="linux">
39
		<and>
40
			<os family="unix" />
41
			<not>
42
				<os family="mac" />
43
			</not>
44
		</and>
45
	</condition>
46
	<condition property="gvsig.os" value="mac">
47
		<os family="mac" />
48
	</condition>
49

  
50
	<property name="native-binaries-dir" value="../binaries" />
51

  
52
	<presetdef name="maven">
53
		<exec executable="${mvn.executable}">
54
			<env key="JAVA_HOME" value="${java.home}"/>
55
		</exec>
56
	</presetdef>
57

  
58
	<target name="prepare-eclipse-workspace" depends="mvn-clean,mvn-install-without-tests">
59
		<maven>
60
			<arg value="-Declipse.workspace=../" />
61
			<arg value="eclipse:add-maven-repo" />
62
		</maven>
63
		<maven>
64
			<arg value="eclipse:eclipse" />
65
		</maven>
66

  
67
	</target>
68
	<target name="mvn-clean">
69
		<maven>
70
			<arg value="clean" />
71
		</maven>
72
	</target>
73
	<target name="mvn-install-without-tests">
74
		<maven>
75
			<arg value="install" />
76
			<arg value="-Dmaven.test.skip=true" />
77
		</maven>
78
	</target>
79

  
80
	<target name="install-gvsig-base" depends="mvn-clean,mvn-install-extensions,mvn-eclipse-clean">
81
		<maven>
82
			<arg value="eclipse:eclipse" />
83
		</maven>
84
	</target>
85

  
86
	<target name="mvn-install-extensions">
87
		<maven>
88
			<arg value="install" />
89
			<arg value="-Dmaven.test.skip=true" />
90
			<arg value="-Dinstall-extension" />
91
		</maven>
92
	</target>
93

  
94
	<target name="mvn-install">
95
		<maven>
96
			<arg value="install" />
97
		</maven>
98
	</target>
99

  
100
	<target name="mvn-eclipse-clean">
101
		<maven>
102
			<arg value="eclipse:clean" />
103
		</maven>
104
	</target>
105

  
106
	<target name="mvn-eclipse-eclipse">
107
		<maven>
108
			<arg value="eclipse:eclipse" />
109
		</maven>
110
	</target>
111

  
112
	<!-- TODO: Target for make complete building of gvSIG, calling all enabled projects by default -->
113

  
114
	<!-- target name="work" description="prepares system to begin working with eclipse" depends="prepare-eclipse-workspace" / -->
115

  
116
</project>
117

  
tags/tmp_build/build/distribution/example-distribution/win-distribution/install_15.xml
1
<installation version="1.0">
2
	<info>
3
		<appname>3D</appname>
4
		<appversion>1.2</appversion>
5
		<authors>
6
			<author
7
				name="Generalitat Valenciana. Conselleria d'Infraestructures i Transport"
8
				email="" />
9
			<author name="Iver Tecnologías de la Información S.A."
10
				email="" />
11
		</authors>
12
		<url>http://www.gvsig.gva.es/</url>
13
		<javaversion>1.5</javaversion>
14
	</info>
15

  
16
	<guiprefs height="600" resizable="yes" width="800">
17
		<laf name="liquid">
18
			<os family="windows" />
19
		</laf>
20
	</guiprefs>
21

  
22
	<locale>
23
		<!-- only keep the languages which are also available in gvSIG -->
24
		<langpack iso3="spa" />
25
		<langpack iso3="val" />
26
		<langpack iso3="eng" />
27
		<!--	<langpack iso3="cat"/>
28
			<langpack iso3="chn"/> -->
29
		<langpack iso3="cze" />
30
		<!--	<langpack iso3="dan"/> -->
31
		<langpack iso3="deu" />
32
		<!--	<langpack iso3="fin"/>-->
33
		<langpack iso3="fra" />
34
		<langpack iso3="glg" />
35
		<!--	<langpack iso3="hun"/> -->
36
		<langpack iso3="ita" />
37
		<!--	<langpack iso3="jpn"/>
38
			<langpack iso3="mys"/>
39
			<langpack iso3="ned"/>
40
			<langpack iso3="nor"/>
41
			<langpack iso3="pol"/> -->
42
		<langpack iso3="por" />
43
		<!--	<langpack iso3="rom"/>
44
			<langpack iso3="rus"/>
45
			<langpack iso3="scg"/>
46
			<langpack iso3="svk"/>
47
			<langpack iso3="swe"/>
48
			<langpack iso3="ukr"/> -->
49
	</locale>
50

  
51
	<native os="windows" type="izpack" name="ShellLink.dll" />
52

  
53
	<resources>
54
		<res src="resources/gpl.txt" id="LicencePanel.licence" />
55
		<res src="resources/LEEME.html" id="HTMLInfoPanel.info" />
56
		<res src="resources/images/Logo_gvsig_gva.jpg"
57
			id="Installer.image" />
58
		<res src="resources/userInputSpec.xml" id="userInputSpec.xml" />
59
		<parsable os="windows" targetfile="resources/userInputSpec.xml" />
60
		<res src="resources/userInputLang.xml_val"
61
			id="userInputLang.xml_val" />
62
		<res src="resources/userInputLang.xml_spa"
63
			id="userInputLang.xml_spa" />
64

  
65
	</resources>
66

  
67
	<panels>
68
		<panel classname="HTMLInfoPanel" />
69
		<panel classname="LicencePanel" />
70
		<panel classname="PacksPanel" />
71
		<panel classname="UserInputPanel" />
72
		<panel classname="InstallPanel" />
73
		<panel classname="SimpleFinishPanel" />
74
	</panels>
75

  
76
	<variables>
77
		<variable name="A"
78
			value="../../target/ext3D-distribution/ext3D/win" />
79
	</variables>
80

  
81

  
82

  
83
	<packs>
84
		<!-- aki se ponen las cosas que ha que machacar -->
85
		<pack name="GvSIG UPDATES" required="yes">
86
			<description>GvSIG updates</description>
87

  
88

  
89
			<!-- dll necesarias para la extension 3D -->
90
			<fileset targetdir="$INSTALL_PATH/lib"
91
				dir="../ext3D-distribution/ext3D/win/lib" override="true">
92
				<include name="**/*" />
93
			</fileset>
94

  
95
			<fileset targetdir="$JAVA_HOME/bin"
96
				dir="../ext3D-distribution/ext3D/win/lib" override="true">
97
				<include name="**/*" />
98
			</fileset>
99

  
100

  
101
			<fileset
102
				targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/"
103
				dir="../ext3D-distribution/ext3D/linux/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/"
104
				override="true" os="windows">
105
				<include name="**/lib3DMap-*.jar" />
106
			</fileset>
107
			
108
			<!--file os="windows"
109
				targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/"
110
				src="../ext3D-distribution/ext3D/win/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/lib3DMap-share-1.0-SNAPSHOT.jar"
111
				override="true" /-->
112

  
113
			<!-- Sobreescribiendo el nuevo .ini -->
114
			<!-- file os="windows" targetdir="$INSTALL_PATH/bin"
115
				src="resources/gvSIG.ini" override="true" />
116
				<parsable os="windows"
117
				targetfile="$INSTALL_PATH/bin/gvSIG.ini" /-->
118

  
119
		</pack>
120
		<!-- aki se ponen las cosas que ha que machacar -->
121
		<pack name="3D extensions" required="yes">
122
			<description>Install 3D Extension</description>
123
			<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/"
124
				src="../ext3D-distribution/ext3D/win/bin/gvSIG/extensiones/org.gvsig.ext3Dgui"
125
				override="true" />
126
		</pack>
127

  
128

  
129

  
130
	</packs>
131
</installation>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/install.bat
1
REM This is used at installation time, in order to perform some extra actions
2
REM that the installer is not able to do
3

  
4
REM different syntax in win98 and (nt, xp)
5

  
6
SET > salida.txt
7
SET
8
IF OS_%os% == OS_Windows_NT GOTO wnt
9
GOTO win
10

  
11
:wnt
12
IF NOT EXIST $USER_HOME\gvSIG MKDIR $USER_HOME\gvSIG
13
IF NOT EXIST $USER_HOME\gvSIG\andami-config.xml COPY $INSTALL_PATH\bin\andami-config.xml $USER_HOME\gvSIG\andami-config.xml
14

  
15
:win
16
IF NOT EXIST "$USER_HOME"\gvSIG MKDIR "$USER_HOME"\gvSIG
17
IF NOT EXIST "$USER_HOME"\gvSIG\andami-config.xml COPY "$INSTALL_PATH"\bin\andami-config.xml "$USER_HOME"\gvSIG\andami-config.xml
18

  
19

  
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/launcher-Win32.ini.j15
1
[default]
2
; Nombre de la aplicacion
3
appname = gvSIG
4

  
5
; Ruta al achivo Jar a lanzar
6
jar = %JARNAME%
7

  
8

  
9
; Comando a ejecutar:
10
;    Admite remplazo de variable:
11
;	* #JAVA# ejecutable de java
12
;	* #JAVA_HOME# path del Java_home
13
;	* #JAR# el valor de la variable 'jar' de este fichero
14
;	* #ARGS# cadena con todos los argumentos con los que se ha llamado al lanzador
15
;	* #ARG1#, #ARG2#, ... #ARG9#: parametro recivido en 'n' lugar
16
;	* #ARG0#: Nombre del ejecutable del lanzador
17
;    Tambien admite los valores de la seccion 'Variables' encerrados entre
18
;    el caracter almuadilla '#'
19
; 	 * Nota: los nombres de las variables son case sensitive
20
command = #JAVA# -jar #JAR#
21

  
22

  
23

  
24

  
25
; Lanzar el Jar en ansincrono o no:
26
;     * si(se lanza el javaw.exe y finaliza el lanzador):S SI YES Y 1
27
;     * si(el lanzado se espera a que termine la ejecucion del javaw.exe):{distinto de los anterirores}
28
launchJarAsync = 0
29

  
30
; Modo: dice si se va a usar en modo lanzador de la instalacion o de la aplicacion
31
; (De momento solo afecta al titulo)
32
;     * Instalacion: INSTALL
33
;     * Applicacion: APPLICATION
34
launchMode = INSTALL
35

  
36
; Realizar la comprobaciones o no:
37
;     * si(por defecto):S SI YES Y 1
38
;     * no(debera estar especificado el parametro'jre_home'):{distinto de los anterirores}
39
doChecks = YES
40

  
41
; Realizar la comprobacion de codigo que
42
; retorna la JRE
43
;     * si(por defecto):S SI YES Y 1
44
;     * no:{distinto de los anterirores}
45
checksJREExecutionTerminationCode = YES
46

  
47

  
48

  
49
; Ruta el Java_home a usar en caso de 'doChecks-->No'
50
jre_home =
51
;ejemplo: jre_home = C:/Archivos de programa/Java/j2re1.4.2_11
52

  
53

  
54
; Habilita la pregunta al usuario de si hay que hacer las comprobaciones de JRE etc...
55
;     - por defecto se hace la pregunta
56
;     - Si la respuesta del usario es 'no' se solicita la usuario que indique el ejectuable de la JRE
57
;     * si(se pregunta al usario):S SI YES Y 1
58
;     * no(no se pregunta y se realizan las comprobaciones):{distinto de los anterirores}
59
askForCheckingProcess = SI
60

  
61

  
62

  
63
; Version de JRE requerida
64
jre_version = 1.5.0
65
jre_version_prefered = 1.5.0_12
66

  
67

  
68

  
69
; Descarga remota
70
; 	* los valores valido de downloadEnabled son:
71
;		- habilitado: S SI YES Y 1
72
;		- deshabilitado: {distinto de los anteriores}
73
downloadEnabled = 1
74

  
75

  
76

  
77
; Path del instalable del jre (si no existe y estan
78
;	habilitadas las descargas, lo dejara aqui)
79
jre = jre-1_5_0_12-windows-i586-p.exe
80
downloadJre = http://www.gvsig.org/runtime/jre-1_5_0_12-windows-i586-p.exe
81

  
82

  
83
; Comprobar si esta instaladas las Jai
84
;	- habilitado: S SI YES Y 1 (por defecto)
85
;	- deshabilitado: {distinto de los anteriores}
86
checkJai=S
87
; Path del instalable del jai (si no existe y estan
88
;	habilitadas las descargas, lo dejara aqui)
89
jai = jai-1_1_3-lib-windows-i586-jre.exe
90
;downloadJai = http://www.gvsig.org/jai-1_1_2_01-lib-windows-i586-jre.exe
91
downloadJai = http://www.gvsig.gva.es/fileadmin/conselleria/images/Documentacion/descargas/software/windows/jai-1_1_3-lib-windows-i586-jre.exe
92

  
93

  
94
; Comprobar si esta instaladas las Jai Image I/O
95
;	- habilitado: S SI YES Y 1 (por defecto)
96
;	- deshabilitado: {distinto de los anteriores}
97
checkJai_io=N
98
; Path del instalable del jai io (si no existe y estan
99
;	habilitadas las descargas, lo dejara aqui)
100
jai_io =
101
downloadJai_io =
102

  
103

  
104

  
105
; Esta seccion indica una lista de fichero a
106
; copiar antes de lanzar el comando.
107
; Los ficheros se copiaran si no existen en el
108
; destino.
109
; Destino puede ser un directorio, pero debe finalizar
110
; con '/'
111
; Pueden usarse variables declaradas en la
112
; seccion 'variables' colocadas entre '#'
113
;  * Nota: los nombres de las variables son case sensitive
114
; Requiere los valores:
115
;	* source1: primer fichero origen
116
;	* target1: primer destino
117
;	* source2: segundo fichero origen
118
;	* target2: segundo destino
119
;	...
120
;	* source{n}: 'n' fichero origen
121
;	* target{n}: 'n' destino
122
[CopyRequiredFiles]
123
source1=
124
target1=
125

  
126
source2=
127
target2=
128

  
129
source3=
130
target3=
131

  
132

  
133
; En esta seccion se pueden definir valores
134
; que se pueden utilizar en el parametro 'command'
135
; o en la copia de los ficheros
136
;  * Nota: los nombres son case sensitive
137
[Variables]
138

  
139

  
140

  
141
; En esta seccion se pueden definir valores
142
; que se estableceran como variables de entorno
143
; al arrancar el lanzador (y heredara la aplicacion)
144
[EnvironVariables]
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/uninstall.bat
1
java -jar "$INSTALL_PATH/Uninstaller/uninstaller.jar"
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_por
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/gvSIG.bat
1
@echo off
2
cd "$INSTALL_PATH\"
3

  
4
IF OS_%os% == OS_Windows_NT GOTO wnt
5
GOTO win
6

  
7
:wnt
8
SET PATH=$INSTALL_PATH\lib;%PATH%
9
cd bin
10
"$JAVA_HOME\bin\java.exe" -Djava.library.path="$INSTALL_PATH\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.jar;./lib/iver-utiles.jar;./lib/castor-0.9.5.3-xml.jar;./lib/crimson.jar;./lib/xerces_2_5_0.jar;./lib/javaws.jar;./lib/xml-apis.jar;lib/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1
11
GOTO end
12

  
13
:win
14
SET PATH="$INSTALL_PATH\lib";%PATH%
15
cd bin
16
"$JAVA_HOME\bin\java.exe" -Djava.library.path="$INSTALL_PATH\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.jar;./lib/iver-utiles.jar;./lib/castor-0.9.5.3-xml.jar;./lib/crimson.jar;./lib/xerces_2_5_0.jar;./lib/javaws.jar;./lib/xml-apis.jar;lib/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1
17

  
18
:end
19
pause
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_cat
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_fra
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_eng
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/LEEME.html
1
<html>
2
<head>
3
<style type="text/css">
4
html, body, h1, h2, h3, h4, div, p, ul, li, input {
5
   font-family: Arial, Helvetica, sans-serif;
6
}
7

  
8
h1 {
9
   font-size: large;
10
}
11

  
12
h2 {
13
   font-size: large;
14
}
15

  
16
h3 {
17
   font-size: medium;
18
}
19
</style>
20
</head>
21
<body>
22
<h1>gvSIG, el SIG en software libre de la Generalitat Valenciana
23
(http://www.gvsig.gva.es).</h1>
24

  
25
<h2>Autores:</h2>
26
<ul>
27
<li>Generalitat Valenciana
28
 (Conselleria d'Infraestructures i Transport).</li>
29
<li>Iver Tecnolog&iacute;as de la Informaci&oacute;n S.A.</li>
30
</ul>
31

  
32
<p>Software con licencia GNU/GPL
33
(http://www.fsf.org/licensing/licenses/gpl.html)</p>
34

  
35
<p>Contacto:
36
	gvsig@gva.es<p>
37

  
38
<h2>Requisitos de la aplicaci&oacute;n:</h2>
39
<h3>Sistema</h3>
40
<ul>
41
<li>M&iacute;nimos: Pentium IV / 512 MB RAM / Targeta grafica compatible con OpenGL 1.5</li>
42
<li>Recomendables: Pentium IV / 1 GB RAM / Targeta Grafica compatible con OpenGL 2.0</li>
43
<li>Sistemas operativos: plataformas Windows y Linux.
44
 Probado en XP, Ubuntu Linux y Mac OS X.</li>
45
</ul>
46

  
47
<h3>Software instalado</h3> (disponible en http://www.gvsig.gva.es o en http://java.sun.com)
48
<ul>
49
<li>M&aacute;quina Virtual Java 1.5.</li>
50
<li>JAI (Java Advanced Imaging).</li>
51
<li>JAI Image I/O.</li>
52
</ul>
53

  
54
<p style="text-align:justify">Nota: Las librer&iacute;as JAI y JAI Image I/O deben estar instaladas sobre la M&aacute;quina Virtual Java que gvSIG utilice en su ejecuci&oacute;n. Si se instala una nueva JVM en el sistema y se usa para ejecutar gvSIG ser&aacute; indispensable instalar las librer&iacute;as sobre &eacute;sta (gvSIG se ejecuta con la JVM que tenga por defecto el sistema operativo; para saber cu&aacute;l es, ejecutar <span style="monospace">"java&nbsp;-version"</span> en un interfaz de comandos o consola).</p>
55

  
56
<h2>M&aacute;s informaci&oacute;n y soporte en:</h2>
57
<h3> Web oficial del proyecto:</h3>
58
	http://www.gvsig.gva.es
59

  
60
<h3>Listas de distribuci&oacute;n:</h3>
61
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</span> (soporte para usuarios).
62
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</span> (soporte para desarrolladores).
63
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</span> (soporte para desarrolladores o usuarios de habla no hispana).
64

  
65
</body>
66
</html>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/andami-config.xml
1
<andami-config locale-language="$ISO3_LANG" pluginsDirectory="gvSIG/extensiones">
2
	<andami update="yes"/>
3
        <plugin name="com.iver.cit.gvsig" update="yes"/>
4
        <plugin name="com.iver.core" update="no"/>
5
</andami-config>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_deu
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_ita
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/gvSIG.ini
1
[default]
2

  
3

  
4
; Ruta al achivo Jar a lanzar
5
jar =
6

  
7

  
8
; Comando a ejecutar:
9
;    Admite remplazo de variable:
10
;	* #JAVA# ejecutable de java
11
;	* #JAVA_HOME# path del Java_home
12
;	* #JAR# el valor de la variable 'jar' de este fichero
13
;	* #ARGS# cadena con todos los argumentos con los que se ha llamado al lanzador
14
;	* #ARG1#, #ARG2#, ... #ARG9#: parametro recivido en 'n' lugar
15
;	* #ARG0#: Nombre del ejecutable del lanzador
16
;	* #CLASSPATH#: path declarados en la seccion classpath
17
;    Tambien admite los valores de la seccion 'Variables' encerrados entre
18
;    el caracter almuadilla '#'
19
; 	 * Nota: los nombres de las variables son case sensitive
20
command = #JAVA# -Djava.library.path="#GVSIG_INSTALL_PATH#\lib" -cp #CLASSPATH# -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones #ARGS#
21

  
22

  
23

  
24

  
25
; Lanzar el Jar en ansincrono o no:
26
;     * si(se lanza el javaw.exe y finaliza el lanzador):S SI YES Y 1
27
;     * si(el lanzado se espera a que termine la ejecucion del javaw.exe):{distinto de los anterirores}
28
launchJarAsync = 0
29

  
30
; Modo: dice si se va a usar en modo lanzador de la instalacion o de la aplicacion
31
; (De momento solo afecta al titulo)
32
;     * Instalacion: INSTALL
33
;     * Applicacion: APPLICATION
34
launchMode = APPLICATION
35

  
36
; Realizar la comprobaciones o no:
37
;     * si(por defecto):S SI YES Y 1
38
;     * no(debera estar especificado el parametro'jre_home'):{distinto de los anterirores}
39
doChecks = No
40

  
41
; Ruta el Java_home a usar en caso de 'doChecks-->No'
42
jre_home = $JAVA_HOME
43
;ejemplo: jre_home = C:/Archivos de programa/Java/j2re1.4.2_11
44

  
45

  
46
; Habilita la pregunta al usuario de si hay que hacer las comprobaciones de JRE etc...
47
;     - por defecto se hace la pregunta
48
;     - Si la respuesta del usario es 'no' se solicita la usuario que indique el ejectuable de la JRE
49
;     * si(se pregunta al usario):S SI YES Y 1
50
;     * no(no se pregunta y se realizan las comprobaciones):{distinto de los anterirores}
51
askForCheckingProcess = No
52

  
53

  
54

  
55
; Version de JRE requerida
56
jre_version = 1.5.0
57
jre_version_prefered = 1.5.0_12
58

  
59

  
60

  
61
; Descarga remota
62
; 	* los valores valido de downloadEnabled son:
63
;		- habilitado: S SI YES Y 1
64
;		- deshabilitado: {distinto de los anteriores}
65
downloadEnabled = 0
66

  
67

  
68

  
69
; Path del instalable del jre (si no existe y estan
70
;	habilitadas las descargas, lo dejara aqui)
71
jre =
72
downloadJre =
73

  
74

  
75

  
76
; Path del instalable del jai (si no existe y estan
77
;	habilitadas las descargas, lo dejara aqui)
78
jai =
79
downloadJai =
80

  
81

  
82

  
83
; Path del instalable del jai io (si no existe y estan
84
;	habilitadas las descargas, lo dejara aqui)
85
jai_io =
86
downloadJai_io =
87

  
88

  
89

  
90
; Esta seccion indica una lista de fichero a
91
; copiar antes de lanzar el comando.
92
; Los ficheros se copiaran si no existen en el
93
; destino.
94
; Destino puede ser un directorio, pero debe finalizar
95
; con '/'
96
; Pueden usarse variables declaradas en la
97
; seccion 'variables' colocadas entre '#'
98
;  * Nota: los nombres de las variables son case sensitive
99
; Requiere los valores:
100
;	* source1: primer fichero origen
101
;	* target1: primer destino
102
;	* source2: segundo fichero origen
103
;	* target2: segundo destino
104
;	...
105
;	* source{n}: 'n' fichero origen
106
;	* target{n}: 'n' destino
107
[CopyRequiredFiles]
108
source1 = #GVSIG_INSTALL_PATH#/lib/msvcp71.dll
109
target1 = #JAVA_HOME#/bin/
110

  
111
source2 = #GVSIG_INSTALL_PATH#/lib/msvcr71.dll
112
target2 = #JAVA_HOME#/bin/
113

  
114
source3 = #GVSIG_INSTALL_PATH#/lib/jmrsid.dll
115
target3 = #JAVA_HOME#/bin/
116

  
117
source4 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_cdll.dll
118
target4 = #JAVA_HOME#/bin/
119

  
120
source5 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_dll.dll
121
target5 = #JAVA_HOME#/bin/
122

  
123

  
124
source6 = #GVSIG_INSTALL_PATH#/lib/jecwcompress.dll
125
target6 = #JAVA_HOME#/bin/
126

  
127
source7 = #GVSIG_INSTALL_PATH#/lib/jecw.dll
128
target7 = #JAVA_HOME#/bin/
129

  
130
source8 = #GVSIG_INSTALL_PATH#/lib/NCScnet.dll
131
target8 = #JAVA_HOME#/bin/
132

  
133
source9 = #GVSIG_INSTALL_PATH#/lib/NCSEcwC.dll
134
target9 = #JAVA_HOME#/bin/
135

  
136
source10 = #GVSIG_INSTALL_PATH#/lib/NCSEcw.dll
137
target10 = #JAVA_HOME#/bin/
138

  
139
source11 = #GVSIG_INSTALL_PATH#/lib/NCSUtil.dll
140
target11 = #JAVA_HOME#/bin/
141

  
142

  
143

  
144
source12 = #GVSIG_INSTALL_PATH#/lib/gdal.dll
145
target12 = #JAVA_HOME#/bin/
146

  
147

  
148
source13 = #GVSIG_INSTALL_PATH#/lib/jgdal060.dll
149
target13 = #JAVA_HOME#/bin/
150

  
151
source14 = #GVSIG_INSTALL_PATH#/lib/glut32.dll
152
target14 = #JAVA_HOME#/bin/
153

  
154
source15 = #GVSIG_INSTALL_PATH#/lib/jpeg62.dll
155
target15 = #JAVA_HOME#/bin/
156

  
157
source16 = #GVSIG_INSTALL_PATH#/lib/libimage.dll
158
target16 = #JAVA_HOME#/bin/
159

  
160
source17 = #GVSIG_INSTALL_PATH#/lib/libpng13.dll
161
target17 = #JAVA_HOME#/bin/
162

  
163
source18 = #GVSIG_INSTALL_PATH#/lib/libtiff3.dll
164
target18 = #JAVA_HOME#/bin/
165

  
166
source19 = #GVSIG_INSTALL_PATH#/lib/zlib1.dll
167
target19 = #JAVA_HOME#/bin/
168

  
169
source20 = #GVSIG_INSTALL_PATH#/lib/CrsJniProj.dll
170
target20 = #JAVA_HOME#/bin/
171

  
172
source21 = #GVSIG_INSTALL_PATH#/lib/proj.dll
173
target21 = #JAVA_HOME#/bin/
174

  
175

  
176
; En esta seccion se pueden definir valores
177
; que se pueden utilizar en el parametro 'command'
178
; o en la copia de los ficheros
179
;  * Nota: los nombres son case sensitive
180
[Variables]
181
GVSIG_INSTALL_PATH = $INSTALL_PATH
182

  
183
[EnvironVariables]
184
PROJ_LIB=$INSTALL_PATH/bin/gvSIG/extensiones/org.gvsig.crs/data
185

  
186

  
187
; En esta seccion se indican las rutas a directorios o ficheros
188
; que se quieran incluir en el classpath. Pueden ser rutas a Directorios,
189
; en cuyo caso deben de acabar en '/', o rutas a ficheros, pudiendo usar
190
; los comodines '*' y '?'
191
; Pueden usarse variables declaradas en la
192
; seccion 'variables' colocadas entre '#'
193
;  * Nota: los nombres de las variables son case sensitive
194
;  Por Ejemplo:
195
; path1=C:\Program Files\gvSIG_1/bin/lib/
196
; path2=#INSTALL_PATH#/bin/lib/*.jar
197
; path3=#INSTALL_PATH#/bin/andami.jar
198
[classpath]
199
path1=$INSTALL_PATH/bin/andami.jar
200
path2=$INSTALL_PATH/bin/lib/*.jar
201
path3=$INSTALL_PATH/bin/lib/*.zip
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/gpl.txt
1
	GNU GENERAL PUBLIC LICENSE
2
	Version 2, June 1991
3

  
4
	 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
5

  
6
		Preamble
7

  
8
	The licenses for most software are designed to take away your freedom to share and change it.  By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.  This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it.  (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.)  You can apply it to your programs, too.
9

  
10
	When we speak of free software, we are referring to freedom, not price.  Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
11

  
12
	To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
13

  
14
	For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have.  You must make sure that they, too, receive or can get the source code.  And you must show them these terms so they know their
15
rights.
16

  
17
	We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
18

  
19
	Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software.  If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
20

  
21
	Finally, any free program is threatened constantly by software	patents.  We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary.  To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
22

  
23
	The precise terms and conditions for copying, distribution and modification follow.
24

  
25
				GNU GENERAL PUBLIC LICENSE
26
	TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
27

  
28
	0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License.  The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language.  (Hereinafter, translation is included without limitation in the term "modification".)  Each licensee is addressed as "you".
29

  
30
	Activities other than copying, distribution and modification are not covered by this License; they are outside its scope.  The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
31

  
32
1.	You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
33

  
34
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
35

  
36
2.	You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
37

  
38
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
39

  
40
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
41

  
42
c)	If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License.  (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43

  
44
These requirements apply to the modified work as a whole.  If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works.  But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
45

  
46
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
47

  
48
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
49

  
50
3.	You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
51

  
52
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53

  
54
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
55

  
56
c)	Accompany it with the information you received as to the offer to distribute corresponding source code.  (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
57

  
58
The source code for a work means the preferred form of the work for making modifications to it.  For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable.  However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
59

  
60
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
61

  
62
4.	You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License.  Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License.
63
However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
64

  
65
5.	You are not required to accept this License, since you have not signed it.  However, nothing else grants you permission to modify or distribute the Program or its derivative works.  These actions are prohibited by law if you do not accept this License.  Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
66

  
67
6.	Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions.  You may not impose any further restrictions on the recipients' exercise of the rights granted herein.
68
You are not responsible for enforcing compliance by third parties to this License.
69

  
70
7.	If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License.  If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all.  For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
71

  
72
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
73

  
74
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices.  Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
75

  
76
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
77

  
78
8.	If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded.  In such case, this License incorporates the limitation as if written in the body of this License.
79

  
80
9.	The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time.  Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
81

  
82
Each version is given a distinguishing version number.  If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation.  If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
83

  
84
10.	If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission.  For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this.  Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
85

  
86
NO WARRANTY
87

  
88
11.	BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
89

  
90
12.	IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
91

  
92
END OF TERMS AND CONDITIONS
93

  
94
How to Apply These Terms to Your New Programs
95

  
96
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
97

  
98
To do so, attach the following notices to the program.  It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
99

  
100
<one line to give the program's name and a brief idea of what it does.> Copyright (C) <year>  <name of author>
101

  
102
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
103

  
104
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
105

  
106
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
107

  
108

  
109
Also add information on how to contact you by electronic and paper mail.
110

  
111
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
112

  
113
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
114
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
115

  
116
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License.  Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
117

  
118
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary.  Here is a sample; alter the names:
119

  
120
Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
121

  
122
<signature of Ty Coon>, 1 April 1989
123
Ty Coon, President of Vice
124

  
125
This General Public License does not permit incorporating your program into proprietary programs.  If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library.  If this is what you want to do, use the GNU Library General Public License instead of this License.
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_cze
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/win_shortcut_spec.xml
1
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2

  
3
<shortcuts>
4

  
5
	<skipIfNotSupported/>
6
	<programGroup 	defaultName="Gva/gvSIG"
7
									location="applications"/>
8
	<shortcut	name="gvSIG"
9
						target="$INSTALL_PATH/bin/gvSIG.exe"
10
						workingDirectory="$INSTALL_PATH/bin"
11
						description="gvSIG application"
12
						iconFile="$INSTALL_PATH/bin/ico-gvSIG.ico"
13
						iconIndex="0"
14
						initialState="normal"
15
						programGroup="yes"
16
						desktop="yes"
17
						applications="no"
18
						startMenu="yes"
19
						startup="no">
20
		<createForPack name="gvSIG program"/>
21
	</shortcut>
22
		
23
   	<shortcut	name="User Manual"
24
				target="$INSTALL_PATH\user-doc\user-doc-0.3.pdf"
25
		     	programGroup="yes"
26
				desktop="no"
27
				applications="no"
28
				startMenu="no"
29
				startup="no"
30
				iconFile="$INSTALL_PATH\bin\help.ico"
31
				commandLine=""
32
				description="Documentation">  
33
     <createForPack name="Documentation" />
34
   </shortcut>
35
   
36
	<shortcut
37
         name="Uninstall gvSIG"
38
         programGroup="yes"
39
         desktop="no"
40
         applications="no"
41
         startMenu="no"
42
         startup="no"
43
         type="Application"
44
         encoding="UTF-8"
45
         target="$INSTALL_PATH\bin\uninstall.bat"
46
         commandLine=""
47
         workingDirectory=""
48
         description="Uninstall gvSIG"
49
         iconIndex="0"
50
         iconFile="$INSTALL_PATH\bin\uninstall.ico"
51
         initialState="noShow">
52
	</shortcut>
53
   
54
</shortcuts>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_val
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_spa
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
tags/tmp_build/build/distribution/example-distribution/win-distribution/resources/userInputSpec.xml
1
<userInput>
2
	<panel order="0">
3
		<field 	type="search" 
4
				variable="INSTALL_PATH"
5
				size="45">
6
  			<description align="left" />
7
  			<spec 	txt="Path to gvSIG:" 
8
		  			id="text.label"
9
  					checkfilename="bin/andami.jar"
10
        			type="directory" 
11
        			result="directory">
12
  			<choice value="/usr/local/gvSIG_1.0" os="unix" />
13
  			<choice value="/opt/gvSIG_1.0" os="unix" />
14
  			<choice value="$USER_HOME/gvSIG_1.0" os="unix" />
15
  			<choice value="C:\Archivos de Programa\gvSIG_1.0" os="windows" />
16
  			<choice value="C:\Program Files\gvSIG_1.0" os="windows" />
17
  			</spec>
18
		</field>
19
	</panel>
20
</userInput>
21

  
tags/tmp_build/build/distribution/example-distribution/win-distribution/build.xml
1
<project name="instalador-gvSIG" default="init" basedir=".">
2
	<!--
3
	<property name="dir_inst" location="C:\Archivos de programa"/>
4
	<property name="base_dir" location="./"/>		
5
	<property name="dir_libs" location="C:\Archivos de programa\IzPack\lib"/>
6
	<property name="vers" location="0.6"/>
7
	<property name="izpack_dir" location="C:\Archivos de programa\IzPack"/>
8
	-->
9
	
10
	<property name="dir_inst" location="/usr/local"/>
11
	<property name="base_dir" location="./"/>	
12
	<!--property name="base_dir" location="D:\java\workspaces\osg_2_2_1-snapshot\ext3Dgui\target\ext3Dgui-1.0-SNAPSHOT-distribution\ext3Dgui-1.0-SNAPSHOT\win\	"/-->
13
	<property name="izpack_dir" location="../../../build/distribution/IzPack/"/>
14
	<property name="dir_libs" location="${izpack_dir}/lib"/>
15
	<property name="INSTALL_FILE" location="install_15.xml"/>
16
	<property name="JARNAME" location="default_name_installer-WIN"/>
17
	
18
	<taskdef name="izpack" classpath="${dir_libs}/compiler.jar" classname="com.izforge.izpack.ant.IzPackTask"/>
19
	
20
	<target name="init">
21
		<izpack input="${INSTALL_FILE}" 
22
				output="${JARNAME}" 
23
				installerType="standard" 
24
				basedir="${base_dir}" 
25
				izPackDir="${izpack_dir}/"/>
26
	</target>
27
	
28
	<target name="clean">
29
		<delete>
30
			<fileset dir=".">
31
			    <include name="**.zip"/>
32
			</fileset>
33
		</delete>
34
		<delete dir="bin" />
35
		<delete dir="extensions" />
36
	</target>
37
	
38
</project>
tags/tmp_build/build/distribution/example-distribution/win-distribution/distribution-win32.xml
1
<assembly>
2
  <id>distribution</id>
3
  <formats>
4
    <format>dir</format>
5
  </formats>
6
  <includeBaseDirectory>true</includeBaseDirectory>
7
  <!-- baseDirectory>d:/java/distri</baseDirectory-->
8
  <fileSets>
9
	<!-- Extructure for the extension -->
10
    <fileSet>
11
      <directory>/config</directory>
12
	  <outputDirectory>/win/bin/${extension-distribution}</outputDirectory>
13
    </fileSet>
14
	<fileSet>
15
      <directory>/images</directory>
16
	  <outputDirectory>/win/bin/${extension-distribution}/images</outputDirectory>
17
    </fileSet>
18
	<!-- Extructure for the native libraries -->
19
	<fileSet>
20
      <directory>${basedir}/../binaries/w32/3D/</directory>
21
	  <outputDirectory>/win/lib</outputDirectory>
22
    </fileSet>
23
  </fileSets>
24
  <files>
25
    <file>
26
      <source>build.number</source>
27
      <outputDirectory>/win/bin/${extension-distribution}</outputDirectory>
28
    </file>
29
  </files>
30
  <!-- *********************************************************************** -->
31
  <!-- *													   *-->
32
  <!-- ***********************************************************************-->
33
  <dependencySets>
34
    <dependencySet>
35
	  <outputDirectory>/win/bin/${extension-distribution}/lib/</outputDirectory>
36
	  <includes>
37
        <include>org.gvsig.osgvp.libosgvp:*</include>
38
		<include>jogl:*</include>
39
		<include>org.gvsig:lib3DMap</include>
40
		<include>org.gvsig:libCacheService</include>
41
		<include>org.gvsig:ext3Dgui</include>
42
      </includes>
43
    </dependencySet>
44
	 <dependencySet>
45
	  <outputDirectory>/win/bin/${gvsig-extension-distribution}/lib</outputDirectory>
46
	  <includes>
47
        <include>org.gvsig:lib3DMap-share</include>
48
	  </includes>
49
    </dependencySet>
50
  </dependencySets>
51
</assembly>
tags/tmp_build/build/distribution/example-distribution/win-distribution/installer_files/LLIG-ME.txt
1
gvSIG v1.0 RC1
2

  
3

  
4
Requisits de l'aplicaci?:
5

  
6
? ? - Sistema
7

  
8
? ? ? ? ? M?nims: Pentium III / 256 MB RAM.
9

  
10
? ? ? ? ? Recomanables: Pentium 4 / 512 MB RAM.
11

  
12
? ? ? ? ? Sistemes operatius: plataformes Windows i Linux.
13
? ? ? ? Provat en Win98/XP, Linux Suse 8.2/9.0/9.2 i Linux Debian(Lliurex).
14

  
15

  
16
? ? - Programari instal?lat (disponible en http://www.gvsig.gva.es o en http://java.sun.com)
17

  
18
? ? ? ? ? M?quina Virtual Java 1.4.2 (06 o superior).
19

  
20
? ? ? ? ? JAI (Java Advanced Imaging).
21

  
22
? ? ? ? ? JAI Image I/O.
23

  
24

  
25
Nota: les libreries JAI i JAI Image I/O han d'estar instal?lades sobre la M?quina Virtual Java que gvSIG utilitze en l'execuci?.
26

  
27

  
28
M?s informaci? ? suport:
29

  
30
? ? Web oficial del projecte:
31

  
32
? ? ? ? http://www.gvsig.gva.es
33

  
34
? ? Llistes de distribuci?:
35

  
36
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios (suport per a usuaris).
37

  
38
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores (suport per a desenvolupadors).
39

  
40
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional (suport per a usuaris o desenvolupadors de parla no-hispana).
41

  
42

  
tags/tmp_build/build/distribution/example-distribution/win-distribution/installer_files/LEEME.txt
1
gvSIG v1.0 RC1
2

  
3
Requisitos de la aplicaci?n:
4

  
5
? ? - Sistema
6

  
7
? ? ? ? ? M?nimos: Pentium III / 256 MB RAM.
8

  
9
? ? ? ? ? Recomendables: Pentium 4 / 512 MB RAM.
10

  
11
? ? ? ? ? Sistemas operativos: plataformas Windows y Linux.
12
? ? ? ? Probado en Win98/XP, Linux Suse 8.2/9.0/9.2 y Linux Debian(Lliurex).
13

  
14

  
15
? ? - Software instalado (diponible en http://www.gvsig.gva.es o en http://java.sun.com)
16

  
17
? ? ? ? ? M?quina Virtual Java 1.4.2 (06 o superior).
18

  
19
? ? ? ? ? JAI (Java Advanced Imaging).
20

  
21
? ? ? ? ? JAI Image I/O.
22

  
23

  
24
Nota: Las librer?as JAI y JAI Image I/O deben estar instaladas sobre la M?quina Virtual Java que gvSIG utilice en su ejecuci?n.
25

  
26

  
27
M?s informaci?n y soporte:
28

  
29
? ? Web oficial del proyecto:
30

  
31
? ? ? ? http://www.gvsig.gva.es
32

  
33
? ? Listas de distribuci?n:
34

  
35
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios (soporte para usuarios).
36

  
37
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores (soporte para desarrolladores).
38

  
39
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional (soporte para usuarios o desarrolladores de habla no hispana).
tags/tmp_build/build/distribution/example-distribution/win-distribution/installer_files/README.txt
1
gvSIG v1.0 RC1
2

  
3

  
4
Application Requirements:
5

  
6
? ? - System
7

  
8
? ? ? ? ? At least: Pentium III / 256 MB RAM.
9

  
10
? ? ? ? ? Recommended: Pentium 4 / 512 MB RAM.
11

  
12
????????? OSes: platforms Windows and Linux.
13
????????Tested in Win98/XP, Linux Suse 8.2/9.0/9.2 and Linux Debian(Lliurex).
14

  
15

  
16
? ? - Installed Software (available in http://www.gvsig.gva.es or in http://java.sun.com)
17

  
18
????????? Java VM 1.4.2 (06 or above).
19

  
20
????????? JAI (Java Advanced Imaging).
21

  
22
????????? JAI Image I/O.
23

  
24
Note: The JAI and JAI Image I/O must be installed into the same Java VM that runs gvSIG.
25

  
26

  
27
Further information and support:
28

  
29
? ? Official web site:
30

  
31
? ? ? ? http://www.gvsig.gva.es
32

  
33
? ? Mailing lists:
34

  
35
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios (users).
36

  
37
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores (developers).
38

  
39
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional (non-spanish users and developers).
tags/tmp_build/build/distribution/example-distribution/win-distribution/installer_files/install.bat
1
java -jar JARNAME
tags/tmp_build/build/distribution/example-distribution/win-distribution/Notas_asociaciacion_archivos.txt
1

  
2
Pareceser que hay que a?adir unas claves al registro... 
3
puede hacerse generando un fichero .reg 
4
con las claves preparadas y usando el regedit en modo silencioso
5

  
6
el comando es:
7
  regedit /s fichero.reg
8

  
9

  
10
la claves son:
11
HKCR\{ext}  = {typeAbr}
12
HKCR\{typeAbr}\ = {typeName}
13
HKCR\{typeAbr}\DefaultIcon = {FileIcon}
14
HKCR\{typeAbr}\shell\open\command = {exeCommand}
15

  
16

  
17
estas no parecen necesarias:
18
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\{ext}\Application = {exeName}
19
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\{ext}\OpenWithList\a = {exeName}
20

  
21
donde:
22
{ext} = ".gvp"
23
{typeAbr} ="gvSIGProject"
24
{typeName} ="gvSIG Project file"
25
{FileIcon} = "gvSIG.ico" || "gvSIG.exe"
26
{exeCommand} = "gvSIG.exe %L"
27
{exeName} = "gvSIG.exe"
28

  
29

  
30
Ejeplo de fichero .reg:
31
REGEDIT4
32

  
33
[HKEY_CLASSES_ROOT\.gvp]
34
@="gvSIGProject"
35

  
36
[HKEY_CLASSES_ROOT\gvSIGProject]
37
@="gvSIG Project file"
38

  
39
[HKEY_CLASSES_ROOT\gvSIGProject\DefaultIcon]
40
@="C:\\Archivos de programas\\gvSIG_1.0\\bin\\ico-gvSIG.ico,0"
41

  
42

  
43
[HKEY_CLASSES_ROOT\gvSIGProject\shell\open]
44
@="Abrir"
45

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff