[jboss-jira] [JBoss JIRA] (AS7-5065) WEB-INF/classes always created as ResourceRoot
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Sun Jul 1 11:06:12 EDT 2012
[ https://issues.jboss.org/browse/AS7-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler updated AS7-5065:
--------------------------------
Fix Version/s: 7.2.0.Alpha1
Git Pull Request: https://github.com/jbossas/jboss-as/pull/2570 (was: https://github.com/jbossas/jboss-as/pull/2570)
> WEB-INF/classes always created as ResourceRoot
> ----------------------------------------------
>
> Key: AS7-5065
> URL: https://issues.jboss.org/browse/AS7-5065
> Project: Application Server 7
> Issue Type: Feature Request
> Components: OSGi, Web
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: 7.2.0.Alpha1
>
>
> WEB-INF/class is created as ResourceRoot even if it does not exist. Various DUPs (not only in the web subsystem) seem to rely on this bug with code like this
> {code}
> // look for persistence.xml in war files in the META-INF/persistence.xml directory
> List<ResourceRoot> resourceRoots = deploymentUnit.getAttachment(Attachments.RESOURCE_ROOTS);
> assert resourceRoots != null;
> for (ResourceRoot resourceRoot : resourceRoots) {
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list