33 |
############# Xulu library paths and parameters ############### |
############# Xulu library paths and parameters ############### |
34 |
################################################################### |
################################################################### |
35 |
|
|
36 |
LIB_ROOT="../../lib" |
LIB_ROOT="lib" |
37 |
|
DIST_ROOT="dist" |
38 |
XULU_LIB=classes |
#DIST_ROOT="lib/xulu" |
39 |
XULU_MODELS_LIB=classes_models |
|
40 |
if [ "$1" == "-useXuluJar" ]; then XULU_LIB=$LIB_ROOT/xulu/XuluModellingPlatform.jar ; fi |
XULU_LIB=$DIST_ROOT/xulu.jar |
41 |
if [ "$1" == "-useXuluJar" ]; then XULU_MODELS_LIB=$LIB_ROOT/xulu/XuluModellingPlatformModels.jar ; fi |
if [ "$1" == "-useXuluJar" ]; then XULU_LIB=$DIST_ROOT/xulu.jar ; fi |
42 |
##if "$1"=="/useXuluClasses" set XULU_LIB=classes |
if [ "$1" == "-useXuluClasses" ]; then XULU_LIB=classes ; fi |
|
##if "$1"=="/useXuluClasses" set XULU_MODELS_LIB=classes_models |
|
43 |
|
|
44 |
XULU_REGISTRY=./registry_ProxyGrid.xif |
XULU_REGISTRY=./registry_ProxyGrid.xif |
45 |
XULU_LANGUAGE=de |
XULU_LANGUAGE=de |
51 |
############# External libraries ############### |
############# External libraries ############### |
52 |
#################################################### |
#################################################### |
53 |
|
|
54 |
|
##### Where to find "schmitzm" (before Geotools!) ##### |
55 |
|
SCHMITZM_ROOT=$LIB_ROOT/schmitzm |
56 |
|
|
57 |
##### Where to find "Java Advanced Imaging" ##### |
##### Where to find "Java Advanced Imaging" ##### |
58 |
JAI_ROOT=$LIB_ROOT/jai-1_1_3/lib |
JAI_ROOT=$LIB_ROOT/jai-1_1_3/lib |
59 |
|
|
60 |
##### Where to find "GeoTools" ##### |
##### Where to find "GeoTools" ##### |
61 |
GT_ROOT=$LIB_ROOT/gt2-2.4.4 |
GT_ROOT=$LIB_ROOT/gt2-2.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 |
|
62 |
|
|
63 |
##### Where to find "Log4j" ##### |
##### Where to find "Log4j" ##### |
64 |
LOG4J_ROOT=$LIB_ROOT/log4j-1.2.14 |
LOG4J_ROOT=$LIB_ROOT/log4j-1.2.14 |
73 |
JFREECHART_ROOT=$LIB_ROOT/jFreeChart |
JFREECHART_ROOT=$LIB_ROOT/jFreeChart |
74 |
|
|
75 |
##### combine the external libs ##### |
##### combine the external libs ##### |
76 |
|
SCHMITZM_LIB=$SCHMITZM_ROOT/* |
77 |
JAI_LIB=$JAI_ROOT/* |
JAI_LIB=$JAI_ROOT/* |
78 |
GT_LIB=$GT_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 |
|
79 |
JINI_LIB=$JINI_ROOT/lib/*:$JINI_ROOT/lib-dl/*:$JINI_ROOT/lib-ext/* |
JINI_LIB=$JINI_ROOT/lib/*:$JINI_ROOT/lib-dl/*:$JINI_ROOT/lib-ext/* |
80 |
# set JINI_LIB=$JINI_ROOT/lib/jsk-platform.jar;$JINI_ROOT/lib/tools.jar |
# set JINI_LIB=$JINI_ROOT/lib/jsk-platform.jar;$JINI_ROOT/lib/tools.jar |
81 |
LOG4J_LIB=$LOG4J_ROOT/log4j-1.2.14.jar |
LOG4J_LIB=$LOG4J_ROOT/log4j-1.2.14.jar |
82 |
#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 |
83 |
JFREECHART_LIB=$JFREECHART_ROOT/jfreechart-1.0.6.jar:$JFREECHART_ROOT/jcommon-1.0.10.jar |
JFREECHART_LIB=$JFREECHART_ROOT/* |
84 |
|
|
85 |
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 |
86 |
|
|
87 |
##### combine the native libs ##### |
##### combine the native libs ##### |
88 |
JAI_NATIVE=$JAI_ROOT/native_linux |
JAI_NATIVE=$JAI_ROOT/native_linux |
116 |
fi |
fi |
117 |
|
|
118 |
##### determine java interpreter ##### |
##### determine java interpreter ##### |
119 |
JAVA_PRG="java" |
JAVA_PRG=`which java` |
|
|
|
120 |
|
|
121 |
##### start Xulu ##### |
##### start Xulu ##### |
122 |
# -version:1.6.0_10 funktioniert unter linux nicht |
# -version:1.6.0_10 funktioniert unter linux nicht |