Revision 18025

View differences:

tags/tmp_build/install/CD_ROM/buildCD.xml
1
<project name="CD_gvSIG" default="main">
2

  
3
	<property file="buildCD.properties"/>
4
	<property file="../../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/build.number"/>
5
	<property file="../build.properties" prefix="install."/>
6
	<property name="OUTPUT_DIR" value="${install.OUTPUT_DIR}"/>
7

  
8
	<propertyfile file="temp.properties">
9
		<entry key="bversion" value="${version}"/>
10
	</propertyfile>
11

  
12
	<property name="JRE_Zip" value="./JRE.zip"/>
13
	<property name="Extructure_Zip" value="./CD_extructure.zip"/>
14
	<property name="Andami" location="../../_fwAndami"/>
15
	<property name="binaries" location="../../binaries"/>
16
	<property name="base.dir" location="cd_gvSIG"/>
17
	<property name="nombreISO" value="gvSIG"/>
18
	<property name="Etiqueta" value="gvSIG-1_2_Build_${build.number}" />
19

  
20
	<replace file="temp.properties" token="." value="_"/>
21
	<property file="temp.properties"/>
22

  
23
	<available file="${OUTPUT_DIR}/gvSIG-${bversion}-src.zip" property="src.present"/> <!--Verificar que los fuentes esten con los instalables -->
24

  
25
	<condition property="we.linux">
26
		<os family="unix"/>
27
	</condition>
28

  
29
	<target name="main" depends="FilesCopy,detectSRC,FilesReplace,moveInstalables,makeISO"> <!-- el target makeInstalables no se realiza por defecto-->
30
		<delete file="temp.properties"/>
31
		<echo message="*******************************"/>
32
		<echo message="*******      DONE      ********"/>
33
		<echo message="*******************************"/>
34

  
35
	</target>
36
	<target name="FilesCopy">
37
        <delete dir="${base.dir}" failonerror="false"/>
38
		<mkdir dir="${base.dir}"/>
39
		<unzip src="${JRE_Zip}" dest="${base.dir}"/>
40
		<unzip src="${Extructure_Zip}" dest="${base.dir}"/>
41
		<copy todir="${base.dir}/gvSIG/bin" file="${Andami}/andami.jar"/>
42
		<copy todir="${base.dir}/gvSIG/bin" file="${Andami}/castor.properties"/>
43
		<copy todir="${base.dir}/gvSIG/bin" file="${Andami}/schemas/andami-config.xml"/>
44

  
45
		<copy todir="${base.dir}/gvSIG/bin/lib" >
46
			<fileset dir="${Andami}/lib"/>
47
		</copy>
48
		<copy todir="${base.dir}/gvSIG/bin/theme" >
49
			<fileset dir="${Andami}/theme"/>
50
		</copy>
51
		<copy todir="${base.dir}/gvSIG/bin/gvSIG" >
52
			<fileset dir="${Andami}/gvSIG"/>
53
		</copy>
54
		<copy todir="${base.dir}/cachedir">
55
			<fileset dir="${Andami}/cachedir"/>
56
		</copy>
57

  
58
		<copy todir="${base.dir}/gvSIG/cachedir">
59
			<fileset dir="${Andami}/cachedir"/>
60
		</copy>
61
		<copy todir="${base.dir}/gvSIG/bin/cachedir">
62
			<fileset dir="${Andami}/cachedir"/>
63
		</copy>
64

  
65

  
66

  
67
		<move file="${base.dir}/r_0.txt" tofile="${base.dir}/r_${build.number}.txt"/>
68

  
69
		<!-- updating dlls -->
70

  
71
		<copy todir="${base.dir}/gvSIG/JRE/windows/bin" overwrite="true">
72
			<fileset dir="${binaries}/w32/3D" includes="*.dll,**/*.dll"/>
73
			<fileset dir="${binaries}/w32/crs" includes="*.dll"/>
74
			<fileset dir="${binaries}/w32/raster" includes="*.dll"/>
75
			<fileset dir="${binaries}/w32/system" includes="*.dll"/>
76
		</copy>
77

  
78

  
79

  
80
	</target>
81

  
82
	<target name="detectSRC" depends="withSRC,noSRC">
83
	</target>
84

  
85
	<target name="withSRC" if="src.present">
86
		<move file="${base.dir}/leeme_conSRC.htm" tofile="${base.dir}/leeme.htm"/>
87
		<move file="${base.dir}/readme_conSRC.htm" tofile="${base.dir}/readme.htm"/>
88
		<delete file="${base.dir}/leeme_sinSRC.htm"/>
89
		<delete file="${base.dir}/readme_sinSRC.htm"/>
90

  
91
	</target>
92

  
93
	<target name="noSRC" unless="src.present">
94
		<move file="${base.dir}/leeme_sinSRC.htm" tofile="${base.dir}/leeme.htm"/>
