You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by ev...@apache.org on 2004/09/30 10:49:20 UTC
cvs commit: maven-components/maven-core-it maven-core-it.bat
evenisse 2004/09/30 01:49:20
Modified: . m2-bootstrap-all.bat
maven-core-it maven-core-it.bat
Log:
MNG-86. Fix bootstrap failures when M2_HOME contains spaces.
Revision Changes Path
1.5 +1 -1 maven-components/m2-bootstrap-all.bat
Index: m2-bootstrap-all.bat
===================================================================
RCS file: /home/cvs/maven-components/m2-bootstrap-all.bat,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- m2-bootstrap-all.bat 24 Sep 2004 14:10:44 -0000 1.4
+++ m2-bootstrap-all.bat 30 Sep 2004 08:49:20 -0000 1.5
@@ -101,7 +101,7 @@
@REM Reaching here means variables are defined and arguments have been captured
:endInit
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
-SET MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% -Dmaven.home=%M2_HOME%
+SET MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% -Dmaven.home="%M2_HOME%"
@REM Build MBoot2
cd maven-mboot2
1.2 +1 -1 maven-components/maven-core-it/maven-core-it.bat
Index: maven-core-it.bat
===================================================================
RCS file: /home/cvs/maven-components/maven-core-it/maven-core-it.bat,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- maven-core-it.bat 10 Sep 2004 23:42:49 -0000 1.1
+++ maven-core-it.bat 30 Sep 2004 08:49:20 -0000 1.2
@@ -20,5 +20,5 @@
@REM NOTE: for simplicity, only Windows NT/2000/XP is current supported
@REM This also assumes that M2_HOME and JAVA_HOME are set, which are verified in the bootstrap script only
-%JAVA_HOME%\bin\java.exe %* -Dmaven.home=%M2_HOME% -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier
+%JAVA_HOME%\bin\java.exe %* -Dmaven.home="%M2_HOME%" -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier