1 | @echo off
|
---|
2 |
|
---|
3 | if "%T3D_HOME%" == "" (
|
---|
4 | echo T3D_HOME environment variable not set! It must point to the T3D installation directory!
|
---|
5 | goto:eof
|
---|
6 | )
|
---|
7 |
|
---|
8 | if "%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 |
|
---|
13 | setlocal
|
---|
14 | set CLASSPATH=%T3D_HOME%\lib\com.yourkit.javaprofiler.controller_7.0.4.jar
|
---|
15 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\de.ugoe.cs.swe.trex.antlr_2.7.6.jar
|
---|
16 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.core.resources_3.4.0.v20080604-1400.jar
|
---|
17 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.core.runtime_3.4.0.v20080512.jar
|
---|
18 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
|
---|
19 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\org.eclipse.osgi_3.4.0.v20080605-1900.jar
|
---|
20 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\stringtemplate.jar
|
---|
21 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\xpp3_min-1.1.4c.jar
|
---|
22 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\xstream-1.3.1.jar
|
---|
23 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\fop.jar
|
---|
24 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-logging-1.1.1.jar
|
---|
25 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-io-1.4.jar
|
---|
26 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-lang-2.4.jar
|
---|
27 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\commons-cli-1.2.jar
|
---|
28 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\batik-util.jar
|
---|
29 | set CLASSPATH=%CLASSPATH%;%T3D_HOME%\lib\saxon9.jar
|
---|
30 |
|
---|
31 | set JAVA="%JAVA_HOME%\bin\java.exe"
|
---|
32 |
|
---|
33 | if 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 |
|
---|
39 | if 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 |
|
---|
45 | if 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 |
|
---|
51 | set JAVA_CMD=%JAVA% -Xmx512m -Xss128m -cp "%CLASSPATH%" org.etsi.t3d.T3D
|
---|
52 |
|
---|
53 | if "%1" == "--echo" (
|
---|
54 | echo %JAVA_CMD%
|
---|
55 | ) else (
|
---|
56 | %JAVA_CMD% %*
|
---|
57 | )
|
---|
58 |
|
---|