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

Andrew Rubinger (JIRA) issues at jboss.org
Tue Jun 7 18:29:00 EDT 2016


     [ https://issues.jboss.org/browse/SHRINKWRAP-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger closed SHRINKWRAP-507.
--------------------------------------


> 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
>            Assignee: Ken Finnigan
>             Fix For: 1.2.5
>
>
> 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