Revision 11096

View differences:

branches/v10/extensions/extGraph_predes/install/variables.sh
2 2

  
3 3
export APPNAME=gvSIG_pilot_redes
4 4
export FULLVERSION='1.0'
5
export TARGET_DIR=/tmp/versiones/
5
export TARGET_DIR=/tmp/"$APPNAME"/versiones
6
#export TARGET_DIR=/mnt/sercartlin/grupo-sig-ca/Testing/Versiones/
7
export MAIN_INSTALL_PLUGIN=com.iver.cit.gvsig.graph #Nombre del plugin que proporciona el 'build.nuber' para la distribucion
6 8

  
7

  
8 9
## estas extensiones se muestran en los packs, y se puede elegir instalarlos o no
9
## (el fichero install.xml también debe estar actualizado para reflejar esto)
10
## (el fichero install.xml tambien debe estar actualizado para reflejar esto)
10 11
EXTENSIONS=(
11
com.iver.cit.gvsig.graph
12
"$MAIN_INSTALL_PLUGIN"
12 13
)
13

  
14
## estas extensiones se instalan pero no se muestran en los packs
15
MANDATORY_EXTENSIONS=(
16
com.iver.cit.gvsig.graph
17
)
18

  
branches/v10/extensions/extGraph_predes/install/install.xml
1
<installation version="1.0">
2
	<info>
3
		<appname>gvSIG_pitolo_redes_1.0</appname>
4
		<appversion>1.0</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.4</javaversion>
11
	</info>
12

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

  
22
	<locale>
23
		<langpack iso3="spa"/>
24
		<langpack iso3="val"/>
25
		<langpack iso3="eng"/>
26
		<langpack iso3="cat"/>
27
		<langpack iso3="chn"/>
28
		<langpack iso3="cze"/>
29
		<langpack iso3="dan"/>
30
		<langpack iso3="deu"/>
31
		<langpack iso3="fin"/>
32
		<langpack iso3="fra"/>
33
		<langpack iso3="glg"/>
34
		<langpack iso3="hun"/>
35
		<langpack iso3="ita"/>
36
		<langpack iso3="jpn"/>
37
		<langpack iso3="mys"/>
38
		<langpack iso3="ned"/>
39
		<langpack iso3="nor"/>
40
		<langpack iso3="pol"/>
41
		<langpack iso3="por"/>
42
		<langpack iso3="rom"/>
43
		<langpack iso3="rus"/>
44
		<langpack iso3="scg"/>
45
		<langpack iso3="svk"/>
46
		<langpack iso3="swe"/>
47
		<langpack iso3="ukr"/>
48
	</locale>
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/userInputSpec.xml" id="userInputSpec.xml"/>
55
                <parsable os="linux" targetfile="resources/userInputSpec.xml"/>
56
                <res src="resources/userInputLang.xml_val" id="userInputLang.xml_val" />
57
                <res src="resources/userInputLang.xml_spa" id="userInputLang.xml_spa" />
58
	</resources>
59

  
60
	<panels>
61
		<panel classname="HTMLInfoPanel"/>
62
		<panel classname="LicencePanel"/>
63
		<panel classname="PacksPanel"/>
64
		<panel classname="UserInputPanel"/>
65
		<panel classname="InstallPanel"/>
66
		<panel classname="SimpleFinishPanel"/>
67
	</panels>
68

  
69
	<packs>
70

  
71
    <pack name="Piloto redes" required="yes">
72
      <description>Aplicacion ganadora del Concurso de redes</description>
73
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.graph" override="true"/>
74
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/" src="../../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.graph-fmap-gvsig.jar" override="true"/>
75
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/" src="../../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.graph-gvsig.jar" override="true"/>
76
    </pack>
