/[xulu]/trunk.bakup/defaults/startXULU.bat
ViewVC logotype

Contents of /trunk.bakup/defaults/startXULU.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations)
Wed Feb 25 20:09:54 2009 UTC (15 years, 9 months ago) by mojays
Original Path: trunk/defaults/startXULU.bat
File MIME type: text/plain
File size: 4263 byte(s)
startXulu.bat updated
XuluModellingPlatform.jar (in libs) updated
readme.txt updated
new startXulu.sh
1 @echo off
2 setlocal
3
4 rem ### Root directory of the libs only XULU depends on #####
5 set LIB_ROOT="lib"
6
7 rem ### Root directory of the libs also SCHMITZM depends on #####
8 rem --> All libs were moved from SCHMITZM to XULU
9 rem set SCHMITZM_LIB_ROOT="E:\Arbeit\SCHMITZM\Trunk\lib"
10 set SCHMITZM_LIB_ROOT=%LIB_ROOT%
11
12 rem ###################################################################
13 rem ############# Xulu library paths and parameters ###############
14 rem ###################################################################
15 set XULU_LIB=%LIB_ROOT%\xulu\XuluModellingPlatform.jar
16 if "%1"=="/useXuluJar" set XULU_LIB=%LIB_ROOT%\xulu\XuluModellingPlatform.jar
17 if "%1"=="/useXuluClasses" set XULU_LIB=classes
18
19 set XULU_REGISTRY=registry.xif
20 set XULU_LANGUAGE=de
21 set XULU_WORK_DIR=C:\
22 set XULU_START_SCRIPTS=
23 set XULU_RESOURCE=resource
24
25 rem ####################################################
26 rem ############# External libraries ###############
27 rem ####################################################
28
29 rem ##### Where to find "Java Advanced Imaging" (and ImageIO) #####
30 set JAI_ROOT=%LIB_ROOT%\jai-1_1_3\lib
31
32 rem ##### Where to find "SCHMITZM library" #####
33 set SCHMITZM_ROOT=%LIB_ROOT%\schmitzm
34
35 rem ##### Where to find "JINI" #####
36 set JINI_ROOT=%LIB_ROOT%\jini
37
38 rem ##### Where to find "R" #####
39 set R_ROOT=%LIB_ROOT%\JavaRInterface
40
41
42 rem ##### combine the external libs #####
43 set SCHMITZM_LIB=%SCHMITZM_ROOT%\schmitzm.jar
44 set JAI_LIB=%JAI_ROOT%\*
45 set JINI_LIB=%JINI_ROOT%\lib\*
46 rem set JINI_LIB=%JINI_ROOT%\lib\*;%JINI_ROOT%\lib-dl\*;%JINI_ROOT%\lib-ext\*
47 set R_LIB=%R_ROOT%\JRI.jar;%R_ROOT%\libjri.so;%R_ROOT%\libR.so
48
49 set LIB_ALL=%XULU_LIB%;%SCHMITZM_LIB%;%JAI_LIB%;%JINI_LIB%;%R_LIB%
50
51
52 rem ####################################################
53 rem ####### External libraries of SCHMITZM #########
54 rem ####################################################
55 set LIB_ROOT=%SCHMITZM_LIB_ROOT%
56
57 rem ##### Where to find "ADAGIOS library" #####
58 set ADAGIOS_ROOT=%LIB_ROOT%\Adagios
59
60 rem ##### Where to find "GeoTools" #####
61 set GT_ROOT=%LIB_ROOT%\gt2-2.4.4
62 rem ##### Where to find gt2-arcgrid-2.1.x.jar (from SpearfishDemo) #####
63 set GT_ARCGRID_ROOT=%LIB_ROOT%\geotoolsArcGrid
64
65 rem ##### Where to find "Log4j" #####
66 set LOG4J_ROOT=%LIB_ROOT%\log4j-1.2.14
67
68 rem ##### Where to find "JINI" #####
69 set JINI_ROOT=%LIB_ROOT%\jini
70
71 rem ##### Where to find "jFreeChart" #####
72 set JFREECHART_ROOT=%LIB_ROOT%\jFreeChart
73
74 rem ##### combine the external libs #####
75 set ADAGIOS_LIB=%ADAGIOS_ROOT%\AdagiosJavaLib.jar
76 set GT_LIB=%GT_ROOT%\*
77 set GT_LIB=%GT_LIB%;%GT_ARCGRID_ROOT%\gt2-arcgrid-2.3.0-M0.jar;%GT_ARCGRID_ROOT%\junit-4.4.jar
78 set LOG4J_LIB=%LOG4J_ROOT%\log4j-1.2.14.jar
79 set JINI_LIB=%JINI_ROOT%\lib\*
80 rem set JINI_LIB=%JINI_ROOT%\lib\*;%JINI_ROOT%\lib-dl\*;%JINI_ROOT%\lib-ext\*
81 set JFREECHART_LIB=%JFREECHART_ROOT%\jfreechart-1.0.6.jar;%JFREECHART_ROOT%\jcommon-1.0.10.jar
82
83 set LIB_ALL=%LIB_ALL%;%ADAGIOS_LIB%;%GT_LIB%;%LOG4J_LIB%;%JINI_LIB%;%JFREECHART_LIB%
84
85 rem ##### combine the native libs #####
86 set JAI_NATIVE=%JAI_ROOT%\native_win
87
88 set LIB_NATIVE=%JAI_NATIVE%
89
90
91 rem ##### combine Xulu starting parameters #####
92 set XULU_PARAMS=
93 if not "%XULU_LANGUAGE%"=="" set XULU_PARAMS=%XULU_PARAMS% -l %XULU_LANGUAGE%
94 if not "%XULU_REGISTRY%"=="" set XULU_PARAMS=%XULU_PARAMS% -rf %XULU_REGISTRY%
95 if not "%XULU_MODELS_LIB%"=="" set XULU_PARAMS=%XULU_PARAMS% -d %XULU_MODELS_LIB%
96 if not "%XULU_WORK_DIR%"=="" set XULU_PARAMS=%XULU_PARAMS% -w "%XULU_WORK_DIR%"
97 if not "%XULU_START_SCRIPTS%"=="" set XULU_PARAMS=%XULU_PARAMS% -s "%XULU_START_SCRIPTS%"
98
99
100 rem ##### determine java interpreter #####
101 set JAVA_PRG=start /B javaw
102 rem set JAVA_PRG=java
103 rem ##### for command line help, use java instead of javaw #####
104 if "%1"=="/?" set JAVA_PRG=java
105 if "%1"=="?" set JAVA_PRG=java
106 if "%1"=="-?" set JAVA_PRG=java
107 if "%1"=="--help" set JAVA_PRG=java
108 if "%1"=="-h" set JAVA_PRG=java
109
110
111 rem ##### start Xulu #####
112 %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% %*
113
114 endlocal

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26