[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-507) addPackage() fails to find class if resources in WEB-INF

Ken Finnigan (JIRA) issues at jboss.org
Tue Jun 7 14:40:00 EDT 2016


Ken Finnigan created SHRINKWRAP-507:
---------------------------------------

             Summary: addPackage() fails to find class if resources in WEB-INF
                 Key: SHRINKWRAP-507
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-507
             Project: ShrinkWrap
          Issue Type: Bug
    Affects Versions: 1.2.4
            Reporter: Ken Finnigan


With the change introduced by SHRINKWRAP-505, it doesn't cover the following situation.

If I have a JarArchive that contains classes at the root, as its a jar, but if it happens to have files places in '/WEB-INF/..' then this change makes the assumption that all classes should be found in '/WEB-INF/classes/'.

Where it scans for packages shouldn't rely on the presence of a file at a particular location, but try each and see which actually succeeds.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the shrinkwrap-issues mailing list