patrickl 2002/08/29 11:19:59 Modified: jasper2/src/bin jspc-using-launcher.bat Log: Update scripts that use commons-launcher.jar so that %PATH% is only used on Windows 9x Revision Changes Path 1.2 +7 -1 jakarta-tomcat-jasper/jasper2/src/bin/jspc-using-launcher.bat Index: jspc-using-launcher.bat =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/bin/jspc-using-launcher.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- jspc-using-launcher.bat 4 Aug 2002 18:21:08 -0000 1.1 +++ jspc-using-launcher.bat 29 Aug 2002 18:19:59 -0000 1.2 @@ -34,7 +34,13 @@ goto setArgs :doneSetArgs +rem Set classpath to handle when %0 does not contain any path +set PRG_CLASSPATH=%PRG%\.. +if "%OS%" == "Windows_NT" goto gotClasspath +set PRG_CLASSPATH=%PRG_CLASSPATH%;"%PATH%;." +:gotClasspath + rem Execute the Launcher using the "jspc" target -"%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;"%PATH%" LauncherBootstrap -launchfile jasper.xml -verbose jspc %CMD_LINE_ARGS% +"%JAVA_HOME%\bin\java.exe" -classpath %PRG_CLASSPATH% LauncherBootstrap -launchfile jasper.xml -verbose jspc %CMD_LINE_ARGS% :end
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>