Shane Isbell wrote:
Okay it works. One small suggestion for the README.txt file. It states:
NOTE: presently, the directory {M2_HOME}/bin must be in your path:
I was not sure what this meant because it does not say what must be in
it (I had problems because I just created an empty one). It would be
helpful to state that one should take the m2.bat from the latest
binary version of Maven 2.0 and place it within the bin directory.
When you run m2-bootstrap-all.bat, it do this :
- build all m2 subproject
- delete M2_HOME directory
- create M2_HOME directory
- create M2_HOME/bin directory and put in it m2.bat
- create some other directories
Yopu don't need to create bin directory manually, ant put in in m2.bat.
It's automatic.
Emmanuel
Otherwise, everything looks good.
Thanks,
Shane
On 6/17/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
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]
---------------------------------------------------------------------
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]