- Timestamp:
- 2008-04-28T13:50:05+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/trunk/gs3-webservices-democlient/gs3democlient.bat
r15226 r15227 6 6 7 7 :: This script must be run from within the directory in which it lives 8 echo I am here 8 9 if exist gs3democlient.bat goto start 9 10 if "%LANGUAGE%" == "en" echo This script must be run from the directory in which it resides. … … 58 59 set JAVAPATH=%JAVA_HOME%\bin 59 60 61 60 62 :testJava 61 63 :: Check that a Java executable has been found … … 64 66 if "%LANGUAGE%" == "fr" echo Vrification de Java: %JAVAPATH% 65 67 if "%LANGUAGE%" == "ru" echo ஢¥àª Java: %JAVAPATH% 66 if exist "%JAVAPATH%\java.exe" goto check GS3democlient68 if exist "%JAVAPATH%\java.exe" goto checkJavaVersion 67 69 68 70 :noJava … … 86 88 87 89 90 :checkJavaVersion 91 :: ---- Ensure that the JavaVersion is 1.5.x or more, run CheckJavaVersion with <required java version no prefix> <target exec program name> --- 92 "%JAVAPATH%\java" CheckJavaVersion 1.5 GS3democlient 93 if ERRORLEVEL 0 goto checkGS3democlient 94 if ERRORLEVEL -1 goto exit 95 96 88 97 :checkGS3democlient 89 :: ---- Check that the G LIhas been compiled ----90 if exist "GS3democlient.jar" goto checkJavaVersion98 :: ---- Check that the GS3democlient has been compiled ---- 99 if exist "GS3democlient.jar" goto runGS3democlient 91 100 echo. 92 101 if "%LANGUAGE%" == "en" echo You need to build the GS3democlient (using "ant build-demo-client") … … 102 111 if "%LANGUAGE%" == "ru" echo (šá¯®«ì§ãï "ant build-demo-client") ¯¥à¥€ ¢¢®€®¬ í⮣® áªàš¯â 103 112 goto exit 104 105 106 :checkJavaVersion107 :: ---- Ensure that the JavaVersion is 1.5.x or more, run CheckJavaVersion with <required java version no prefix> <target exec program name> ---108 "%JAVAPATH%\java" CheckJavaVersion 1.5 GS3democlient109 if ERRORLEVEL 0 goto runGS3democlient110 if ERRORLEVEL -1 goto exit111 113 112 114
Note:
See TracChangeset
for help on using the changeset viewer.