--- trunk/defaults/startXULU.sh 2009/02/25 20:09:54 5 +++ trunk/defaults/startXULU.sh 2009/03/11 12:29:25 22 @@ -33,14 +33,13 @@ ############# Xulu library paths and parameters ############### ################################################################### -LIB_ROOT="../../lib" - -XULU_LIB=classes -XULU_MODELS_LIB=classes_models -if [ "$1" == "-useXuluJar" ]; then XULU_LIB=$LIB_ROOT/xulu/XuluModellingPlatform.jar ; fi -if [ "$1" == "-useXuluJar" ]; then XULU_MODELS_LIB=$LIB_ROOT/xulu/XuluModellingPlatformModels.jar ; fi -##if "$1"=="/useXuluClasses" set XULU_LIB=classes -##if "$1"=="/useXuluClasses" set XULU_MODELS_LIB=classes_models +LIB_ROOT="lib" +DIST_ROOT="dist" +#DIST_ROOT="lib/xulu" + +XULU_LIB=$DIST_ROOT/xulu.jar +if [ "$1" == "-useXuluJar" ]; then XULU_LIB=$DIST_ROOT/xulu.jar ; fi +if [ "$1" == "-useXuluClasses" ]; then XULU_LIB=classes ; fi XULU_REGISTRY=./registry_ProxyGrid.xif XULU_LANGUAGE=de @@ -52,6 +51,9 @@ ############# External libraries ############### #################################################### +##### Where to find "schmitzm" (before Geotools!) ##### +SCHMITZM_ROOT=$LIB_ROOT/schmitzm + ##### Where to find "Java Advanced Imaging" ##### JAI_ROOT=$LIB_ROOT/jai-1_1_3/lib @@ -61,9 +63,6 @@ ##### Where to find gt2-arcgrid-2.1.x.jar (from SpearfishDemo) ##### GT_ARCGRID_ROOT=$LIB_ROOT/geotoolsArcGrid -##### Where to find "Adagios" ##### -ADAGIOS_ROOT=$LIB_ROOT/Adagios - ##### Where to find "Log4j" ##### LOG4J_ROOT=$LIB_ROOT/log4j-1.2.14 @@ -77,17 +76,17 @@ JFREECHART_ROOT=$LIB_ROOT/jFreeChart ##### combine the external libs ##### +SCHMITZM_LIB=$SCHMITZM_ROOT/* JAI_LIB=$JAI_ROOT/* GT_LIB=$GT_ROOT/* GT_LIB=$GT_LIB:$GT_ARCGRID_ROOT/gt2-arcgrid-2.3.0-M0.jar:$GT_ARCGRID_ROOT/junit-4.4.jar -ADAGIOS_LIB=$ADAGIOS_ROOT/AdagiosJavaLib.jar JINI_LIB=$JINI_ROOT/lib/*:$JINI_ROOT/lib-dl/*:$JINI_ROOT/lib-ext/* # set JINI_LIB=$JINI_ROOT/lib/jsk-platform.jar;$JINI_ROOT/lib/tools.jar LOG4J_LIB=$LOG4J_ROOT/log4j-1.2.14.jar -#R_LIB=$R_ROOT/JRI.jar;$R_ROOT/libjri.so;$R_ROOT/libR.so +#R_LIB=$R_ROOT/JRI.jar;$R_ROOT/libjri.so;$R_ROOT/libR.so # segfaulted on Intrepid JFREECHART_LIB=$JFREECHART_ROOT/jfreechart-1.0.6.jar:$JFREECHART_ROOT/jcommon-1.0.10.jar -LIB_ALL=$XULU_LIB:$JAI_LIB:$GT_LIB:$ADAGIOS_LIB:$LOG4J_LIB:$JINI_LIB:$JFREECHART_LIB #:$R_LIB +LIB_ALL=$XULU_LIB:$SCHMITZM_LIB:$JAI_LIB:$GT_LIB:$LOG4J_LIB:$JINI_LIB:$JFREECHART_LIB #:$R_LIB ##### combine the native libs ##### JAI_NATIVE=$JAI_ROOT/native_linux @@ -121,8 +120,7 @@ fi ##### determine java interpreter ##### -JAVA_PRG="java" - +JAVA_PRG=`which java` ##### start Xulu ##### # -version:1.6.0_10 funktioniert unter linux nicht