95
		<move file="${base.dir}/readme_sinSRC.htm" tofile="${base.dir}/readme.htm"/>
96
		<delete file="${base.dir}/leeme_conSRC.htm"/>
97
		<delete file="${base.dir}/readme_conSRC.htm"/>
98
	</target>
99

  
100
	<target name="FilesReplace">
101

  
102

  
103
				<replace file="${base.dir}/r_${build.number}.txt" token="%VERSION%" value="${version}"/>
104
				<replace file="${base.dir}/r_${build.number}.txt" token="%BVERSION%" value="${bversion}"/>
105
				<replace file="${base.dir}/r_${build.number}.txt" token="%BUILDNUMBER%" value="${build.number}"/>
106

  
107
				<replace file="${base.dir}/autorun.inf" token="%VERSION%" value="${bversion}"/>
108
				<replace file="${base.dir}/autorun.inf" token="%BVERSION%" value="${bversion}"/>
109
				<replace file="${base.dir}/autorun.inf" token="%BUILDNUMBER%" value="${build.number}"/>
110

  
111
				<replace file="${base.dir}/leeme.htm" token="%VERSION%" value="${version}"/>
112
				<replace file="${base.dir}/leeme.htm" token="%BVERSION%" value="${bversion}"/>
113
				<replace file="${base.dir}/leeme.htm" token="%BUILDNUMBER%" value="${build.number}"/>
114

  
115
				<replace file="${base.dir}/readme.htm" token="%VERSION%" value="${version}"/>
116
				<replace file="${base.dir}/readme.htm" token="%BVERSION%" value="${bversion}"/>
117
				<replace file="${base.dir}/readme.htm" token="%BUILDNUMBER%" value="${build.number}"/>
118

  
119

  
120
	</target>
121

  
122
	<target name="makeInstalables">
123

  
124
		<ant antfile="build.xml" dir="../" /> <!--Esto de momento en el branch no se usa-->
125

  
126
	</target>
127
	<target name="moveInstalables">
128
<!-- 		Se debe pensar si se mantienen esos instalabes que se acaban de generar o se borran -->
129

  
130
		<copy todir="${base.dir}/instalar">
131
			<fileset dir="${OUTPUT_DIR}" includes="*.bin,*.exe,*mac*.zip"/>
132
		</copy>
133

  
134
		<chmod dir="${base.dir}/instalar" perm="ugo+rx"
135
       		includes="*.bin"/>
136
		<chmod dir="${base.dir}/gvSIG.sh" perm="ugo+rx" />
137
		<chmod dir="${base.dir}/gvSIG/bin/gvSIG.sh" perm="ugo+rx" />
138
		<chmod dir="${base.dir}/gvSIG/JRE/linux/bin/java" perm="ugo+rx" />
139

  
140
	</target>
141

  
142
	<target name="makeISO" depends="makeISO_LIN,makeISO_WIN">
143
		<echo message="CD GENERATOR DONE" />
144
	</target>
145

  
146
	<target name="makeISO_LIN" if="we.linux">
147
		<exec executable="mkisofs">
148
			<arg line="-udf -r -J -T -hide-joliet-trans-tbl -hide-rr-moved -V ${Etiqueta} -o ${nombreISO}-${bversion}_Build_${build.number}.iso ${base.dir}"/>
149
		</exec>
150

  
151
	</target>
152

  
153
	<target name="makeISO_WIN" unless="we.linux">
154
		<echo message="El sistema operativo no es Linux, se deberá generar un iso de la carpeta ${base.dir}"/>
155
	</target>
156

  
157

  
158
</project>
0 159

  
tags/tmp_build/install/CD_ROM/buildCD.properties
1
version=1.2
0 2

  
tags/tmp_build/install/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>install</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
	</buildSpec>
9
	<natures>
10
	</natures>
11
</projectDescription>
0 12

  
tags/tmp_build/install/distribucion.sh
1
#!/bin/bash
2

  
3
# Si se produce un error, salimos inmediatamente
4
set -e
5

  
6
# Obtenemos el locale
7
LOC=`echo $LANG | sed 's/_.*//'`
8

  
9
# Comprobar que estamos en el directorio adecuado
10
if [ "$LOC" = "es" ] ; then
11
  ERROR_BASEDIR="Este script debe invocarse desde el directorio raiz del workspace o desde el directorio \'install\'"
12
else
13
  ERROR_BASEDIR="This script must be run from the workspace\'s root directory or from the \'install\' directory"
14
fi
15
[ -d _fwAndami ] && [ -d install ] && cd install
16
if [ ! -d instalador-gvSIG-lin ] || [ ! -d instalador-gvSIG-win ] || [ ! -d ../_fwAndami ] ; then
17
        echo $ERROR_BASEDIR
18
        exit 1 ;
