[jboss-jira] [JBoss JIRA] (WFLY-1428) Extra resource root added to WARs

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Thu May 30 17:18:54 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778330#comment-12778330 ] 

Stuart Douglas commented on WFLY-1428:
--------------------------------------

This was originally done as part of AS-5172: https://github.com/wildfly/wildfly/commit/d47c4c006d43a0531a041f1bfd0ebb4e132725f5

It should only be the META-INF directory that is visible, everything else should be filtered.
                
> Extra resource root added to WARs
> ---------------------------------
>
>                 Key: WFLY-1428
>                 URL: https://issues.jboss.org/browse/WFLY-1428
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (JBoss Web), Web (Undertow)
>            Reporter: David Lloyd
>            Assignee: Remy Maucherat
>             Fix For: 8.0.0.Alpha2
>
>
> When the class path for WAR deployments is being assembled, it appears that the WAR's root is being added as a resource root.  This seems to be counter to spec; by default this should not be done.  Now that we have the ability to iterate class loader resources, this causes unusual things to be listed.
> Some users may desire this non-standard behavior though.  So, we should have a way (preferably simpler than {{jboss-deployment-structure.xml}}) to enable it; however in this case, the following paths *must* be excluded:
> * {{WEB-INF/lib}}
> * {{WEB-INF/classes}}
> * Any additional configured library or class directories
> * Any other nested, mounted JAR files

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list