source: branches/t3e-tools/t3d/t3d.bat @ 18

Last change on this file since 18 was 7, checked in by phdmakk, 15 years ago
File size: 2.2 KB
Line 
1@echo off
2
3if "%T3D_HOME%" == "" (
4    echo T3D_HOME environment variable not set! It must point to the T3D installation directory!
5    goto:eof
6)
7
8if "%JAVA_HOME%" == "" (
9    echo JAVA_HOME environment variable not set! It must point to the directory of your Java Runtime >= 5.0
10    goto:eof
11)
12
13setlocal
14set CLASSPATH=%T3D_HOME%\lib\com.yourkit.javaprofiler.controller_7.0.4.jar
15set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\de.ugoe.cs.swe.trex.antlr_2.7.6.jar
16set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.core.resources_3.4.0.v20080604-1400.jar
17set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.core.runtime_3.4.0.v20080512.jar
18set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
19set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.osgi_3.4.0.v20080605-1900.jar
20set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\stringtemplate.jar
21set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\xpp3_min-1.1.4c.jar
22set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\xstream-1.3.1.jar
23set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\fop.jar
24set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-logging-1.1.1.jar
25set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-io-1.4.jar
26set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-lang-2.4.jar
27set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-cli-1.2.jar
28set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\batik-util.jar
29set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\saxon9.jar
30
31set JAVA="%JAVA_HOME%\bin\java.exe"
32
33if exist "%T3D_HOME%\..\de.ugoe.cs.swe.trex.core\bin\de" (
34    set CLASSPATH=%CLASSPATH%;%T3D_HOME%\..\de.ugoe.cs.swe.trex.core\bin
35) else (
36    set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\de.ugoe.cs.swe.trex.core_0.6.0.200810271154.jar
37)
38
39if exist "%T3D_HOME%\..\org.etsi.common\bin\org" (
40    set CLASSPATH=%CLASSPATH%;%T3D_HOME%\..\org.etsi.common\bin
41) else (
42    set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.etsi.common.jar
43)
44
45if exist "%T3D_HOME%\bin\org" (
46    set CLASSPATH=%CLASSPATH%;%T3D_HOME%\bin
47) else (
48    set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\t3d.jar
49)
50
51set JAVA_CMD=%JAVA% -Xmx512m -Xss128m -cp "%CLASSPATH%" org.etsi.t3d.T3D
52
53if "%1" == "--echo" (
54        echo %JAVA_CMD%
55) else (
56        %JAVA_CMD% %*
57)
58
Note: See TracBrowser for help on using the repository browser.