77

  
78
</packs>
79

  
80
</installation>
0 81

  
branches/v10/extensions/extGraph_predes/install/distribucion.sh
3 3
# Si se produce un error, salimos inmediatamente
4 4
set -e
5 5

  
6

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

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

  
6 21
DIR_BASE=`pwd`
22
GVSIG_INSTALLDIR=`readlink -f ../../install`
23
ANDAMI_DIR=`readlink -f ../../_fwAndami`
7 24

  
8 25
source variables.sh
9 26
# Get a version with format 1_0_alpha
......
16 33
# The extension targets on the this version of gvSIG:
17 34
GVSIG_VERSION=1.0
18 35

  
19
GVSIG_BUILDNUMBER=`sed -n 's/build.number=//p' ../../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/build.number`
36
BUILDNUMBER=`sed -n 's/build.number=//p' "$ANDAMI_DIR"/gvSIG/extensiones/"$MAIN_INSTALL_PLUGIN"/build.number`
20 37

  
21
GVSIG_FULLVERSION=gvSIG-$GVSIG_VERSION-$GVSIG_BUILDNUMBER
38
#ZIPNAME="$APPNAME"-"$UNDERSCORE_VERSION"\_"$BUILDNUMBER".zip
39
DIR_LIN=.
40
DIR_WIN=.
22 41

  
23
cd ../../_fwAndami
24
ANDAMI_PATH=`pwd`
42
DIR_LIN_GVSIG="$GVSIG_INSTALLDIR"/instalador-gvSIG-lin
43
DIR_WIN_GVSIG="$GVSIG_INSTALLDIR"/instalador-gvSIG-win
25 44

  
26
cd ../install
27
INSTALL_GVSIG_PATH=`pwd`
28
INSTALL_GVSIG_LINUX_PATH="$INSTALL_GVSIG_PATH"/instalador-gvSIG-lin
29
INSTALL_GVSIG_WINDOWS_PATH="$INSTALL_GVSIG_PATH"/instalador-gvSIG-win
30 45

  
31
cd "$DIR_BASE"
46
WINDOWSZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586.7z
47
LINUXZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586.tgz
32 48

  
33
DIR_LIN=linux
34
DIR_WIN=windows
35
WINDOWSZIP="$APPNAME"-"$BRIEFVERSION"\_"$GVSIG_FULLVERSION"-windows-i586.7z
36
LINUXZIP="$APPNAME"-"$BRIEFVERSION"\_"$GVSIG_FULLVERSION"-linux-i586.tgz
49
LINUXBIN="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586.bin
37 50

  
38
LINUXBIN="$APPNAME"-"$BRIEFVERSION"\_"$GVSIG_FULLVERSION"-linux-i586.bin
39
LINUXBINWITHJRE="$APPNAME"-"$BRIEFVERSION"\_"$GVSIG_FULLVERSION"-linux-i586-withjre.bin
51
WINDOWSEXE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586.exe
40 52

  
41
WINDOWSEXE="$APPNAME"-"$BRIEFVERSION"\_"$GVSIG_FULLVERSION"-windows-i586.exe
42
WINDOWSEXEWITHJRE="$APPNAME"-"$BRIEFVERSION"\_"$GVSIG_FULLVERSION"-windows-i586-withjre.exe
43

  
44 53
#Directorios
45
OUTPUT_DIR="$TARGET_DIR"/v"$FULLVERSION"\_"$GVSIG_FULLVERSION"
46
PATH_SOURCE_EXT="$ANDAMI_PATH"/gvSIG/extensiones
47
PATH_SOURCE_MANDAT_EXT="$ANDAMI_PATH"/gvSIG/extensiones
54
#OUTPUT_DIR=/mnt/sercartlin/grupo-sig-ca/Testing/Versiones/v"$FULLVERSION"\_"$BUILDNUMBER"
55
OUTPUT_DIR="$TARGET_DIR"/v"$FULLVERSION"\_"$BUILDNUMBER"
56
PATH_SOURCE_EXT="$ANDAMI_DIR"/gvSIG/extensiones
48 57

  
49 58

  
50 59
echo "*****************"
51 60
echo "      BASE       "
52 61
echo "*****************"
53
# Para Linux
54
echo -n "$DIR_BASE"/"$DIR_LIN" "-- "
55
cd "$DIR_BASE"/"$DIR_LIN"
62

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

  
77 83

  
78 84
# Para Windows
79
echo -n "$DIR_BASE"/"$DIR_WIN" "-- "
80
cd "$DIR_BASE"/"$DIR_WIN"
81
rm bin -rf
82
if [ ! -d libs ] ; then
83
   ln -s "$INSTALL_GVSIG_WINDOWS_PATH"/libs
