Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-24 Thread Barrie Treloar
On Sat, Oct 24, 2009 at 1:58 AM, Vincent F wrote: > > OK, thanks everyone for these additional infos. I may stick with WTP > organisation then (using /WebContent/ instead of /src/main/webapp/) just for > convenience in Eclipse. You should be able to use /src/main/webapp thats what the file .setti

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-23 Thread Vincent F
OK, thanks everyone for these additional infos. I may stick with WTP organisation then (using /WebContent/ instead of /src/main/webapp/) just for convenience in Eclipse. -- Vincent baerrach wrote: > > On Fri, Oct 23, 2009 at 10:50 AM, Benson Margulies > wrote: >> An Eclipse project type, or

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-22 Thread Barrie Treloar
On Fri, Oct 23, 2009 at 10:50 AM, Benson Margulies wrote: > An Eclipse project type, or perspective, can decide to show the tree any way > it likes. The default Java perspective shows all folders as ordinary folders > except source folders. It hauls source folders to the top of the project, > give

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-22 Thread Benson Margulies
An Eclipse project type, or perspective, can decide to show the tree any way it likes. The default Java perspective shows all folders as ordinary folders except source folders. It hauls source folders to the top of the project, gives them a special icon, and labels them with the full pathname (e.g.

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-22 Thread Barrie Treloar
On Fri, Oct 23, 2009 at 6:31 AM, Vincent F wrote: > > My plugin configuration is the following > > >      org.apache.maven.plugins >      maven-eclipse-plugin >      2.7 >         >             war >             false >             2.0 >             true >         > > > So as you can see, pack

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-22 Thread Vincent F
My plugin configuration is the following org.apache.maven.plugins maven-eclipse-plugin 2.7 war false 2.0 true So as you can see, packaging is "war" but /src/main/webapp is not added as a source. In the .c

RE: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-21 Thread Roland Asmann
Also, if you use WTP in Eclipse, it will work this way. I'd guess that if you would get it to work, Eclipse would probably build incorrect WAR-files because it would include the contents of that folder as both resources and as real web-application. So, just get used to it, it isn't broken and ther

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-21 Thread Barrie Treloar
On Thu, Oct 22, 2009 at 9:37 AM, Vincent F wrote: > > Thanks for your answer. I'm going to be very picky here, but is there a way > to have the src/main/webapp folder " folded as one in Eclipse, just like the > src/main/java and src/main/resources are ? Can you please post how you are running ecl

RE: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-21 Thread Vincent F
Thanks for your answer. I'm going to be very picky here, but is there a way to have the src/main/webapp folder " folded as one in Eclipse, just like the src/main/java and src/main/resources are ? Vincent justinedelson wrote: > > It doesn't really make sense for src/main/webapp to be a source

RE: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-21 Thread Edelson, Justin
It doesn't really make sense for src/main/webapp to be a source folder - it doesn't contain compilable source files. Justin -Original Message- From: Vincent F [mailto:vincent.fu...@sgcib.com] Sent: Wednesday, October 21, 2009 1:22 PM To: users@maven.apache.org Subject: maven-eclipse-plu