Brett Porter wrote:
Shane Isbell wrote:
1) m2-bootstrap-all.bat
------------------------
:chkMHome
if not "%M2_HOME%"=="" goto init
echo.
echo ERROR: M2_HOME not found in your environment.
echo Please set the M2_HOME variable in your environment to match the
echo location of the Maven installation
echo.
goto end
@REM ==== END VALIDATION ====
:init
@REM Decide how to startup depending on the version of windows
---------------------
Since my M2_HOME is set, the script ends. The 'if not' should just
read 'if'
I'm not sure what you mean, to demonstrate what this is doing...
if not "c:\m2"=="" do the installation
if "c:\m2"!="" do the installation
looks right to me?
What error do you get? Maybe M2_HOME has quotes in it? (It shouldn't,
even if it has spaces). I have tested the .bat recently.
I highly recommend using cygwin :)
I don't use cygwin for bootstrap it, and .bat works very well.
2) Everything builds correctly, but I see these stack traces generated
by some of the integration tests.
This is a result of using an old resources plugin (alpha-2) with the new
Maven core, probably related to M2_HOME not set as well.
Hope this helps,
Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]