You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/05/09 02:22:11 UTC

svn commit: r169202 - /maven/components/trunk/maven-core/src/bin/m2.bat

Author: brett
Date: Sun May  8 17:22:11 2005
New Revision: 169202

URL: http://svn.apache.org/viewcvs?rev=169202&view=rev
Log:
actually make the changes I said I had for MNG-372

Modified:
    maven/components/trunk/maven-core/src/bin/m2.bat

Modified: maven/components/trunk/maven-core/src/bin/m2.bat
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/bin/m2.bat?rev=169202&r1=169201&r2=169202&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/bin/m2.bat (original)
+++ maven/components/trunk/maven-core/src/bin/m2.bat Sun May  8 17:22:11 2005
@@ -127,7 +127,8 @@
 SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
 
 @REM Start MAVEN2
-%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath "%M2_HOME%"\core\boot\classworlds-* "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
+for %%i in ("%M2_HOME%"\core\boot\classworlds-*) do set CLASSWORLDS_JAR="%%i"
+%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
 goto end
 
 :error



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org