You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Rod Coffin (JIRA)" <ji...@codehaus.org> on 2005/06/11 16:41:42 UTC
[jira] Created: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
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-plugins
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
Posted by "Rod Coffin (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-466?page=comments#action_46216 ]
Rod Coffin commented on MNG-466:
--------------------------------
I just retested this issue with the M2 source from yesterday (9/11) and it does not seem to be resolved yet. Let me know if there is more that I can do to help.
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-466?page=all ]
Brett Porter closed MNG-466:
----------------------------
Resolution: Won't Fix
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
Posted by "Rod Coffin (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-466?page=comments#action_46221 ]
Rod Coffin commented on MNG-466:
--------------------------------
At the time I wrote up this issue I was using MyEclipse and I seem to remember that it worked best when the webapp directory was setup as a source folder. I've started using WTP recently and haven't had the same problems.
I generally agree with you and wouldn't mind 'NOT FIXING' this. 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? IMHO they are both static content and should be treated consistently.
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
Posted by "Rod Coffin (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-466?page=comments#action_46238 ]
Rod Coffin commented on MNG-466:
--------------------------------
I agree with your explanation and think that this issue should be marked as "WON'T FIX"
Thanks!
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-466?page=all ]
Brett Porter updated MNG-466:
-----------------------------
Component: (was: maven-plugins)
maven-eclipse-plugin
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)
was:
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)
sorry this patch got missed. I believe that recent changes have included this - can you confirm?
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-466) Maven eclipse plugin doesn't generate source folder for webapp
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-466?page=comments#action_46219 ]
fabrizio giustina commented on MNG-466:
---------------------------------------
the webapp folder in eclipse is usually NOT configured as a source directory.
At least if you use the eclipse web tools the webapp folder is only configured in the .wtpmodules file and its content is simply copied by eclipse during a build: adding that directory as a source folder will break this, since its output will be moved to WEB-INF/classes.
What kind of tools are you using for web applications development? Can you explain why you expect the webapp folder to be included as a source folder?
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org