84
fi
85
mkdir -p bin/gvSIG/extensiones
86
cp resources/gpl.txt bin
87
# No enlazamos directamente el directorio lib para no incluir el directorio CVS
88
mkdir -p bin/lib
89
cd "$DIR_BASE"/"$DIR_WIN"/bin/lib
90
for i in "$ANDAMI_PATH"/lib/*.jar ; do
91
  ln -s "$i" .
92
done
93
for i in "$ANDAMI_PATH"/lib/*.zip ; do
94
  ln -s "$i" .
95
done
96
cd "$DIR_BASE"/"$DIR_WIN"
97
ln -s "$ANDAMI_PATH"/andami.jar bin
98
ln -s "$ANDAMI_PATH"/castor.properties bin/
99
#cp resources/andami-config.xml bin
100

  
101 85
#Copiamos el lanzador y sus tracuciones al tmpResources
102 86
rm -Rf tmpResources
103 87
mkdir tmpResources
104
cp -R $INSTALL_GVSIG_PATH/launcher/izpack-launcher-1.3/dist/* ./tmpResources
88
cp -R "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3/dist/* ./tmpResources
105 89
mv ./tmpResources/launcher-Win32.exe ./tmpResources/gvSIG.exe
106 90
#Quitamos el ini, manifest y los CVS
107 91
rm ./tmpResources/*.ini ./tmpResources/*.manifest
......
114 98
i=0
115 99
while [ ! -z ${MANDATORY_EXTENSIONS[$i]} ]
116 100
do
117
  echo ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_LIN"/bin/gvSIG/extensiones
118
  ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_LIN"/bin/gvSIG/extensiones
119
  echo ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_WIN"/bin/gvSIG/extensiones
120
  ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_WIN"/bin/gvSIG/extensiones
101
  echo ln -s "$PATH_SOURCE_EXT"/${MANDATORY_EXTENSIONS[$i]} bin/gvSIG/extensiones
102
  ln -s "$PATH_SOURCE_EXT"/${MANDATORY_EXTENSIONS[$i]} bin/gvSIG/extensiones
121 103
  i=`expr $i + 1`
122 104
done
123 105

  
124

  
125 106
echo "*****************"
126
echo "   EXTENSIONES   "
107
[ $LOC = "es" ] && echo "   EXTENSIONES   "
108
[ $LOC != "es" ] && echo "   EXTENSIONS   "
127 109
echo "*****************"
128 110

  
129
rm -rf $DIR_LIN/extensiones
130
mkdir $DIR_LIN/extensiones
131
rm -rf $DIR_WIN/extensiones
132
mkdir $DIR_WIN/extensiones
111
rm -rf extensiones
112
mkdir extensiones
133 113

  
134 114
i=0
135 115
while [ ! -z ${EXTENSIONS[$i]} ]
136 116
do
137
  echo "Copiando "${EXTENSIONS[$i]}
138
  echo cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_LIN"/extensiones -rf
139
  cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_LIN"/extensiones -rf
140
  echo cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_WIN"/extensiones -rf
141
  cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_WIN"/extensiones -rf
117
  [ $LOC = "es" ] && echo "Enlazando "${EXTENSIONS[$i]}
118
  [ $LOC != "es" ] && echo "Linking "${EXTENSIONS[$i]}
119
  echo ln -s "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} extensiones
120
  ln -s "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} extensiones
142 121
  i=`expr $i + 1`
143 122
done
144 123

  
145

  
146 124
echo "*****************"
147
echo "    INST-WIN     "
125
echo "    INST     "
148 126
echo "*****************"
149
# Generar el instalador (jar) para windows
150
cd "$DIR_BASE"/"$DIR_WIN"
127
# Generar el instalador (jar)
128
cd "$DIR_BASE"/
151 129
rm "$JARNAME" -f
152
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME" -DINSTALL_GVSIG_PATH="$INSTALL_GVSIG_PATH"
130
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME"
153 131

  
154
echo "*****************"
155
echo "    INST-LIN     "
156
echo "*****************"
157
# Generar el instalador (jar) para Linux
158
cd "$DIR_BASE"/"$DIR_LIN"
159
rm "$JARNAME" -f
160
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME" -DINSTALL_GVSIG_PATH="$INSTALL_GVSIG_PATH"
161 132

  
162

  
163 133
echo "******************"
164
echo " GENERAR DISTRIB "
134
[ $LOC = "es" ] && echo " GENERAR DISTRIB "
135
[ $LOC != "es" ] && echo " GENERATE DISTRIB "
165 136
echo "******************"
166
# Generar el .bin para Linux y el .EXE para Windows
137
# Generar el tar.gz para Linux y el EXE para Windows
167 138

  
168 139
mkdir -p "$OUTPUT_DIR"
169 140
echo "- Linux"
170 141
## Nueva instalacion para linux
171
cd "$DIR_BASE"/"$DIR_LIN"
172 142
rm -Rf "$INSTALLER_DIR"
173
mkdir -p "$INSTALLER_DIR"/_tmp_install
174
cp "$JARNAME" "$INSTALLER_DIR"/_tmp_install
143
mkdir -p "$INSTALLER_DIR"/tmp_gvSIGInstall
144
cp "$JARNAME" "$INSTALLER_DIR"/tmp_gvSIGInstall
175 145
cd "$INSTALLER_DIR"
176
cp -R "$INSTALL_GVSIG_PATH"/launcher/izpack-launcher-1.3_linux/dist/* ./_tmp_install
146
chmod u+x "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/dist/launcher-Linux
147
cp -R "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/dist/* ./tmp_gvSIGInstall
148
chmod a+x ./tmp_gvSIGInstall/launcher-Linux
177 149
find . -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
178 150

  
179
rm ./_tmp_install/launcher.ini
180
cp "$DIR_BASE"/"$DIR_LIN"/resources/launcher.ini ./_tmp_install/launcher.ini
181
sed "s/%JARNAME%/$JARNAME/" ./_tmp_install/launcher.ini > ./_tmp_install/launcher.ini.bak
182
mv ./_tmp_install/launcher.ini.bak ./_tmp_install/launcher.ini
151
sed "s/%JARNAME%/$JARNAME/" ./tmp_gvSIGInstall/launcher.ini > ./tmp_gvSIGInstall/launcher.ini.bak
152
mv ./tmp_gvSIGInstall/launcher.ini.bak ./tmp_gvSIGInstall/launcher.ini;
183 153

  
184
tar -cvzf ./tmp.tgz ./_tmp_install
185
cp "$INSTALL_GVSIG_LINUX_PATH"/jre/*.gz ./_tmp_install
186
tar -cvzf ./tmp_wjre.tgz ./_tmp_install
154
tar -cvzf ./tmp.tgz ./tmp_gvSIGInstall
187 155
echo '#!/bin/sh' > xx.tmp
188
lcount=`cat xx.tmp "$DIR_BASE"/"$DIR_LIN"/resources/h_gvSIG-install.sh | wc -l`
156
lcount=`cat xx.tmp "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh | wc -l`
189 157
lcount=$(($lcount+2)) # sumamos dos: uno por la linea siguiente y otro para el inicio
190 158
echo "lcount=$lcount" >> xx.tmp
191
cat xx.tmp "$DIR_BASE"/"$DIR_LIN"/resources/h_gvSIG-install.sh ./tmp.tgz  > "$LINUXBIN"
192
cat xx.tmp "$DIR_BASE"/"$DIR_LIN"/resources/h_gvSIG-install.sh ./tmp_wjre.tgz  > "$LINUXBINWITHJRE"
159
cat xx.tmp "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh ./tmp.tgz  > "$LINUXBIN"
193 160
rm xx.tmp
194
chmod a+x "$LINUXBIN" "$LINUXBINWITHJRE"
195
mv "$LINUXBINWITHJRE" "$LINUXBIN" "$OUTPUT_DIR"
196
cd "$DIR_BASE"/"$DIR_LIN"
161
chmod a+x "$LINUXBIN"
162
mv "$LINUXBIN" "$OUTPUT_DIR"
163
cd "$DIR_BASE"/
197 164
rm -Rf "$INSTALLER_DIR"
198 165
## Fin Nueva instalacion para linux
199
rm "$JARNAME"
200 166

  
201

  
202

  
203

  
204 167
## Para Windows
205 168
echo "- Windows"
206 169
#set -x
207
cd "$DIR_BASE"/"$DIR_WIN"
170
cd "$DIR_BASE"
208 171
rm -Rf "$INSTALLER_DIR"
209
mkdir "$INSTALLER_DIR"
210
#cp -a installer_files "$INSTALLER_DIR"
211 172

  
212
cp -aR "$INSTALL_GVSIG_PATH"/launcher/izpack-launcher-1.3/dist/* "$INSTALLER_DIR"
173
mkdir "$INSTALLER_DIR"
174
cp -aR "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3/dist/* "$INSTALLER_DIR"
213 175
rm -f "$INSTALLER_DIR"/install.bat
214 176

  
215 177
find "$INSTALLER_DIR" -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
216 178

  
217 179
## hacemos las sustituciones de la variable
218
rm "$INSTALLER_DIR"/launcher-Win32.ini
219
cp resources/launcher-Win32.ini "$INSTALLER_DIR"/launcher-Win32.ini
220 180
sed "s/%JARNAME%/$JARNAME/" "$INSTALLER_DIR"/launcher-Win32.ini > "$INSTALLER_DIR"/launcher-Win32.ini.bak
221 181
mv "$INSTALLER_DIR"/launcher-Win32.ini.bak "$INSTALLER_DIR"/launcher-Win32.ini;
222 182

  
......
224 184
mv "$JARNAME" "$INSTALLER_DIR"
225 185
cd "$INSTALLER_DIR"
226 186

  
227
if [ -f  "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" ] ; then
228
	rm -f "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP"
187
if [ -f  "$DIR_BASE"/"$WINDOWSZIP" ] ; then
188
	rm -f "$DIR_BASE"/"$WINDOWSZIP"
229 189
fi
230
"$INSTALL_GVSIG_PATH"/launcher/7z/7za a -t7z -r "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" * -mx0
190
chmod u+x "$GVSIG_INSTALLDIR"/launcher/7z/7za
191
"$GVSIG_INSTALLDIR"/launcher/7z/7za a -r "$DIR_BASE"/"$WINDOWSZIP" *
231 192
cd -
232
sed "s/%TITLE%/$APPNAME-$BRIEFVERSION\_$BUILDNUMBER/" "$INSTALL_GVSIG_PATH"/launcher/7z/dist_config.txt > dist_config.txt
233
cat "$INSTALL_GVSIG_PATH"/launcher/7z/7zS.sfx  dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXE"
193
sed "s/%TITLE%/$APPNAME-$BRIEFVERSION\_$BUILDNUMBER/" "$GVSIG_INSTALLDIR"/launcher/7z/dist_config.txt > dist_config.txt
194
cat "$GVSIG_INSTALLDIR"/launcher/7z/7zS.sfx  dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXE"
234 195

  
235
### paquete con los instalables de JRE, Jai y Jai i/o
236
"$INSTALL_GVSIG_PATH"/launcher/7z/7za a -t7z "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP"  "$INSTALL_GVSIG_WINDOWS_PATH"/jre_installers/*.exe -mx0
237
cat "$INSTALL_GVSIG_PATH"/launcher/7z/7zS.sfx  dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXEWITHJRE"
238

  
239 196
###
240 197

  
241 198

  
......
245 202
rm -Rf "$INSTALLER_DIR"
246 203

  
247 204
mv "$WINDOWSEXE" "$OUTPUT_DIR"
248
mv "$WINDOWSEXEWITHJRE" "$OUTPUT_DIR"
249 205

  
250 206
# Limpiamos tmpResources
251
cd "$DIR_BASE"/"$DIR_WIN"
207
cd "$DIR_BASE"/
252 208
rm -r ./tmpResources
253 209
cd -
254 210

  
255
cd "$DIR_BASE"
211
## Limpiamos
256 212

  
257
#limpiamos
258
rm -r "$DIR_BASE"/"$DIR_WIN"/bin "$DIR_BASE"/"$DIR_WIN"/extensiones "$DIR_BASE"/"$DIR_WIN"/libs "$DIR_BASE"/"$DIR_WIN"/"$JARNAME" 2> /dev/null || true
259
rm -r "$DIR_BASE"/"$DIR_LIN"/bin "$DIR_BASE"/"$DIR_LIN"/extensiones "$DIR_BASE"/"$DIR_LIN"/libs "$DIR_BASE"/"$DIR_WIN"/"$JARNAME" 2> /dev/null || true
213
rm -rf extensiones
214
rm -rf bin
215

  
216
echo "*****************"
217
echo "    FIN     "
218
echo "*****************"
219

  
220
echo ""
221
echo "Generados los ficheros:"
222
echo "$OUTPUT_DIR"
223
ls -lh "$OUTPUT_DIR"
224
cd "$DIR_BASE"
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_cat
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_fra
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_eng
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/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="/usr/local/gvSIG_1.0.1" os="unix" />
14
  			<choice value="/usr/local/gvSIG_1.0.2" os="unix" />
15
  			<choice value="/opt/gvSIG_1.0" os="unix" />
16
  			<choice value="/opt/gvSIG_1.0.1" os="unix" />
17
  			<choice value="/opt/gvSIG_1.0.2" os="unix" />
18
  			<choice value="$USER_HOME/gvSIG_1.0" os="unix" />
19
  			<choice value="$USER_HOME/gvSIG_1.0.1" os="unix" />
20
  			<choice value="$USER_HOME/gvSIG_1.0.2" os="unix" />
21
  			<choice value="C:\Archivos de Programa\gvSIG_1.0" os="windows" />
22
  			<choice value="C:\Archivos de Programa\gvSIG_1.0.1" os="windows" />
23
  			<choice value="C:\Archivos de Programa\gvSIG_1.0.2" os="windows" />
24
  			<choice value="C:\Program Files\gvSIG_1.0" os="windows" />
25
  			<choice value="C:\Program Files\gvSIG_1.0.1" os="windows" />
26
  			<choice value="C:\Program Files\gvSIG_1.0.2" os="windows" />
27
  			</spec>
28
		</field>
29
	</panel>
30
</userInput>
31

  
0 32

  
branches/v10/extensions/extGraph_predes/install/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 III / 256 MB RAM.</li>
42
<li>Recomendables: Pentium IV / 512 MB RAM.</li>
43
<li>Sistemas operativos: plataformas Windows y Linux.
44
 Probado en Win98/XP, Linux Suse 8.2/9.0/9.2 y Linux Debian (Lliurex).</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.4.2 (06 o superior).</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>
0 67

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_deu
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_ita
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_por
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/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

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_cze
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_val
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/resources/userInputLang.xml_spa
1
<langpack>
2
  <str id="text.label" txt="Ruta a gvSIG:"/>
3
</langpack>
0 4

  
branches/v10/extensions/extGraph_predes/install/HOWTO-BUILD.txt
1 1
 C?MO GENERAR EL INSTALADOR:
2 2
 ===========================
3
- gvSIG debe estar correctamente construido en ../_fwAndami/bin 
4
- Debe de estar el proyecto /var/lib/cvs_gvSIG/gvSIG-project/install en el workspace.
5
- En el fichero variables.sh hay algunas variables que nos pueden interesar, que permiten personalizar el nombre del plugin, la versi?n, el directorio destino, etc. La variable  APPNAME normalmente valdr? "gvSIG", pero puede tiener nombre si estamos empaquetando una extensi?n (por ejemplo,  "nomenclatorIGN").
3
- Solo ejecutable desde Linux
4
- gvSIG debe estar correctamente construido en ../_fwAndami/bin
5
- El plugin principal debe dejar un fichero 'build.number' dentro de su directorio de andami, que indicara el numero del build para la distribuci?n.
6
- Lanzar el target 'distribucion' del build.xml del plugin principal (solo para plugins).
7
- El proyecto 'install' debe estar presente en la ra?z del workspace (contiene el Izpack, entre otras cosas)
8
- En el fichero variables.sh hay algunas variables que nos pueden interesar, que permiten personalizar el nombre del plugin, la versi?n, el directorio destino, las extensiones incluidas, etc. La variable  APPNAME normalmente valdr? "gvSIG", pero puede tiener nombre si estamos empaquetando una extensi?n (por ejemplo,  "nomenclatorIGN").
6 9
- Definir los packs adecuados en el fichero XML de configuraci?n (install.xml), y revisar el fichero en general.
7
- Definir las extensiones a incluir en el directorio variables.sh.
8
- Lanzar el script distribucion.sh.
10
- En el fichero resources/userInputSpec.xml modificar los directorios candidatos, si se ha producido un cambio de la versi?n de gvSIG sobre la que queremos instalar
11
- Lanzar el script distribucion.sh desde el directorio donde se encuentra (ejemplo: "cd workspace/extXXX/install ; ./distribucion.sh ").
branches/v10/extensions/extGraph_predes/install/.cvsignore
1
bin
2
extensiones
3
nomenclatorIGN-*.zip
0 4

  
branches/v10/extensions/extGraph_predes/install/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="izpack_dir" location="../../install/IzPack"/>
13
	<property name="dir_libs" location="${izpack_dir}/lib"/>
14
	
15
	<taskdef name="izpack" classpath="${dir_libs}/compiler.jar" classname="com.izforge.izpack.ant.IzPackTask"/>
16
	
17
	<target name="init">
18
		<izpack input="install.xml" 
19
				output="${JARNAME}" 
20
				installerType="standard" 
21
				basedir="${base_dir}" 
22
				izPackDir="${izpack_dir}/"/>
23
	</target>
24
	
25
	<target name="clean">
26
		<delete>
27
			<fileset dir=".">
28
			    <include name="**.zip"/>
29
			</fileset>
30
		</delete>
31
		<delete dir="bin" />
32
		<delete dir="extensions" />
33
	</target>
34
	
35
</project>
0 36

  

Also available in: Unified diff