Statistics
| Revision:

root / tags / tmp_build / install / instalador-gvSIG-lin / resources / gvSIG.sh @ 33676

History | View | Annotate | Download (899 Bytes)

1 4632 cesar
#!/bin/sh
2
# gvSIG.sh
3 25078 jmvivo
export GVSIG_LIBS="$INSTALL_PATH/libs/"
4
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GVSIG_LIBS"
5 13338 jmvivo
export PROJ_LIB="$INSTALL_PATH/bin/gvSIG/extensiones/org.gvsig.crs/data"
6 25078 jmvivo
export GDAL_DATA="$GVSIG_LIBS/gdal_data"
7 8634 jmvivo
cd "$INSTALL_PATH/bin"
8 10324 jmvivo
#java -Djava.library.path=/usr/lib:"$INSTALL_PATH/libs" -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 -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones $1
9 7164 cesar
10 13285 mhaloui
for i in ./lib/*.jar ; do
11 13840 jmvivo
  LIBRARIES=$LIBRARIES:"$i"
12 13285 mhaloui
done
13
for i in ./lib/*.zip ; do
14 13840 jmvivo
  LIBRARIES=$LIBRARIES:"$i"
15 13285 mhaloui
done
16
17
$JAVA_HOME/bin/java -Djava.library.path=/usr/lib:"$INSTALL_PATH/libs" -cp andami.jar$LIBRARIES -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones "$@"