[ http://jira.codehaus.org/browse/MNG-466?page=comments#action_46233 ] 

fabrizio giustina commented on MNG-466:
---------------------------------------

> Why do you think though its ok for the src/main/resources folder to be 
> treated as a source folder while the webapp isn't?

resources in "src/main/resources" (or whatever dir you configured in pom.xml) 
are copied to the same output path used for classes, and are available in the 
execution classpath; files in the webapp folder are not copied there and not 
available in the classpath: IMHO this is perfectly reproduced adding the 
resource folder to the classpath and leaving the webapp folder alone.

Apart from this consideration, that's actually the way eclipse (WTP) does that. 
I know that before WTP different tools added support for web projects with a 
"proprietary" structure, but now most of them started using and extending the 
wtp layout (MyEclipse now is just an extension of WTP): I simply think that the 
j2ee support should follow this direction, providing a way to work with 
standard eclipse tools and not with third party plugins.


> Maven eclipse plugin doesn't generate source folder for webapp
> --------------------------------------------------------------
>
>          Key: MNG-466
>          URL: http://jira.codehaus.org/browse/MNG-466
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-eclipse-plugin
>     Versions: 2.0-alpha-2
>  Environment: Windows XP 
> java version "1.5.0_02" 
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09) 
> Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing) 
>     Reporter: Rod Coffin
>  Attachments: patch.txt
>
>
> The maven-eclipse-plugin doesn't generate an eclipse source folder for the 
> webapp directory.  Generating a source folder for the webapp will allow 
> webcontent to be managed by eclipse tools.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to