On Mar 22, 2008, at 9:38 AM, Asiri Rathnayake wrote:
Hi Vincent,
On Sat, Mar 22, 2008 at 1:57 PM, Vincent Massol <vincent(a)massol.net>
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
<vincent(a)massol.net> 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 :)
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>