Re: [xwiki-devs] Building in Eclipse tutorial ideas
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. -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>
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).
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. Thanks. - Asiri
FWIW I'm using Eclipse 3.4M5.
-Vincent
so i tried to change it to our own version of Maven (refer to settings.pngattached ). 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>
On Sat, Mar 22, 2008 at 9:38 AM, Asiri Rathnayake <[email protected]> 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).
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 M2Eclipse part seems fine to me as a start (there is some more hacking to be able to debug on Eclipse/WTP). Why the do you want to add a "warning for linux users" ?
Thanks.
- Asiri
FWIW I'm using Eclipse 3.4M5.
-Vincent
so i tried to change it to our own version of Maven (refer to settings.pngattached ). 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
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 :) 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>
Note: This email was written 3 days ago but I was on a weekend holiday and offline so it just got sent now... Haven't caught up with the thread yet. -Vincent On Mar 22, 2008, at 12:40 PM, Vincent Massol 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 :)
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
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).
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>
I'm going to try the tutorial from scratch today... I use Eclipse Europa on Linux but I can also try it on Windows... 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).
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
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
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).
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
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).
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Tue, Mar 25, 2008 at 10:35 AM, Thomas Mortagne <[email protected]> wrote:
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...
Hmm... I tested with xwiki-core but now that I'm on Ubuntu 8.04, this time it seems I have a problem with XE but just XE, weird.
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
Hi Thomas, On Tue, Mar 25, 2008 at 3:05 PM, Thomas Mortagne <[email protected]> wrote:
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)
- Fedora Core 6 + Eclipse J2EE Europa (3.3.2) still fails for me :( <DUMP> [ERROR] com.xpn.xwiki.tool.backup.ImportMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms: [ERROR] Plugin realm = /plugins/com.xpn.xwiki.platform.tools:xwiki-packager-plugin: 1.10-SNAPSHOT@1723284763/thread:main urls[0] = file:/home/asiri/.m2/repository/com/xpn/xwiki/platform/tools/xwiki-packager-plugin/1.10-SNAPSHOT/xwiki- packager-plugin-1.10-SNAPSHOT.jar urls[1] = file:/home/asiri/.m2/repository/radeox/radeox/1.0-b2/radeox- 1.0-b2.jar urls[2] = file:/home/asiri/.m2/repository/org/apache/portals/graffito-jcr-mapping/1.0-a1-amelentev-dev/graffito- jcr-mapping-1.0-a1-amelentev-dev.jar urls[3] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.service.security.api/2.0/exo-platform.service.security.api-2.0.jar urls[4] = file:/home/asiri/.m2/repository/xml-apis/xml-apis/1.3.04/xml- apis-1.3.04.jar urls[5] = file:/home/asiri/.m2/repository/batik/batik-extension/1.6-1/batik- extension-1.6-1.jar urls[6] = file:/home/asiri/.m2/repository/log4j/log4j/1.2.13/log4j- 1.2.13.jar urls[7] = file:/home/asiri/.m2/repository/batik/batik-gvt/1.6/batik- gvt-1.6.jar urls[8] = file:/home/asiri/.m2/repository/info/informatica/jclf/2.3.0/jclf- 2.3.0.jar urls[9] = file:/home/asiri/.m2/repository/velocity-tools/velocity-tools/1.3/velocity- tools-1.3.jar urls[10] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.container/2.0/exo-platform.container-2.0.jar urls[11] = file:/home/asiri/.m2/repository/batik/batik-bridge/1.6/batik- bridge-1.6.jar urls[12] = file:/home/asiri/.m2/repository/rome/rome-fetcher/0.7/rome- fetcher-0.7.jar urls[13] = file:/home/asiri/.m2/repository/rome/rome/0.8/rome-0.8.jar urls[14] = file:/home/asiri/.m2/repository/ical4j/ical4j/0.9.20/ical4j- 0.9.20.jar urls[15] = file:/home/asiri/.m2/repository/xmlrpc/xmlrpc-server/3.0/xmlrpc- server-3.0.jar urls[16] = file:/home/asiri/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.1/xmlgraphics- commons-1.1.jar urls[17] = file:/home/asiri/.m2/repository/picocontainer/picocontainer/1.2/picocontainer- 1.2.jar urls[18] = file:/home/asiri/.m2/repository/asm/asm-attrs/1.5.3/asm- attrs-1.5.3.jar urls[19] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.service.database.api/2.0/exo-platform.service.database.api-2.0.jar urls[20] = file:/home/asiri/.m2/repository/aspectj/aspectjrt/1.5.2a/aspectjrt- 1.5.2a.jar urls[21] = file:/home/asiri/.m2/repository/commons-validator/commons-validator/1.1.4/commons- validator-1.1.4.jar urls[22] = file:/home/asiri/.m2/repository/org/apache/poi/poi/3.0-FINAL/poi- 3.0-FINAL.jar urls[23] = file:/home/asiri/.m2/repository/javax/xml/jaxrpc-api/1.1/jaxrpc- api-1.1.jar urls[24] = file:/home/asiri/.m2/repository/commons-pool/commons-pool/1.2/commons- pool-1.2.jar urls[25] = file:/home/asiri/.m2/repository/javax/transaction/jta/1.0.1B/jta- 1.0.1B.jar urls[26] = file:/home/asiri/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.0/backport- util-concurrent-3.0.jar urls[27] = file:/home/asiri/.m2/repository/org/apache/xmlgraphics/fop/0.93/fop-0.93.jar urls[28] = file:/home/asiri/.m2/repository/jfree/jcommon/1.0.5/jcommon- 1.0.5.jar urls[29] = file:/home/asiri/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons- beanutils-1.7.0.jar urls[30] = file:/home/asiri/.m2/repository/commons-net/commons-net/1.4.1/commons- net-1.4.1.jar urls[31] = file:/home/asiri/.m2/repository/batik/batik-script/1.6/batik- script-1.6.jar urls[32] = file:/home/asiri/.m2/repository/javax/activation/activation/1.1/activation- 1.1.jar urls[33] = file:/home/asiri/.m2/repository/org/suigeneris/jrcs.diff/0.4.2/jrcs.diff- 0.4.2.jar urls[34] = file:/home/asiri/.m2/repository/batik/batik-xml/1.6/batik- xml-1.6.jar urls[35] = file:/home/asiri/.m2/repository/org/apache/avalon/framework/avalon-framework-impl/4.3.1/avalon- framework-impl-4.3.1.jar urls[36] = file:/home/asiri/.m2/repository/batik/batik-dom/1.6/batik- dom-1.6.jar urls[37] = file:/home/asiri/.m2/repository/org/codehaus/swizzle/swizzle-confluence/1.1-20070908/swizzle- confluence-1.1-20070908-xwiki.jar urls[38] = file:/home/asiri/.m2/repository/org/apache/lucene/lucene-core/2.3.0/lucene- core-2.3.0.jar urls[39] = file:/home/asiri/.m2/repository/xalan/xalan/2.5.1/xalan-2.5.1.jar urls[40] = file:/home/asiri/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar urls[41] = file:/home/asiri/.m2/repository/org/apache/avalon/framework/avalon-framework-api/4.3.1/avalon- framework-api-4.3.1.jar urls[42] = file:/home/asiri/.m2/repository/commons-fileupload/commons-fileupload/1.1.1/commons- fileupload-1.1.1.jar urls[43] = file:/home/asiri/.m2/repository/commons-collections/commons-collections/3.2/commons- collections-3.2.jar urls[44] = file:/home/asiri/.m2/repository/batik/batik-svggen/1.6/batik- svggen-1.6.jar urls[45] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.service.organization.api/2.0/exo- platform.service.organization.api-2.0.jar urls[46] = file:/home/asiri/.m2/repository/org/apache/axis/axis/1.4/axis- 1.4.jar urls[47] = file:/home/asiri/.m2/repository/jcaptcha/jcaptcha-all/1.0-RC3/jcaptcha- all-1.0-RC3.jar urls[48] = file:/home/asiri/.m2/repository/xml-apis/xmlParserAPIs/2.0.2/xmlParserAPIs- 2.0.2.jar urls[49] = file:/home/asiri/.m2/repository/portlet-api/portlet-api/1.0/portlet- api-1.0.jar urls[50] = file:/home/asiri/.m2/repository/securityfilter/securityfilter/2.0/securityfilter- 2.0.jar urls[51] = file:/home/asiri/.m2/repository/javax/jcr/jcr/1.0/jcr-1.0.jar urls[52] = file:/home/asiri/.m2/repository/org/apache/xmlrpc/xmlrpc-common/3.0/xmlrpc- common-3.0.jar urls[53] = file:/home/asiri/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar urls[54] = file:/home/asiri/.m2/repository/com/xpn/xwiki/platform/xwiki-core/1.3/xwiki- core-1.3.jar urls[55] = file:/home/asiri/.m2/repository/batik/batik-rasterizer/1.6/batik- rasterizer-1.6.jar urls[56] = file:/home/asiri/.m2/repository/org/apache/jackrabbit/jackrabbit-core/1.1/jackrabbit- core-1.1.jar urls[57] = file:/home/asiri/.m2/repository/batik/batik-awt-util/1.6/batik- awt-util-1.6.jar urls[58] = file:/home/asiri/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons- dbcp-1.2.1.jar urls[59] = file:/home/asiri/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons- httpclient-3.1.jar urls[60] = file:/home/asiri/.m2/repository/batik/batik-ext/1.6/batik- ext-1.6.jar urls[61] = file:/home/asiri/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb- 1.8.0.7.jar urls[62] = file:/home/asiri/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache- 1.2.3.jar urls[63] = file:/home/asiri/.m2/repository/batik/batik-parser/1.6/batik- parser-1.6.jar urls[64] = file:/home/asiri/.m2/repository/commons-codec/commons-codec/1.3/commons- codec-1.3.jar urls[65] = file:/home/asiri/.m2/repository/commons-lang/commons-lang/2.3/commons- lang-2.3.jar urls[66] = file:/home/asiri/.m2/repository/struts/struts/1.2.9/struts- 1.2.9.jar urls[67] = file:/home/asiri/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate- 3.2.5.ga.jar urls[68] = file:/home/asiri/.m2/repository/com/novell/ldap/UNKNOWN/ldap- UNKNOWN.jar urls[69] = file:/home/asiri/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar urls[70] = file:/home/asiri/.m2/repository/exo-platform/exo-platform.commons /2.0/exo-platform.commons-2.0.jar urls[71] = file:/home/asiri/.m2/repository/org/xwiki/platform/xwiki-core-component/1.3/xwiki- core-component-1.3.jar urls[72] = file:/home/asiri/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar urls[73] = file:/home/asiri/.m2/repository/jgroups/jgroups/2.2.9.3/jgroups- 2.2.9.3.jar urls[74] = file:/home/asiri/.m2/repository/flickrj/flickrapi/1.0a7/flickrapi-1.0a7.jar urls[75] = file:/home/asiri/.m2/repository/batik/batik-svg-dom/1.6/batik- svg-dom-1.6.jar urls[76] = file:/home/asiri/.m2/repository/com/google/googleapi/UNKNOWN/googleapi- UNKNOWN-xwiki.jar urls[77] = file:/home/asiri/.m2/repository/pdfbox/pdfbox/0.7.1/pdfbox- 0.7.1.jar urls[78] = file:/home/asiri/.m2/repository/xmlrpc/xmlrpc-client/3.0/xmlrpc- client-3.0.jar urls[79] = file:/home/asiri/.m2/repository/batik/batik-transcoder/1.6/batik- transcoder-1.6.jar urls[80] = file:/home/asiri/.m2/repository/org/apache/ws/commons/ws-commons-util/1.0.1/ws- commons-util-1.0.1.jar urls[81] = file:/home/asiri/.m2/repository/org/suigeneris/jrcs.rcs/0.4.2/jrcs.rcs- 0.4.2.jar urls[82] = file:/home/asiri/.m2/repository/commons-logging/commons-logging/1.1.1/commons- logging-1.1.1.jar urls[83] = file:/home/asiri/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar urls[84] = file:/home/asiri/.m2/repository/batik/batik-util/1.6/batik- util-1.6.jar urls[85] = file:/home/asiri/.m2/repository/ecs/ecs/1.4.2/ecs-1.4.2.jar urls[86] = file:/home/asiri/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar urls[87] = file:/home/asiri/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar urls[88] = file:/home/asiri/.m2/repository/opensymphony/oscache/2.3.2/oscache- 2.3.2-xwiki.jar urls[89] = file:/home/asiri/.m2/repository/commons-digester/commons-digester/1.6/commons- digester-1.6.jar urls[90] = file:/home/asiri/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar urls[91] = file:/home/asiri/.m2/repository/info/informatica/css4j/0.4.0/css4j-0.4.0.jar urls[92] = file:/home/asiri/.m2/repository/xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.jar urls[93] = file:/home/asiri/.m2/repository/joda-time/joda-time/1.4/joda- time-1.4.jar urls[94] = file:/home/asiri/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus- utils-1.1.jar urls[95] = file:/home/asiri/.m2/repository/groovy/groovy-all-1.0-jsr /06/groovy-all-1.0-jsr-06.jar urls[96] = file:/home/asiri/.m2/repository/jtidy/jtidy/8.0- 20060801.131059-3-dev/jtidy-8.0-20060801.131059-3-dev.jar urls[97] = file:/home/asiri/.m2/repository/batik/batik-css/1.6/batik- css-1.6.jar urls[98] = file:/home/asiri/.m2/repository/velocity/velocity/1.5/velocity- 1.5.jar urls[99] = file:/home/asiri/.m2/repository/commons-io/commons-io/1.2/commons-io-1.2.jar urls[100] = file:/home/asiri/.m2/repository/jfree/jfreechart/1.0.0-rc1/jfreechart- 1.0.0-rc1.jar urls[101] = file:/home/asiri/.m2/repository/xpp3/xpp3/1.1.3.4-RC8/xpp3- 1.1.3.4-RC8.jar [ERROR] Container realm = plexus.core </DUMP> - Asiri
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 <
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 <
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/BuildingInEclipseand 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
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.
-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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
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). 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
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 ?
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
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 <
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi All, On Sat, Mar 22, 2008 at 4:09 PM, Asiri Rathnayake < [email protected]> wrote:
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 <
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.
Can anyone help me with this. I can build xwiki-product-enterprise on command line within seconds, but it takes a lot of time for m2eclipse only to import the projects under xwiki-product-enterprise into my eclipse workspace. It seems it is downloading some artifacts. Thanks. - Asiri
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Again, Sorry about having to disturb this much, i hope this will be my last email regarding this subject. Just to make sure that i don't have any mistakes on my part, i did the following. 1. Deleted everything in my local maven repository. 2. On the command line, ran 'mvn install -Pall' at the top-level trunk and everything built just fine :) 3. Ran 'mvn clean' and again 'mvn --offilne install -Pall' to make sure that my local maven repository is up-to-date. Everything built just fine :) 4. Reinstalled latest version of Eclipse (v3.3.2) and latest version of m2eclipse from scratch. 5. Imported everything from trunks/xwiki-product-enterprise to a newly created eclipse workspace. Here, m2eclipse downloaded some additional artifacts (jigsaw, selenium-core and bunch of others - so it took a while for the workspace to built). 6. Then on package explorer, selected "xwiki-enterprise-parent" and [right-click->Run As->Maven Install]. Half way down the build process I got the same error as i mentioned above and everything died. Please let me know if i'm doing anything wrong here, otherwise just forget it. I'll stick to my good-old command line. Vincent, do you think http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse is OK ? Let me know if there is any adjustment need to be done. Thanks. - Asiri On Sat, Mar 22, 2008 at 4:56 PM, Asiri Rathnayake < [email protected]> wrote:
Hi All,
On Sat, Mar 22, 2008 at 4:09 PM, Asiri Rathnayake < [email protected]> wrote:
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 <
> 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.
Can anyone help me with this. I can build xwiki-product-enterprise on command line within seconds, but it takes a lot of time for m2eclipse only to import the projects under xwiki-product-enterprise into my eclipse workspace. It seems it is downloading some artifacts.
Thanks.
- Asiri
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I read quickly this mail thread... Apparently maven misses some dependencies... I really warn you about using both maven manually and then switching to Eclipse and back... In the past, when I began working on m2eclipse keeping using console maven, I had some ennoying problems due to synchronization features of Eclipse and also due to m2eclipse management of maven dependencies and synchronization of local repository with remote repositories also. Sometimes, the only way I could recompile my project in eclipse was to recreate the project from scratch... Anyway, it was older version of m2eclipse and Maven... stupid question: In the eclipse view "Package Manager", can you explore Maven dependencies and do you see the libraries the compiler seems to lack? Pascal On Sat, Mar 22, 2008 at 5:24 PM, Asiri Rathnayake < [email protected]> wrote:
Hi Again,
Sorry about having to disturb this much, i hope this will be my last email regarding this subject.
Just to make sure that i don't have any mistakes on my part, i did the following.
1. Deleted everything in my local maven repository.
2. On the command line, ran 'mvn install -Pall' at the top-level trunk and everything built just fine :)
3. Ran 'mvn clean' and again 'mvn --offilne install -Pall' to make sure that my local maven repository is up-to-date. Everything built just fine :)
4. Reinstalled latest version of Eclipse (v3.3.2) and latest version of m2eclipse from scratch.
5. Imported everything from trunks/xwiki-product-enterprise to a newly created eclipse workspace. Here, m2eclipse downloaded some additional artifacts (jigsaw, selenium-core and bunch of others - so it took a while for the workspace to built).
6. Then on package explorer, selected "xwiki-enterprise-parent" and [right-click->Run As->Maven Install]. Half way down the build process I got the same error as i mentioned above and everything died.
Please let me know if i'm doing anything wrong here, otherwise just forget it. I'll stick to my good-old command line.
Vincent, do you think http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse is OK ? Let me know if there is any adjustment need to be done.
Thanks.
- Asiri
On Sat, Mar 22, 2008 at 4:56 PM, Asiri Rathnayake < [email protected]> wrote:
Hi All,
On Sat, Mar 22, 2008 at 4:09 PM, Asiri Rathnayake < [email protected]> wrote:
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.
Can anyone help me with this. I can build xwiki-product-enterprise on command line within seconds, but it takes a lot of time for m2eclipse only to import the projects under xwiki-product-enterprise into my eclipse workspace. It seems it is downloading some artifacts.
Thanks.
- Asiri
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 > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs >
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Thomas, 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 <
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 ?
I can't build xwiki-product-enterprise either. Halfway down i get the following, [ERROR] com.xpn.xwiki.tool.backup.ImportMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms: [ERROR] Plugin realm = /plugins/com.xpn.xwiki.platform.tools:xwiki-packager-plugin: 1.10-SNAPSHOT@1723284763/thread:main urls[0] = file:/home/asiri/.m2/repository/com/xpn/xwiki/platform/tools/xwiki-packager-plugin/1.10-SNAPSHOT/xwiki- packager-plugin-1.10-SNAPSHOT.jar urls[1] = file:/home/asiri/.m2/repository/radeox/radeox/1.0-b2/radeox- 1.0-b2.jar urls[2] = file:/home/asiri/.m2/repository/org/apache/portals/graffito-jcr-mapping/1.0-a1-amelentev-dev/graffito- jcr-mapping-1.0-a1-amelentev-dev.jar urls[3] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.service.security.api/2.0/exo-platform.service.security.api-2.0.jar urls[4] = file:/home/asiri/.m2/repository/xml-apis/xml-apis/1.3.04/xml- apis-1.3.04.jar urls[5] = file:/home/asiri/.m2/repository/batik/batik-extension/1.6-1/batik- extension-1.6-1.jar urls[6] = file:/home/asiri/.m2/repository/log4j/log4j/1.2.13/log4j- 1.2.13.jar urls[7] = file:/home/asiri/.m2/repository/batik/batik-gvt/1.6/batik- gvt-1.6.jar urls[8] = file:/home/asiri/.m2/repository/info/informatica/jclf/2.3.0/jclf- 2.3.0.jar urls[9] = file:/home/asiri/.m2/repository/velocity-tools/velocity-tools/1.3/velocity- tools-1.3.jar urls[10] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.container/2.0/exo-platform.container-2.0.jar urls[11] = file:/home/asiri/.m2/repository/batik/batik-bridge/1.6/batik- bridge-1.6.jar urls[12] = file:/home/asiri/.m2/repository/rome/rome-fetcher/0.7/rome- fetcher-0.7.jar urls[13] = file:/home/asiri/.m2/repository/rome/rome/0.8/rome-0.8.jar urls[14] = file:/home/asiri/.m2/repository/ical4j/ical4j/0.9.20/ical4j- 0.9.20.jar urls[15] = file:/home/asiri/.m2/repository/xmlrpc/xmlrpc-server/3.0/xmlrpc- server-3.0.jar urls[16] = file:/home/asiri/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.1/xmlgraphics- commons-1.1.jar urls[17] = file:/home/asiri/.m2/repository/picocontainer/picocontainer/1.2/picocontainer- 1.2.jar urls[18] = file:/home/asiri/.m2/repository/asm/asm-attrs/1.5.3/asm- attrs-1.5.3.jar urls[19] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.service.database.api/2.0/exo-platform.service.database.api-2.0.jar urls[20] = file:/home/asiri/.m2/repository/aspectj/aspectjrt/1.5.2a/aspectjrt- 1.5.2a.jar urls[21] = file:/home/asiri/.m2/repository/commons-validator/commons-validator/1.1.4/commons- validator-1.1.4.jar urls[22] = file:/home/asiri/.m2/repository/org/apache/poi/poi/3.0-FINAL/poi- 3.0-FINAL.jar urls[23] = file:/home/asiri/.m2/repository/javax/xml/jaxrpc-api/1.1/jaxrpc- api-1.1.jar urls[24] = file:/home/asiri/.m2/repository/commons-pool/commons-pool/1.2/commons- pool-1.2.jar urls[25] = file:/home/asiri/.m2/repository/javax/transaction/jta/1.0.1B/jta- 1.0.1B.jar urls[26] = file:/home/asiri/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.0/backport- util-concurrent-3.0.jar urls[27] = file:/home/asiri/.m2/repository/org/apache/xmlgraphics/fop/0.93/fop-0.93.jar urls[28] = file:/home/asiri/.m2/repository/jfree/jcommon/1.0.5/jcommon- 1.0.5.jar urls[29] = file:/home/asiri/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons- beanutils-1.7.0.jar urls[30] = file:/home/asiri/.m2/repository/commons-net/commons-net/1.4.1/commons- net-1.4.1.jar urls[31] = file:/home/asiri/.m2/repository/batik/batik-script/1.6/batik- script-1.6.jar urls[32] = file:/home/asiri/.m2/repository/javax/activation/activation/1.1/activation- 1.1.jar urls[33] = file:/home/asiri/.m2/repository/org/suigeneris/jrcs.diff/0.4.2/jrcs.diff- 0.4.2.jar urls[34] = file:/home/asiri/.m2/repository/batik/batik-xml/1.6/batik- xml-1.6.jar urls[35] = file:/home/asiri/.m2/repository/org/apache/avalon/framework/avalon-framework-impl/4.3.1/avalon- framework-impl-4.3.1.jar urls[36] = file:/home/asiri/.m2/repository/batik/batik-dom/1.6/batik- dom-1.6.jar urls[37] = file:/home/asiri/.m2/repository/org/codehaus/swizzle/swizzle-confluence/1.1-20070908/swizzle- confluence-1.1-20070908-xwiki.jar urls[38] = file:/home/asiri/.m2/repository/org/apache/lucene/lucene-core/2.3.0/lucene- core-2.3.0.jar urls[39] = file:/home/asiri/.m2/repository/xalan/xalan/2.5.1/xalan-2.5.1.jar urls[40] = file:/home/asiri/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar urls[41] = file:/home/asiri/.m2/repository/org/apache/avalon/framework/avalon-framework-api/4.3.1/avalon- framework-api-4.3.1.jar urls[42] = file:/home/asiri/.m2/repository/commons-fileupload/commons-fileupload/1.1.1/commons- fileupload-1.1.1.jar urls[43] = file:/home/asiri/.m2/repository/commons-collections/commons-collections/3.2/commons- collections-3.2.jar urls[44] = file:/home/asiri/.m2/repository/batik/batik-svggen/1.6/batik- svggen-1.6.jar urls[45] = file:/home/asiri/.m2/repository/exo-platform/exo- platform.service.organization.api/2.0/exo- platform.service.organization.api-2.0.jar urls[46] = file:/home/asiri/.m2/repository/org/apache/axis/axis/1.4/axis- 1.4.jar urls[47] = file:/home/asiri/.m2/repository/jcaptcha/jcaptcha-all/1.0-RC3/jcaptcha- all-1.0-RC3.jar urls[48] = file:/home/asiri/.m2/repository/xml-apis/xmlParserAPIs/2.0.2/xmlParserAPIs- 2.0.2.jar urls[49] = file:/home/asiri/.m2/repository/portlet-api/portlet-api/1.0/portlet- api-1.0.jar urls[50] = file:/home/asiri/.m2/repository/securityfilter/securityfilter/2.0/securityfilter- 2.0.jar urls[51] = file:/home/asiri/.m2/repository/javax/jcr/jcr/1.0/jcr-1.0.jar urls[52] = file:/home/asiri/.m2/repository/org/apache/xmlrpc/xmlrpc-common/3.0/xmlrpc- common-3.0.jar urls[53] = file:/home/asiri/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar urls[54] = file:/home/asiri/.m2/repository/com/xpn/xwiki/platform/xwiki-core/1.3/xwiki- core-1.3.jar urls[55] = file:/home/asiri/.m2/repository/batik/batik-rasterizer/1.6/batik- rasterizer-1.6.jar urls[56] = file:/home/asiri/.m2/repository/org/apache/jackrabbit/jackrabbit-core/1.1/jackrabbit- core-1.1.jar urls[57] = file:/home/asiri/.m2/repository/batik/batik-awt-util/1.6/batik- awt-util-1.6.jar urls[58] = file:/home/asiri/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons- dbcp-1.2.1.jar urls[59] = file:/home/asiri/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons- httpclient-3.1.jar urls[60] = file:/home/asiri/.m2/repository/batik/batik-ext/1.6/batik- ext-1.6.jar urls[61] = file:/home/asiri/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb- 1.8.0.7.jar urls[62] = file:/home/asiri/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache- 1.2.3.jar urls[63] = file:/home/asiri/.m2/repository/batik/batik-parser/1.6/batik- parser-1.6.jar urls[64] = file:/home/asiri/.m2/repository/commons-codec/commons-codec/1.3/commons- codec-1.3.jar urls[65] = file:/home/asiri/.m2/repository/commons-lang/commons-lang/2.3/commons- lang-2.3.jar urls[66] = file:/home/asiri/.m2/repository/struts/struts/1.2.9/struts- 1.2.9.jar urls[67] = file:/home/asiri/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate- 3.2.5.ga.jar urls[68] = file:/home/asiri/.m2/repository/com/novell/ldap/UNKNOWN/ldap- UNKNOWN.jar urls[69] = file:/home/asiri/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar urls[70] = file:/home/asiri/.m2/repository/exo-platform/exo-platform.commons /2.0/exo-platform.commons-2.0.jar urls[71] = file:/home/asiri/.m2/repository/org/xwiki/platform/xwiki-core-component/1.3/xwiki- core-component-1.3.jar urls[72] = file:/home/asiri/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar urls[73] = file:/home/asiri/.m2/repository/jgroups/jgroups/2.2.9.3/jgroups- 2.2.9.3.jar urls[74] = file:/home/asiri/.m2/repository/flickrj/flickrapi/1.0a7/flickrapi-1.0a7.jar urls[75] = file:/home/asiri/.m2/repository/batik/batik-svg-dom/1.6/batik- svg-dom-1.6.jar urls[76] = file:/home/asiri/.m2/repository/com/google/googleapi/UNKNOWN/googleapi- UNKNOWN-xwiki.jar urls[77] = file:/home/asiri/.m2/repository/pdfbox/pdfbox/0.7.1/pdfbox- 0.7.1.jar urls[78] = file:/home/asiri/.m2/repository/xmlrpc/xmlrpc-client/3.0/xmlrpc- client-3.0.jar urls[79] = file:/home/asiri/.m2/repository/batik/batik-transcoder/1.6/batik- transcoder-1.6.jar urls[80] = file:/home/asiri/.m2/repository/org/apache/ws/commons/ws-commons-util/1.0.1/ws- commons-util-1.0.1.jar urls[81] = file:/home/asiri/.m2/repository/org/suigeneris/jrcs.rcs/0.4.2/jrcs.rcs- 0.4.2.jar urls[82] = file:/home/asiri/.m2/repository/commons-logging/commons-logging/1.1.1/commons- logging-1.1.1.jar urls[83] = file:/home/asiri/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar urls[84] = file:/home/asiri/.m2/repository/batik/batik-util/1.6/batik- util-1.6.jar urls[85] = file:/home/asiri/.m2/repository/ecs/ecs/1.4.2/ecs-1.4.2.jar urls[86] = file:/home/asiri/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar urls[87] = file:/home/asiri/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar urls[88] = file:/home/asiri/.m2/repository/opensymphony/oscache/2.3.2/oscache- 2.3.2-xwiki.jar urls[89] = file:/home/asiri/.m2/repository/commons-digester/commons-digester/1.6/commons- digester-1.6.jar urls[90] = file:/home/asiri/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar urls[91] = file:/home/asiri/.m2/repository/info/informatica/css4j/0.4.0/css4j-0.4.0.jar urls[92] = file:/home/asiri/.m2/repository/xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.jar urls[93] = file:/home/asiri/.m2/repository/joda-time/joda-time/1.4/joda- time-1.4.jar urls[94] = file:/home/asiri/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus- utils-1.1.jar urls[95] = file:/home/asiri/.m2/repository/groovy/groovy-all-1.0-jsr /06/groovy-all-1.0-jsr-06.jar urls[96] = file:/home/asiri/.m2/repository/jtidy/jtidy/8.0- 20060801.131059-3-dev/jtidy-8.0-20060801.131059-3-dev.jar urls[97] = file:/home/asiri/.m2/repository/batik/batik-css/1.6/batik- css-1.6.jar urls[98] = file:/home/asiri/.m2/repository/velocity/velocity/1.5/velocity- 1.5.jar urls[99] = file:/home/asiri/.m2/repository/commons-io/commons-io/1.2/commons-io-1.2.jar urls[100] = file:/home/asiri/.m2/repository/jfree/jfreechart/1.0.0-rc1/jfreechart- 1.0.0-rc1.jar urls[101] = file:/home/asiri/.m2/repository/xpp3/xpp3/1.1.3.4-RC8/xpp3- 1.1.3.4-RC8.jar [ERROR] Container realm = plexus.core Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletOutputStream at com.xpn.xwiki.tool.backup.AbstractPackager.createXWikiContext( AbstractPackager.java:70) at com.xpn.xwiki.tool.backup.Importer.importDocuments(Importer.java:63) at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:64) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:573) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:501) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject (DefaultLifecycleExecutor.java:265) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:191) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java :225) at org.apache.maven.DefaultMaven.execute_aroundBody1$advice( DefaultMaven.java:304) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1) at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2( MavenEmbedder.java:895) at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice( MavenEmbedder.java:304) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176) at org.apache.maven.cli.MavenCli.main(MavenCli.java:63) at org.apache.maven.cli.MavenCli.main(MavenCli.java:52) Will deleting everything on my local repository fix this ? I'm so stressed :( Can't build a single module. - 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
Asiri Rathnayake -
Pascal Voitot -
Thomas Mortagne -
Vincent Massol