19
fi
20

  
21
DIR_BASE=`pwd`
22

  
23
source variables.sh
24
# Get a version with format 1_0_alpha
25
UNDERSCORE_VERSION=`echo $FULLVERSION | sed 'y/./_/'`
26
# Get a version with format 10_alpha
27
BRIEFVERSION=`echo $FULLVERSION | sed 's/\.//'`
28
# The name of the dir which will be ZIPed, containing the resulting installer
29
INSTALLER_DIR="$APPNAME"-$FULLVERSION\_installer
30
JARNAME="$APPNAME"-"$FULLVERSION".jar
31
# The extension targets on the this version of gvSIG:
32
GVSIG_VERSION=1.0
33

  
34
BUILDNUMBER=`sed -n 's/build.number=//p' ../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/build.number`
35

  
36
#ZIPNAME="$APPNAME"-"$UNDERSCORE_VERSION"\_"$BUILDNUMBER".zip
37
DIR_LIN=instalador-gvSIG-lin
38
DIR_WIN=instalador-gvSIG-win
39
DIR_MAC=instalador-gvSIG-mac
40
WINDOWSZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586.7z
41
LINUXZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586.tgz
42

  
43
LINUXBIN="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586.bin
44
LINUXBINWITHJRE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586-withjre.bin
45

  
46
WINDOWSEXE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586.exe
47
WINDOWSEXEWITHJRE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586-withjre.exe
48

  
49
MAC_10_ZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-mac-10_3.zip
50

  
51
#Directorios
52
#OUTPUT_DIR=/mnt/sercartlin/grupo-sig-ca/Testing/Versiones/v"$FULLVERSION"\_"$BUILDNUMBER"
53
OUTPUT_DIR="$TARGET_DIR"/v"$FULLVERSION"\_"$BUILDNUMBER"
54
PATH_SOURCE_EXT=../_fwAndami/gvSIG/extensiones
55
PATH_SOURCE_MANDAT_EXT=../../../../../_fwAndami/gvSIG/extensiones
56

  
57

  
58
echo "*****************"
59
echo "      BASE       "
60
echo "*****************"
61
# Para Linux
62
echo -n "$DIR_BASE"/"$DIR_LIN" "-- "
63
cd "$DIR_BASE"/"$DIR_LIN"
64
rm bin -rf
65
mkdir -p bin/gvSIG/extensiones
66
cp installer_files/LEEME installer_files/LLIG-ME installer_files/README bin
67
cp resources/gpl.txt bin
68
# No enlazamos directamente el directorio lib para no incluir el directorio CVS
69
mkdir -p bin/lib
70
cd "$DIR_BASE"/"$DIR_LIN"/bin/lib
71
for i in ../../../../_fwAndami/lib/*.jar ; do
72
  ln -s "$i" .
73
done
74
for i in ../../../../_fwAndami/lib/*.zip ; do
75
  ln -s "$i" .
76
done
77
cd "$DIR_BASE"/"$DIR_LIN"
78
ln -s ../../../_fwAndami/andami.jar bin/
79
ln -s ../../../_fwAndami/castor.properties bin/
80
#cp resources/andami-config.xml bin
81
echo OK.
82

  
83

  
84
# Para Windows
85
echo -n "$DIR_BASE"/"$DIR_WIN" "-- "
86
cd "$DIR_BASE"/"$DIR_WIN"
87
rm bin -rf
88
mkdir -p bin/gvSIG/extensiones
89
cp installer_files/LEEME.txt installer_files/LLIG-ME.txt installer_files/README.txt bin
90
cp resources/gpl.txt bin
91
# No enlazamos directamente el directorio lib para no incluir el directorio CVS
92
mkdir -p bin/lib
93
cd "$DIR_BASE"/"$DIR_WIN"/bin/lib
94
for i in ../../../../_fwAndami/lib/*.jar ; do
95
  ln -s "$i" .
96
done
97
for i in ../../../../_fwAndami/lib/*.zip ; do
98
  ln -s "$i" .
99
done
100
cd "$DIR_BASE"/"$DIR_WIN"
101
ln -s ../../../_fwAndami/andami.jar bin
102
ln -s ../../../_fwAndami/castor.properties bin/
103
#cp resources/andami-config.xml bin
104

  
105
#Copiamos el lanzador y sus tracuciones al tmpResources
106
rm -Rf tmpResources
107
mkdir tmpResources
108
cp -R ../launcher/izpack-launcher-1.3/dist/* ./tmpResources
109
mv ./tmpResources/launcher-Win32.exe ./tmpResources/gvSIG.exe
110
#Quitamos el ini, manifest y los CVS
111
rm ./tmpResources/*.ini ./tmpResources/*.manifest
112
find ./tmpResources -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
113
cp ./resources/gvSIG.ini ./tmpResources/gvSIG.ini
114
echo OK.
115

  
116
# Estas extensiones se copian directamente al directorio destino, ya que no vamos a dar
117
# opcion a no instalarlas, son obligatorias
118
cd "$DIR_BASE"
119
i=0
120
while [ ! -z ${MANDATORY_EXTENSIONS[$i]} ]
121
do
122
  echo ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_LIN"/bin/gvSIG/extensiones
123
  ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_LIN"/bin/gvSIG/extensiones
124
  echo ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_WIN"/bin/gvSIG/extensiones
125
  ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_WIN"/bin/gvSIG/extensiones
126
  i=`expr $i + 1`
127
done
128

  
129
## Eliminamos el driver de oracle
130
find . -name ojdbc14.jar -type f -exec rm -rf {} 2> /dev/null ';' || true
131
find . -name gt2-oracle-spatial-2.2.1.jar -type f -exec rm -rf {} 2> /dev/null ';' || true
132
find . -name sdoapi.jar -type f -exec rm -rf {} 2> /dev/null ';' || true
133

  
134
echo "*****************"
135
[ $LOC = "es" ] && echo "   EXTENSIONES   "
136
[ $LOC != "es" ] && echo "   EXTENSIONS   "
137
echo "*****************"
138

  
139
rm -rf $DIR_LIN/extensiones
140
mkdir $DIR_LIN/extensiones
141
rm -rf $DIR_WIN/extensiones
142
mkdir $DIR_WIN/extensiones
143

  
144
i=0
145
while [ ! -z ${EXTENSIONS[$i]} ]
146
do
147
  [ $LOC = "es" ] && echo "Copiando "${EXTENSIONS[$i]}
148
  [ $LOC != "es" ] && echo "Copying "${EXTENSIONS[$i]}
149
  echo cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_LIN"/extensiones -rf
150
  cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_LIN"/extensiones -rf
151
  echo cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_WIN"/extensiones -rf
152
  cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_WIN"/extensiones -rf
153
  i=`expr $i + 1`
154
done
155

  
156

  
157
echo "*****************"
158
echo "    INST-WIN     "
159
echo "*****************"
160
# Generar el instalador (jar) para windows
161
cd "$DIR_BASE"/"$DIR_WIN"
162
rm "$JARNAME" -f
163
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME"
164

  
165
echo "*****************"
166
echo "    INST-LIN     "
167
echo "*****************"
168
# Generar el instalador (jar) para Linux
169
cd "$DIR_BASE"/"$DIR_LIN"
170
rm "$JARNAME" -f
171
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME"
172

  
173

  
174
echo "******************"
175
[ $LOC = "es" ] && echo " GENERAR DISTRIB "
176
[ $LOC != "es" ] && echo " GENERATE DISTRIB "
177
echo "******************"
178
# Generar el tar.gz para Linux y el EXE para Windows
179

  
180
mkdir -p "$OUTPUT_DIR"
181
echo "- Linux"
182
## Para Linux
183
cd "$DIR_BASE"/"$DIR_LIN"
184
rm -Rf "$INSTALLER_DIR"
185
cp -a installer_files "$INSTALLER_DIR"
186
rm -R "$INSTALLER_DIR"/CVS 2> /dev/null && true
187
# Set the correct version number in the scripts and files
188
if [ -f  "$INSTALLER_DIR"/install.sh ] ; then
189
  sed "s/JARNAME/$JARNAME/" "$INSTALLER_DIR"/install.sh > "$INSTALLER_DIR"/install.sh.bak
190
  mv "$INSTALLER_DIR"/install.sh.bak "$INSTALLER_DIR"/install.sh ;
191
  chmod +x "$INSTALLER_DIR"/install.sh
192
fi
193
#mv "$JARNAME" "$INSTALLER_DIR"
194
cp "$JARNAME" "$INSTALLER_DIR"
195
tar -cvzf "$LINUXZIP" "$INSTALLER_DIR"
196
rm -Rf "$INSTALLER_DIR"
197
mv "$LINUXZIP" "$OUTPUT_DIR"
198

  
199
## Nueva instalacion para linux
200
cd "$DIR_BASE"/"$DIR_LIN"
201
rm -Rf "$INSTALLER_DIR"
202
mkdir -p "$INSTALLER_DIR"/tmp_gvSIGInstall
203
cp "$JARNAME" "$INSTALLER_DIR"/tmp_gvSIGInstall
204
cd "$INSTALLER_DIR"
205
cp -R "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/dist/* ./tmp_gvSIGInstall
206
find . -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
207

  
208
sed "s/%JARNAME%/$JARNAME/" ./tmp_gvSIGInstall/launcher.ini > ./tmp_gvSIGInstall/launcher.ini.bak
209
mv ./tmp_gvSIGInstall/launcher.ini.bak ./tmp_gvSIGInstall/launcher.ini;
210

  
211
tar -cvzf ./tmp.tgz ./tmp_gvSIGInstall
212
cp "$DIR_BASE"/"$DIR_LIN"/jre/*-1_4_2_*.gz ./tmp_gvSIGInstall
213
tar -cvzf ./tmp_wjre.tgz ./tmp_gvSIGInstall
214
echo '#!/bin/sh' > xx.tmp
215
lcount=`cat xx.tmp "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh | wc -l`
216
lcount=$(($lcount+2)) # sumamos dos: uno por la linea siguiente y otro para el inicio
217
echo "lcount=$lcount" >> xx.tmp
218
cat xx.tmp "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh ./tmp.tgz  > "$LINUXBIN"
219
cat xx.tmp "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh ./tmp_wjre.tgz  > "$LINUXBINWITHJRE"
220
rm xx.tmp
221
chmod a+x "$LINUXBIN" "$LINUXBINWITHJRE"
222
mv "$LINUXBINWITHJRE" "$LINUXBIN" "$OUTPUT_DIR"
223
cd "$DIR_BASE"/"$DIR_LIN"
224
rm -Rf "$INSTALLER_DIR"
225
## Fin Nueva instalacion para linux
226
rm "$JARNAME"
227

  
228

  
229

  
230

  
231
## Para Windows
232
echo "- Windows"
233
#set -x
234
cd "$DIR_BASE"/"$DIR_WIN"
235
rm -Rf "$INSTALLER_DIR"
236
cp -a installer_files "$INSTALLER_DIR"
237

  
238
cp -aR ../launcher/izpack-launcher-1.3/dist/* "$INSTALLER_DIR"
239
rm -f "$INSTALLER_DIR"/install.bat
240

  
241
find "$INSTALLER_DIR" -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
242

  
243
## hacemos las sustituciones de la variable
244
sed "s/%JARNAME%/$JARNAME/" "$INSTALLER_DIR"/launcher-Win32.ini > "$INSTALLER_DIR"/launcher-Win32.ini.bak
245
mv "$INSTALLER_DIR"/launcher-Win32.ini.bak "$INSTALLER_DIR"/launcher-Win32.ini;
246

  
247

  
248
mv "$JARNAME" "$INSTALLER_DIR"
249
cd "$INSTALLER_DIR"
250

  
251
if [ -f  "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" ] ; then
252
	rm -f "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP"
253
fi
254
"$DIR_BASE"/launcher/7z/7za a -r "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" *
255
cd -
256
sed "s/%TITLE%/$APPNAME-$BRIEFVERSION\_$BUILDNUMBER/" ../launcher/7z/dist_config.txt > dist_config.txt
257
cat ../launcher/7z/7zS.sfx  dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXE"
258

  
259
### paquete con los instalables de JRE, Jai y Jai i/o
260
"$DIR_BASE"/launcher/7z/7za a "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" "$DIR_BASE"/"$DIR_WIN"/jre_installers/*.exe
261
cat ../launcher/7z/7zS.sfx  dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXEWITHJRE"
262

  
263
###
264

  
265

  
266
rm dist_config.txt
267
rm "$WINDOWSZIP"
268

  
269
rm -Rf "$INSTALLER_DIR"
270

  
271
mv "$WINDOWSEXE" "$OUTPUT_DIR"
272
mv "$WINDOWSEXEWITHJRE" "$OUTPUT_DIR"
273

  
274
# Limpiamos tmpResources
275
cd "$DIR_BASE"/"$DIR_WIN"
276
rm -r ./tmpResources
277
cd -
278

  
279

  
280
## Para Mac
281
echo "- Mac"
282
if type ant 2>/dev/null >/dev/null; then
283
	cd "$DIR_BASE"/"$DIR_MAC"	
284
	if ant -Dbuild.number="$BUILDNUMBER" -Djvmversion="1.4+" -f build.xml; then
285
		zip -r "$MAC_10_ZIP" gvSIG*.app
286
		rm -r gvSIG*.app
287
		mv "$MAC_10_ZIP" "$OUTPUT_DIR"
288
	else
289
		echo "No se ha generado el paquete para Mac 10 . Compruebe que su ant tiene jarbundler instalado
290
			    
291
			  Nota: debemos tener incluido en el ANT_HOME/lib el 
292
	    	  jar jarbundler-1.9.jar que se puede encontrar en http://jarbundler.sourceforge.net/
293
	    "
294
		
295
	fi
296
		
297
else
298
	    echo "No se ha encontrado el ant en el path de ejecucion: 
299
	    Es necesario para poder generar la distribucion para el Mac. 
300
	    
301
	    Nota: debemos tener tambien incluido en el ANT_HOME/lib el 
302
	    jar jarbundler-1.9.jar que se puede encontrar en http://jarbundler.sourceforge.net/
303
	    "
304
fi
305

  
306

  
307
## Limpiamos
308

  
309
rm -rf $DIR_LIN/extensiones
310
rm -rf $DIR_LIN/bin
311
rm -rf $DIR_WIN/extensiones
312
rm -rf $DIR_WIN/bin
313

  
314
echo "*****************"
315
echo "    FIN     "
316
echo "*****************"
317

  
318
echo ""
319
echo "Generados los ficheros:"
320
echo "$OUTPUT_DIR"
321
ls -lh "$OUTPUT_DIR"
322
cd "$DIR_BASE"
0 323

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

  
13
	<guiprefs height="600" resizable="yes" width="800">
14
		<laf name="liquid">
15
			<os family="windows" />
16
		</laf>
17
	</guiprefs>
18

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

  
48
	<native os="windows" type="izpack" name="ShellLink.dll"/>
49

  
50
	<resources>
51
		<res src="resources/gpl.txt" id="LicencePanel.licence"/>
52
		<res src="resources/LEEME.html" id="HTMLInfoPanel.info"/>
53
		<res src="resources/images/Logo_gvsig_gva.jpg" id="Installer.image"/>
54
		<res src="resources/win_shortcut_spec.xml" id="shortcutSpec.xml"/>
55
	</resources>
56

  
57
	<panels>
58
		<panel classname="HTMLInfoPanel"/>
59
		<panel classname="LicencePanel"/>
60
		<panel classname="PacksPanel"/>
61
		<panel classname="TargetPanel"/>
62
		<panel classname="InstallPanel"/>
63
		<panel classname="ShortcutPanel"/>
64
		<panel classname="SimpleFinishPanel"/>
65
	</panels>
66

  
67
	<packs>
68
		<pack name="gvSIG program" required="yes">
69
			<description>gvSIG program files.</description>
70
			<file targetdir="$INSTALL_PATH" src="bin"/>
71

  
72
			<file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/images/ico-gvSIG.ico" override="true"/>
73
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/images/help.ico" override="true"/>
74

  
75
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/images/uninstall.ico" override="true"/>
76
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/uninstall.bat" override="true"/>
77
   	  <parsable os="windows" targetfile="$INSTALL_PATH/bin/uninstall.bat"/>
78

  
79
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/gvSIG.ini" override="true"/>
80
   	  <parsable os="windows" targetfile="$INSTALL_PATH/bin/gvSIG.ini"/>
81

  
82
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/gvSIG.exe" override="true"/>
83

  
84
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/da" override="true"/>
85
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/de" override="true"/>
86
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/es" override="true"/>
87
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/fr" override="true"/>
88
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/it" override="true"/>
89
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/nl" override="true"/>
90
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/pt-BR" override="true"/>
91

  
92
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/andami-config.xml" override="true"/>
93
      <parsable os="windows" targetfile="$INSTALL_PATH/bin/andami-config.xml"/>
94

  
95
      <file os="windows" targetdir="$INSTALL_PATH" src="resources/install.bat" override="true"/>
96
      <parsable os="windows" targetfile="$INSTALL_PATH/install.bat"/>
97
      <executable os="windows"
98
    		targetfile="$INSTALL_PATH/install.bat"
99
            stage="postinstall"
100
            keep="false"
101
            failure="ask"/>
102

  
103
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/system/msvcp71.dll" override="true"/>
104
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/system/msvcr71.dll" override="true"/>
105

  
106
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/mrsid/jmrsid.dll" override="true"/>
107
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/mrsid/lti_dsdk_cdll.dll" override="true"/>
108
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/mrsid/lti_dsdk_dll.dll" override="true"/>
109

  
110
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/jecwcompress.dll" override="true"/>
111
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/jecw.dll" override="true"/>
112
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCScnet.dll" override="true"/>
113
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCSEcwC.dll" override="true"/>
114
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCSEcw.dll" override="true"/>
115
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCSUtil.dll" override="true"/>
116

  
117
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/gdal.dll" override="true"/>
118
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/jgdal060.dll" override="true"/>
119
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/glut32.dll" override="true"/>
120
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/jpeg62.dll" override="true"/>
121
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/libimage.dll" override="true"/>
122
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/libpng13.dll" override="true"/>
123
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/libtiff3.dll" override="true"/>
124
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/zlib1.dll" override="true"/>
125
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/jaddo000.dll" override="true"/>
126

  
127
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/system/msvcp71.dll" override="true"/>
128
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/system/msvcr71.dll" override="true"/>
129

  
130
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/mrsid/jmrsid.dll" override="true"/>
131
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/mrsid/lti_dsdk_cdll.dll" override="true"/>
132
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/mrsid/lti_dsdk_dll.dll" override="true"/>
133

  
134
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/jecwcompress.dll" override="true"/>
135
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/jecw.dll" override="true"/>
136
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCScnet.dll" override="true"/>
137
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCSEcwC.dll" override="true"/>
138
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCSEcw.dll" override="true"/>
139
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCSUtil.dll" override="true"/>
140

  
141
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/gdal.dll" override="true"/>
142
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/jgdal060.dll" override="true"/>
143
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/glut32.dll" override="true"/>
144
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/jpeg62.dll" override="true"/>
145
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/libimage.dll" override="true"/>
146
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/libpng13.dll" override="true"/>
147
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/libtiff3.dll" override="true"/>
148
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/zlib1.dll" override="true"/>
149

  
150
  </pack>
151

  
152
		<pack name="Catalog Client" required="no">
153
			<description>Install Catalog Client.</description>
154
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/es.gva.cit.gvsig.catalogClient" override="true"/>
155
		</pack>
156

  
157
		<pack name="WCS Client" required="no">
158
			<description>Install WCS Client.</description>
159
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wcs" override="true"/>
160
		</pack>
161

  
162
		<pack name="WMS Client" required="no">
163
			<description>Install WMS Client.</description>
164
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wms" override="true"/>
165
		</pack>
166

  
167
		<pack name="JDBC Client" required="no">
168
			<description>Install JDBC Client For MySQL and PostGis.</description>
169
			<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.jdbc_spatial" override="true"/>
170
		</pack>
171

  
172
      <pack name="JDBC Oracle Spatial Client" required="no">
173
          <description>Install JDBC Client For Oracle Spatial Data Base.</description>
174
          <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.oracle_spatial" override="true"/>
175
      </pack>
176

  
177

  
178
		<pack name="Data Locator" required="no">
179
			<description>Install Data Locator Plugin.</description>
180
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.datalocator" override="true"/>
181
		</pack>
182

  
183
    <pack name="WFS Client" required="no">
184
      <description>Install WFS Client.</description>
185
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wfs2" override="true"/>
186
    </pack>
187

  
188
		<!-- OJO PORQUE NO COMPILA
189
    <pack name="ArcIms Client" required="no">
190
        <description>ArcIms Client</description>
191
        <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones" src="extensiones/es.prodevelop.cit.gvsig.arcims" override="true"/>
192
    </pack>
193
	-->
194

  
195
    <pack name="Geoprocessing" required="no">
196
      <description>Install Geoprocessing.</description>
197
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.geoprocess" override="true"/>
198
    </pack>
199

  
200
    <pack name="Additional Geoprocessing" required="no" depends="Geoprocessing">
201
      <description>Install Additional Geoprocessing.</description>
202
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.geoprocessextensions" override="true"/>
203
    </pack>
204

  
205
		<!-- OJO PORQUE NO COMPILA
206
    <pack name="Georeferencing" required="no">
207
      <description>Install Georeferening.</description>
208
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.georeferencing" override="true"/>
209
    </pack>
210
	-->
211

  
212
    <pack name="Edition" required="no">
213
      <description>Install Edition.</description>
214
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.cad" override="true"/>
215
    </pack>
216

  
217
    <pack name="Raster Tools" required="no">
218
      <description>Install Raster Tools.</description>
219
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.rastertools" override="true"/>
220
    </pack>
221

  
222
    <pack name="Scripting" required="no">
223
      <description>Scripting.</description>
224
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.scripting" override="true"/>
225
    </pack>
226

  
227
    <pack name="Center View To Point" required="no">
228
      <description>Install Center View To Point Tool.</description>
229
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.centerviewpoint" override="true"/>
230
    </pack>
231

  
232
    <pack name="Expression Field" required="no" depends="Scripting">
233
      <description>Install Expression Field Tool.</description>
234
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.expressionfield" override="true"/>
235
    </pack>
236

  
237
    <pack name="Annotations" required="no" depends="Edition">
238
      <description>Install Annotation Layer Tool.</description>
239
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.annotation" override="true"/>
240
    </pack>
241

  
242
    <pack name="ArcSDE Client" required="no" depends="Edition">
243
      <description>Install ArcSDE Client for gvSIG</description>
244
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.sde" override="true"/>
245
    </pack>
246

  
247
    <pack name="Remote Sensing" required="no" depends="Raster Tools">
248
      <description>Install Remote Sensing tools for gvSIG</description>
249
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.remotesensing" override="true"/>
250
    </pack>
251

  
252
    <pack name="Graph" required="no">
253
      <description>Install Graph tools for gvSIG</description>
254
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.graph" override="true"/>
255
    </pack>
256

  
257
    <pack name="3D" required="no" depends="WFS Client,WCS Client,WMS Client">
258
      <description>Install 3D plugin for gvSIG</description>
259
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.ai2.gvsig3dgui" override="true"/>
260

  
261
	  <!-- Binaries -->
262
      <fileset targetdir="$INSTALL_PATH/lib"
263
      	dir="../../binaries/w32/3D"
264
      	includes="**/**"
