MNG-86. Fix bootstrap failures when M2_HOME contains spaces.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-09-30 08:49:20 +00:00
parent b1b7930761
commit c894f62970
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ goto Win9xApp
@REM Reaching here means variables are defined and arguments have been captured @REM Reaching here means variables are defined and arguments have been captured
:endInit :endInit
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" 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 @REM Build MBoot2
cd maven-mboot2 cd maven-mboot2

View File

@ -20,5 +20,5 @@
@REM NOTE: for simplicity, only Windows NT/2000/XP is current supported @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 @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