If I am understanding you correctly, you are interested in having the
"src/main/webapp", folder be a source folder, buy you are running into
problems when you try to do it through Eclipse, since the .classpath file is
being managed by the m2eclipse plugin.
If this is the case, you can try telling m2eclipse, through the pom, that
the "src/main/webapp" folder should be considred a Java Source folder
similar to the "src/main/java" and "src/test/java". One way to accomplish
this is to add the "src/main/webapp" to the resources section of your
pom.xml file, similar to the following:
...
<build>
...
<resources>
...
<resource>
<directory>src/main/webapp</directory>
</resource>
</resources>
</build>
I hope this helps....
Thanks
Carlus
On Wed, Jul 16, 2008 at 1:52 AM, delsvr <[EMAIL PROTECTED]> wrote:
>
> I'm using m2eclipse 0.9.4.20080603-0114, and I really enjoy it except for
> one
> thing:
>
> There is a "Java Resources" folder that puts a few of the folders under
> /src
> in the top-level of the project, making their contents easily accessible
> (/src/main/java, /src/test/java, etc.); however, I'm having trouble
> customizing what gets included here. Namely, I'd like to have the
> "/src/main/webapp" folder at the top-level too, but if I add it as a
> "Source
> Folder" under Java Resources, it seems to change some classpath because my
> application will fail.
>
> Is there a way to have a "Web Resources" top-level directory that includes
> the jsp's, WEB-INF, etc. that are under "/src/main/webapp"?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Project-Layout%2C-Java-Resources%2C-Web-Resources-tp18480694p18480694.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>