geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fei Fei" <micro.soft....@hotmail.com>
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] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 10 minutes 31 seconds
[INFO] Finished at: Sat Jan 27 16:49:54 CST 2007
[INFO] Final Memory: 19M/35M
[INFO] 
------------------------------------------------------------------------

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):

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.

2.
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 
good.

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 
http://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com?s_cid=Hotmail_tagline_12/06


Mime
View raw message