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 |
|
|
79 |
JFREECHART_ROOT=$LIB_ROOT/jFreeChart |
JFREECHART_ROOT=$LIB_ROOT/jFreeChart |
80 |
|
|
81 |
##### combine the external libs ##### |
##### combine the external libs ##### |
82 |
|
SCHMITZM_LIB=$SCHMITZM_ROOT/* |
83 |
JAI_LIB=$JAI_ROOT/* |
JAI_LIB=$JAI_ROOT/* |
84 |
GT_LIB=$GT_ROOT/* |
GT_LIB=$GT_ROOT/* |
85 |
GT_LIB=$GT_LIB:$GT_ARCGRID_ROOT/gt2-arcgrid-2.3.0-M0.jar:$GT_ARCGRID_ROOT/junit-4.4.jar |
GT_LIB=$GT_LIB:$GT_ARCGRID_ROOT/gt2-arcgrid-2.3.0-M0.jar:$GT_ARCGRID_ROOT/junit-4.4.jar |
87 |
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/* |
88 |
# 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 |
89 |
LOG4J_LIB=$LOG4J_ROOT/log4j-1.2.14.jar |
LOG4J_LIB=$LOG4J_ROOT/log4j-1.2.14.jar |
90 |
#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 |
91 |
JFREECHART_LIB=$JFREECHART_ROOT/jfreechart-1.0.6.jar:$JFREECHART_ROOT/jcommon-1.0.10.jar |
JFREECHART_LIB=$JFREECHART_ROOT/jfreechart-1.0.6.jar:$JFREECHART_ROOT/jcommon-1.0.10.jar |
92 |
|
|
93 |
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:$ADAGIOS_LIB:$LOG4J_LIB:$JINI_LIB:$JFREECHART_LIB #:$R_LIB |
94 |
|
|
95 |
##### combine the native libs ##### |
##### combine the native libs ##### |
96 |
JAI_NATIVE=$JAI_ROOT/native_linux |
JAI_NATIVE=$JAI_ROOT/native_linux |
124 |
fi |
fi |
125 |
|
|
126 |
##### determine java interpreter ##### |
##### determine java interpreter ##### |
127 |
JAVA_PRG="java" |
JAVA_PRG=`which java` |
|
|
|
128 |
|
|
129 |
##### start Xulu ##### |
##### start Xulu ##### |
130 |
# -version:1.6.0_10 funktioniert unter linux nicht |
# -version:1.6.0_10 funktioniert unter linux nicht |