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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26