Hi Asiri, On Tue, Mar 25, 2008 at 9:02 AM, Asiri Rathnayake <[EMAIL PROTECTED]> wrote: > Hi Pascal, > > On Tue, Mar 25, 2008 at 1:13 PM, Pascal Voitot <[EMAIL PROTECTED]> > wrote: > > > > I'm going to try the tutorial from scratch today... > > I use Eclipse Europa on Linux but I can also try it on Windows... > > > > Thanks a lot. I'm also trying it out with a fresh installation of J2EE > eclipse and an empty local repository. I emptied the repository since you > advised having both m2eclipse and command-line version of maven could be a > problem. let's see how it goes. > > -Asiri
For more details on configuration which worked for me : - Ubuntu Linux 7.10 + Eclipse J2EE Europa (3.3) - Ubuntu Linux 7.10 + Eclipse Standard 3.4 + JSP/WSP installed by hand - Ubuntu Linux 8.04 + Eclipse J2EE Europa (3.3) + AJDT (I doubt this has anything to do with mvn install) In all theses configuration I always had command-line maven used (I prefer use command-line to lauch mvn install et make releases) with no conflict. In fact lauch mvn install from Eclipse always worked better for me because m2eclipse embedded maven correctly execute Checkstyle tests :) I'm rereading your error message trying to figure out what could be the problem... > > > > > > > > br > > Pascal > > > > On 3/25/08, Asiri Rathnayake <[EMAIL PROTECTED]> wrote: > > > > > > Hi Vincent, > > > > > > On Sat, Mar 22, 2008 at 5:10 PM, Vincent Massol <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > > > > On Mar 22, 2008, at 9:38 AM, Asiri Rathnayake wrote: > > > > > > > > Hi Vincent, > > > > > > > > On Sat, Mar 22, 2008 at 1:57 PM, Vincent Massol <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > > > > > > On Mar 22, 2008, at 9:19 AM, Asiri Rathnayake wrote: > > > > > > > > > > Hi Vincent, > > > > > > > > > > On Fri, Mar 21, 2008 at 8:16 PM, Vincent Massol <[EMAIL PROTECTED]> > > > > > wrote: > > > > > > > > > > > Hi Asiri, > > > > > > > > > > > > If you have some time... :) I think it would be great if you could > > > > > > document how to use the m2eclipse plugin in Eclipse to set up > > XWiki > > > > > > (with screenshots). I've been using it for the past 5 days and > > it's > > > > > > great and makes setting up a XWiki dev environment a breeze and > > it's > > > > > > much much better than doing it the manual way for lots of reasons > > > > > > (always synced with the POMs, etc). > > > > > > > > > > > > http://m2eclipse.codehaus.org/ > > > > > > > > > > > > > > > > I think I have hit a wall here. It seems like m2eclipse is only mean > > > for > > > > > windows *groans*. > > > > > > > > > > The embedded version of maven seems to be incapable of building > > XWiki, > > > > > > > > > > > > > > > Works just fine for Thomas and me. I didn't change anything from the > > > > > defaults. That's what we use. I'm on Mac and Thomas on unix I think. > > > > > > > > > > > > > In that case, can you verify > > > > http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse and > > let > > > me > > > > know if the m2eclipse guide is ok. May be we should add a warning for > > > linux > > > > users there and finish it off. > > > > > > > > > > > > The best would be for you to get it working since I don't see how you > > > can > > > > write a tutorial if you haven't used it :) > > > > > > > > > > Well, it's working. I mean it's working for goals like 'mvn clean'. But > > i > > > couldn't get it to work with 'mvn install'. The screen-shots are from > > 'mvn > > > clean'. Thomas confirmed that the tutorial is OK. > > > > > > May be if someone else can follow the tutorial from scratch and see if > > > it's > > > working for 'mvn install' ? > > > > > > I think the issues with my experiences are specific to my configuration, > > I > > > tried m2eclipse with 'Eclipse Standard' version. I'll try it with > > 'Eclipse > > > for J2EE developers' soon. > > > > > > Thanks. > > > > > > - Asiri > > > > > > > > > > > > > > If you cannot then I'll need to find the time to write the tutorial. > > > Let's > > > > see what Thomas says since I think he's on linux. > > > > > > > > Thanks > > > > -Vincent > > > > > > > > FWIW I'm using Eclipse 3.4M5. > > > > > > > > > > -Vincent > > > > > > > > > > so i tried to change it to our own version of Maven (refer to > > > > > settings.png attached ). But when i try to build XWiki (in > > m2eclipse) > > > > > with the new settings, it complains that it is unable to find the > > > maven > > > > > executable. If you refer to error.png , it becomes evident that > > > > > m2eclipse doesn't know how to handle path names in Linux. > > > > > > > > > > One more tiny problem is that i can't find any place where i can set > > > > > MAVEN_OPTS=-Xmx600m. But this can be overcome by setting it in > > > bash_profile, > > > > > so I guess it is not a big deal. > > > > > > > > > > Any comments ? > > > > > > > > > > Thanks. > > > > > > > > > > - Asiri > > > > > > > > > > > > > > > > Thanks > > > > > > -Vincent > > > > > > > > > > > > > > > > > > > > > > > <settings.png><error.png> > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > devs mailing list > > > devs@xwiki.org > > > http://lists.xwiki.org/mailman/listinfo/devs > > > > > _______________________________________________ > > devs mailing list > > devs@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/devs > > > _______________________________________________ > devs mailing list > devs@xwiki.org > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs