From 8e6a8fa694231605a5cdf36f13db4c5ae4bdc44a Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Mon, 9 May 2005 00:22:11 +0000 Subject: [PATCH] actually make the changes I said I had for MNG-372 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169202 13f79535-47bb-0310-9956-ffa450edef68 --- maven-core/src/bin/m2.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maven-core/src/bin/m2.bat b/maven-core/src/bin/m2.bat index 01ff097f4a..e09b2b50d1 100644 --- a/maven-core/src/bin/m2.bat +++ b/maven-core/src/bin/m2.bat @@ -127,7 +127,8 @@ if "%MAVEN_OPTS%"=="" SET MAVEN_OPTS="-Xmx256m" 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