On 1/27/07, Fei Fei <[EMAIL PROTECTED]> wrote:
E:\workspace\openejb\openejb3>mvn -e eclipse:eclipse ............. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL
Congratulation! I hope your working with Geronimo won't be that hard any longer! :P
1. maven 2.0.4 cannot work at JDK1.6 platform,only 1.5,so you should edit file mvn.bat(in %MVN_HOME%/bin/) and add command(dose not contains the double quotation marks ) "set JAVA_HOME=E:\JDK150"(of course this path is jdk1.5 home dir in you system) at previous line of this command line: if not "%JAVA_HOME%" == "" goto OkJHome. this prob resolved can resolve many another prob.
...or better yet, set JAVA_HOME in your environment whenever you want to work with m2. I'm doing it all the time in Cygwin where I set a couple of aliases that change JAVA_HOME to what the project is supposed to work with.
2. I found dir name is "maven-clipse-plugin" in dir .m2\repository\org\apache\maven\plugins\
That's strange. I have never come across it before. Worth to keep it in archive in case it will happen again. Thanks for reporting!
Maven runtime cannot load class org\apache\tools\ant\launch\AntMain,I copy the ant.jar,ant-launcher.jar from E:\IDE\Ant170\lib to E:\IDE\Maven204\lib,the result is it work now.
I'd not had to do it as you did. Are you sure your m2 is not broken? I'd suggest that you delete m2 and install it again. You'd be better off checking your environment variables, too. Even if it works for you now, chances are other errors may surface in the not-so-distant future due to the steps you did, but you shouldn't have done.
If you know my meaning from above,Congratulate you.
You see - he's talking about me! Wish me lack with other readings I've got on my plate ;-) Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
