jstrachan 2002/06/13 21:57:11 Modified: src/bin maven.bat Log: patched windoze script to run maven Revision Changes Path 1.2 +22 -22 jakarta-turbine-maven/src/bin/maven.bat Index: maven.bat =================================================================== RCS file: /home/cvs/jakarta-turbine-maven/src/bin/maven.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.bat 13 Jun 2002 12:13:03 -0000 1.1 +++ maven.bat 14 Jun 2002 04:57:11 -0000 1.2 @@ -1,22 +1,22 @@ -@echo off - -if "%MAVEN_HOME%" == "" goto error - -set CP= -for %%i in (%MAVEN_HOME%\lib\*.jar) do call cp.bat %%i -set CP=%JAVA_HOME%\lib\tools.jar;%CP% - -java -classpath "%CP%" -Dmaven.home=%MAVEN_HOME% org.apache.commons.jelly.Jelly %MAVEN_HOME%\bin\driver.jelly %* - -goto end - -:error - -echo ERROR: MAVEN_HOME not found in your environment. -echo Please, set the MAVEN_HOME variable in your environment to match the -echo location of the Maven installation - -:end - -set LOCALCLASSPATH= - +@echo off + +if "%MAVEN_HOME%" == "" goto error + +set CP= +for %%i in (%MAVEN_HOME%\lib\*.jar) do call cp.bat %%i +set CP=%JAVA_HOME%\lib\tools.jar;%CP% + +java -classpath "%CP%" -Dmaven.home=%MAVEN_HOME% org.apache.maven.app.Maven %* + +goto end + +:error + +echo ERROR: MAVEN_HOME not found in your environment. +echo Please, set the MAVEN_HOME variable in your environment to match the +echo location of the Maven installation + +:end + +set LOCALCLASSPATH= +
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
