3 |
|
|
4 |
rem ### Root directory of the libs only XULU depends on ##### |
rem ### Root directory of the libs only XULU depends on ##### |
5 |
set LIB_ROOT="lib" |
set LIB_ROOT="lib" |
6 |
|
set DIST_ROOT="dist" |
7 |
|
rem set DIST_ROOT="lib\xulu" |
8 |
|
|
9 |
rem ### Root directory of the libs also SCHMITZM depends on ##### |
rem ### Root directory of the libs also SCHMITZM depends on ##### |
10 |
rem --> All libs were moved from SCHMITZM to XULU |
rem --> All libs were moved from SCHMITZM to XULU |
14 |
rem ################################################################### |
rem ################################################################### |
15 |
rem ############# Xulu library paths and parameters ############### |
rem ############# Xulu library paths and parameters ############### |
16 |
rem ################################################################### |
rem ################################################################### |
17 |
set XULU_LIB=%LIB_ROOT%\xulu\XuluModellingPlatform.jar |
set XULU_LIB=%DIST_ROOT%\xulu.jar |
18 |
if "%1"=="/useXuluJar" set XULU_LIB=%LIB_ROOT%\xulu\XuluModellingPlatform.jar |
if "%1"=="/useXuluJar" set XULU_LIB=%DIST_ROOT%\xulu.jar |
19 |
if "%1"=="/useXuluClasses" set XULU_LIB=classes |
if "%1"=="/useXuluClasses" set XULU_LIB=classes |
20 |
|
|
21 |
set XULU_REGISTRY=registry.xif |
set XULU_REGISTRY=registry.xif |
22 |
set XULU_LANGUAGE=de |
set XULU_LANGUAGE= |
23 |
set XULU_WORK_DIR=C:\ |
set XULU_WORK_DIR=C:\ |
24 |
set XULU_START_SCRIPTS= |
set XULU_START_SCRIPTS= |
25 |
set XULU_RESOURCE=resource |
set XULU_RESOURCE=resource |
40 |
rem ##### Where to find "R" ##### |
rem ##### Where to find "R" ##### |
41 |
set R_ROOT=%LIB_ROOT%\JavaRInterface |
set R_ROOT=%LIB_ROOT%\JavaRInterface |
42 |
|
|
43 |
|
rem ##### Where to find miscellaneous libraries ##### |
44 |
|
set MISC_ROOT=%LIB_ROOT%\misc |
45 |
|
|
46 |
|
|
47 |
rem ##### combine the external libs ##### |
rem ##### combine the external libs ##### |
48 |
set SCHMITZM_LIB=%SCHMITZM_ROOT%\schmitzm.jar |
set SCHMITZM_LIB=%SCHMITZM_ROOT%\* |
49 |
set JAI_LIB=%JAI_ROOT%\* |
set JAI_LIB=%JAI_ROOT%\* |
50 |
set JINI_LIB=%JINI_ROOT%\lib\* |
set JINI_LIB=%JINI_ROOT%\lib\* |
51 |
rem set JINI_LIB=%JINI_ROOT%\lib\*;%JINI_ROOT%\lib-dl\*;%JINI_ROOT%\lib-ext\* |
rem set JINI_LIB=%JINI_ROOT%\lib\*;%JINI_ROOT%\lib-dl\*;%JINI_ROOT%\lib-ext\* |
52 |
set R_LIB=%R_ROOT%\JRI.jar;%R_ROOT%\libjri.so;%R_ROOT%\libR.so |
set R_LIB=%R_ROOT%\JRI.jar;%R_ROOT%\libjri.so;%R_ROOT%\libR.so |
53 |
|
set MISC_LIB=%MISC_ROOT%\* |
54 |
|
|
55 |
set LIB_ALL=%XULU_LIB%;%SCHMITZM_LIB%;%JAI_LIB%;%JINI_LIB%;%R_LIB% |
set LIB_ALL=%XULU_LIB%;%SCHMITZM_LIB%;%JAI_LIB%;%JINI_LIB%;%R_LIB%;%MISC_LIB% |
56 |
|
|
57 |
|
|
58 |
rem #################################################### |
rem #################################################### |
60 |
rem #################################################### |
rem #################################################### |
61 |
set LIB_ROOT=%SCHMITZM_LIB_ROOT% |
set LIB_ROOT=%SCHMITZM_LIB_ROOT% |
62 |
|
|
|
rem ##### Where to find "ADAGIOS library" ##### |
|
|
set ADAGIOS_ROOT=%LIB_ROOT%\Adagios |
|
|
|
|
63 |
rem ##### Where to find "GeoTools" ##### |
rem ##### Where to find "GeoTools" ##### |
64 |
set GT_ROOT=%LIB_ROOT%\gt2-2.4.4 |
set GT_ROOT=%LIB_ROOT%\geotools |
|
rem ##### Where to find gt2-arcgrid-2.1.x.jar (from SpearfishDemo) ##### |
|
|
set GT_ARCGRID_ROOT=%LIB_ROOT%\geotoolsArcGrid |
|
65 |
|
|
66 |
rem ##### Where to find "Log4j" ##### |
rem ##### Where to find "Log4j" ##### |
67 |
set LOG4J_ROOT=%LIB_ROOT%\log4j-1.2.14 |
set LOG4J_ROOT=%LIB_ROOT%\log4j-1.2.14 |
73 |
set JFREECHART_ROOT=%LIB_ROOT%\jFreeChart |
set JFREECHART_ROOT=%LIB_ROOT%\jFreeChart |
74 |
|
|
75 |
rem ##### combine the external libs ##### |
rem ##### combine the external libs ##### |
|
set ADAGIOS_LIB=%ADAGIOS_ROOT%\AdagiosJavaLib.jar |
|
76 |
set GT_LIB=%GT_ROOT%\* |
set GT_LIB=%GT_ROOT%\* |
|
set GT_LIB=%GT_LIB%;%GT_ARCGRID_ROOT%\gt2-arcgrid-2.3.0-M0.jar;%GT_ARCGRID_ROOT%\junit-4.4.jar |
|
77 |
set LOG4J_LIB=%LOG4J_ROOT%\log4j-1.2.14.jar |
set LOG4J_LIB=%LOG4J_ROOT%\log4j-1.2.14.jar |
78 |
set JINI_LIB=%JINI_ROOT%\lib\* |
set JINI_LIB=%JINI_ROOT%\lib\* |
79 |
rem set JINI_LIB=%JINI_ROOT%\lib\*;%JINI_ROOT%\lib-dl\*;%JINI_ROOT%\lib-ext\* |
rem set JINI_LIB=%JINI_ROOT%\lib\*;%JINI_ROOT%\lib-dl\*;%JINI_ROOT%\lib-ext\* |
80 |
set JFREECHART_LIB=%JFREECHART_ROOT%\jfreechart-1.0.6.jar;%JFREECHART_ROOT%\jcommon-1.0.10.jar |
set JFREECHART_LIB=%JFREECHART_ROOT%\* |
81 |
|
|
82 |
set LIB_ALL=%LIB_ALL%;%ADAGIOS_LIB%;%GT_LIB%;%LOG4J_LIB%;%JINI_LIB%;%JFREECHART_LIB% |
set LIB_ALL=%LIB_ALL%;%GT_LIB%;%LOG4J_LIB%;%JINI_LIB%;%JFREECHART_LIB% |
83 |
|
|
84 |
rem ##### combine the native libs ##### |
rem ##### combine the native libs ##### |
85 |
set JAI_NATIVE=%JAI_ROOT%\native_win |
set JAI_NATIVE=%JAI_ROOT%\native_win |
108 |
|
|
109 |
|
|
110 |
rem ##### start Xulu ##### |
rem ##### start Xulu ##### |
111 |
%JAVA_PRG% -Xms300M -Xmx1000M -version:1.6 -cp %XULU_RESOURCE%;%LIB_ALL% -Djava.library.path=%LIB_NATIVE% -splash:resource\icons\xulu_start.png edu.bonn.xulu.XuluModellingPlatform %XULU_PARAMS% %* |
%JAVA_PRG% -Xms300M -Xmx1000M -cp %XULU_RESOURCE%;%LIB_ALL% -Djava.library.path=%LIB_NATIVE% -splash:resource\icons\xulu_start.png edu.bonn.xulu.XuluModellingPlatform %XULU_PARAMS% %* |
112 |
|
|
113 |
endlocal |
endlocal |