vgritsenko 01/06/20 17:28:43 Modified: . run.bat Log: Better support for command line arguments under NT Revision Changes Path 1.2 +5 -1 xml-cocoon2/run.bat Index: run.bat =================================================================== RCS file: /home/cvs/xml-cocoon2/run.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- run.bat 2001/05/09 20:49:26 1.1 +++ run.bat 2001/06/21 00:28:41 1.2 @@ -2,7 +2,7 @@ :: ----------------------------------------------------------------------------- :: run.bat - Win32 Run Script for Apache Cocoon :: -:: $Id: run.bat,v 1.1 2001/05/09 20:49:26 giacomo Exp $ +:: $Id: run.bat,v 1.2 2001/06/21 00:28:41 vgritsenko Exp $ :: ----------------------------------------------------------------------------- :: ----- Verify and Set Required Environment Variables ------------------------- @@ -29,7 +29,11 @@ :: ----- Run Cocoon ------------------------------------------------------------ +if "%OS%" == "Windows_NT" goto nt %JAVA_HOME%\bin\java.exe %COCOON_OPTS% -classpath %CP% org.apache.cocoon.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 +goto cleanup +:nt +%JAVA_HOME%\bin\java.exe %COCOON_OPTS% -classpath %CP% org.apache.cocoon.Main %* :: ----- Cleanup the environment -----------------------------------------------
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
