On Sat, Mar 22, 2008 at 4:05 PM, Thomas Mortagne <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 22, 2008 at 11:29 AM, Asiri Rathnayake > <[EMAIL PROTECTED]> wrote: > > Hi Thomas, > > > > On Sat, Mar 22, 2008 at 3:56 PM, Thomas Mortagne < > [EMAIL PROTECTED]> > > wrote: > > > > > > > On Sat, Mar 22, 2008 at 9:27 AM, 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. > > > > > > > > FWIW I'm using Eclipse 3.4M5. > > > > > > I'm working on Ubuntu Linux with Eclipse 3.3, I never tryed M2Eclipse > > > on Windows. The m2eclipse embeded maven works fine for me since > > > m2eclipse 0.0.12 and even better in 0.9 as I said previously. > > > > > > > I couldn't build xwiki-platform-core with m2eclipse with the default > > embedded maven, and i couldn't change it to my local maven installation > > either. Anyway, if it works for ubuntu, then it means something is > wrong > > with my configuration (although i couldn't hunt it down so far). > > > > Well I'm using AJDT Eclipse plugin to build the xwik-core AspectJ for > debuging needs but I'm not sure it's really needed if you just want to > build java sources (and I'm pretty sure Vincent does not use it). What > problem have ou exactly ? > The whole build process get stuck at some point with a failure message. And now i'm faced with another problem, the import process takes years to complete. I'll post the error message once i get the workspace up. Thanks. - Asiri > > > Thanks. > > > > - Asiri > > > > > > > > > > > > > > > > > > > -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 > > > > > > > > > > > > > > > > -- > > > Thomas Mortagne > > > _______________________________________________ > > > 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 > _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs