source: trunk/t3q/t3q.bat @ 22

Last change on this file since 22 was 7, checked in by phdmakk, 15 years ago
File size: 1.8 KB
Line 
1@echo off
2::consider using %dp0 instead of %T3Q_HOME%
3if "%T3Q_HOME%" == "" (
4    echo T3Q_HOME environment variable not set! It must point to the T3Q 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=%T3Q_HOME%\lib\com.yourkit.javaprofiler.controller_7.0.4.jar
15set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\de.ugoe.cs.swe.trex.antlr_2.7.6.jar
16set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\org.eclipse.core.resources_3.4.0.v20080604-1400.jar
17set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\org.eclipse.core.runtime_3.4.0.v20080512.jar
18set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
19set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\org.eclipse.osgi_3.4.0.v20080605-1900.jar
20set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\stringtemplate.jar
21set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\xpp3_min-1.1.4c.jar
22set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\xstream-1.3.1.jar
23set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\commons-cli-1.2.jar
24
25set JAVA="%JAVA_HOME%\bin\java.exe"
26
27if exist "%T3Q_HOME%\..\de.ugoe.cs.swe.trex.core\bin\de" (
28    set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\..\de.ugoe.cs.swe.trex.core\bin
29) else (
30    set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\de.ugoe.cs.swe.trex.core_0.6.0.200810271154.jar
31)
32
33if exist "%T3Q_HOME%\..\org.etsi.common\bin\org" (
34    set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\..\org.etsi.common\bin
35) else (
36    set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\org.etsi.common.jar
37)
38
39if exist "%T3Q_HOME%\bin\org" (
40    set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\bin
41) else (
42    set CLASSPATH=%CLASSPATH%;%T3Q_HOME%\lib\t3q.jar
43)
44
45set JAVA_CMD=%JAVA% -Xmx512m -cp "%CLASSPATH%" org.etsi.t3q.T3Q
46
47if "%1" == "--echo" (
48        echo %JAVA_CMD%
49) else (
50        %JAVA_CMD% %*
51)
52
Note: See TracBrowser for help on using the repository browser.