geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fei Fei" <>
Subject Re: Build geronimo failed..(Resolved )
Date Sat, 27 Jan 2007 09:58:13 GMT

Now.I can see following message:

E:\workspace\openejb\openejb3>mvn -e eclipse:eclipse
[INFO] Total time: 10 minutes 31 seconds
[INFO] Finished at: Sat Jan 27 16:49:54 CST 2007
[INFO] Final Memory: 19M/35M

That is means build successful of project openejb.sure you know too.
Now.I will list my operation step following,maybe can help novice(like me):

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.

I found dir name is "maven-clipse-plugin" in dir 
.m2\repository\org\apache\maven\plugins\,NOTE that is not 
"maven-eclipse-plugin",and the maven runtime used is 
maven-clipse-plugin,(why?I don't know,maybe you can tell me,thanks.),so I 
guess the contents should is contents in 
.m2\repository\org\apache\maven\plugins\maven-eclipse-plugin,because I do 
search with google use keyword "maven-clipse-plugin" cannot found any 
result. I copy the contents of dir 
.m2\repository\org\apache\maven\plugins\maven-eclipse-plugin to 
.m2\repository\org\apache\maven\plugins\maven-clipse-plugin,It working very 

another :
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 hope write more.But my english ability is very bad.
If you know my meaning from above,Congratulate you.

-A Fei-

FREE online classifieds from Windows Live Expo  buy and sell with people 
you know

View raw message