265
      />
266

  
267
      <fileset targetdir="$JAVA_HOME/bin"
268
      	dir="../../binaries/w32/3D"
269
      	includes="**/**"
270
      	override="true"
271
      />
272

  
273
    </pack>
274

  
275
    <pack name="JCRS" required="yes">
276
      <description>Instalar nueva extension de proyecciones.</description>
277
          <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.crs" override="true"/>
278
          <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib" src="bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/jcrs.jar" override="true"/>
279
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib" src="bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/jGridShiftApi.jar" override="true"/>
280

  
281
      <file os="windows" targetdir="$JAVA_HOME/bin" src="../../binaries/w32/crs/proj.dll" override="true"/>
282
      <file os="windows" targetdir="$JAVA_HOME/bin" src="../../binaries/w32/crs/CrsJniProj.dll" override="true"/>
283

  
284

  
285
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="../../binaries/w32/crs/proj.dll" override="true"/>
286
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="../../binaries/w32/crs/CrsJniProj.dll" override="true"/>
287

  
288
    </pack>
289

  
290
	<pack name="Jai Image i/o" required="yes">
291
		<description>Jai Image i/o library</description>
292
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/bin" override="false"/>
293
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/lib" override="false"/>
294
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/COPYRIGHT-jai_imageio.txt" override="false"/>
295
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/LICENSE-jai_imageio.txt" override="false"/>
296
	</pack>
297

  
298

  
299
	</packs>
300

  
301
</installation>
0 302

  
tags/tmp_build/install/instalador-gvSIG-win/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
;    Tambien admite los valores de la seccion 'Variables' encerrados entre
17
;    el caracter almuadilla '#'
18
; 	 * Nota: los nombres de las variables son case sensitive
19
command = #JAVA# -Djava.library.path="#GVSIG_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 -Xss1024k com.iver.andami.Launcher gvSIG gvSIG/extensiones #ARGS#
20

  
21

  
22

  
23

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

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

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

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

  
44

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

  
52

  
53

  
54
; Version de JRE requerida
55
jre_version = 1.4.2
56
jre_version_prefered = 1.4.2_06
57

  
58

  
59

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

  
66

  
67

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

  
73

  
74

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

  
80

  
81

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

  
87

  
88

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

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

  
113

  
114

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

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

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

  
124

  
125

  
126
source6 = #GVSIG_INSTALL_PATH#/lib/jecwcompress.dll
127
target6 = #JAVA_HOME#/bin/
128

  
129
source7 = #GVSIG_INSTALL_PATH#/lib/jecw.dll
130
target7 = #JAVA_HOME#/bin/
131

  
132
source8 = #GVSIG_INSTALL_PATH#/lib/NCScnet.dll
133
target8 = #JAVA_HOME#/bin/
134

  
135
source9 = #GVSIG_INSTALL_PATH#/lib/NCSEcwC.dll
136
target9 = #JAVA_HOME#/bin/
137

  
138
source10 = #GVSIG_INSTALL_PATH#/lib/NCSEcw.dll
139
target10 = #JAVA_HOME#/bin/
140

  
141
source11 = #GVSIG_INSTALL_PATH#/lib/NCSUtil.dll
142
target11 = #JAVA_HOME#/bin/
143

  
144

  
145

  
146
source12 = #GVSIG_INSTALL_PATH#/lib/gdal.dll
147
target12 = #JAVA_HOME#/bin/
148

  
149

  
150
source13 = #GVSIG_INSTALL_PATH#/lib/jgdal060.dll
151
target13 = #JAVA_HOME#/bin/
152

  
153
source14 = #GVSIG_INSTALL_PATH#/lib/glut32.dll
154
target14 = #JAVA_HOME#/bin/
155

  
156
source15 = #GVSIG_INSTALL_PATH#/lib/jpeg62.dll
157
target15 = #JAVA_HOME#/bin/
158

  
159
source16 = #GVSIG_INSTALL_PATH#/lib/libimage.dll
160
target16 = #JAVA_HOME#/bin/
161

  
162
source17 = #GVSIG_INSTALL_PATH#/lib/libpng13.dll
163
target17 = #JAVA_HOME#/bin/
164

  
165
source18 = #GVSIG_INSTALL_PATH#/lib/libtiff3.dll
166
target18 = #JAVA_HOME#/bin/
167

  
168
source19 = #GVSIG_INSTALL_PATH#/lib/zlib1.dll
169
target19 = #JAVA_HOME#/bin/
170

  
171
; En esta seccion se pueden definir valores
172
; que se pueden utilizar en el parametro 'command'
173
; o en la copia de los ficheros
174
;  * Nota: los nombres son case sensitive
175
[Variables]
176
GVSIG_INSTALL_PATH = $INSTALL_PATH
177

  
178
[EnvironVariables]
179
PROJ_LIB=$INSTALL_PATH/bin/gvSIG/extensiones/org.gvsig.crs/data
0 180

  
tags/tmp_build/install/instalador-gvSIG-win/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]
0 145

  
tags/tmp_build/install/instalador-gvSIG-win/resources/uninstall.bat
1
java -jar "$INSTALL_PATH/Uninstaller/uninstaller.jar"
0 2

  
tags/tmp_build/install/instalador-gvSIG-win/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.
0 126

  
tags/tmp_build/install/instalador-gvSIG-win/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>
0 55

  
tags/tmp_build/install/instalador-gvSIG-win/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
0 20

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

Also available in: Unified diff