[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:44:00 EDT 2016
[ https://issues.jboss.org/browse/SHRINKWRAP-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken Finnigan updated SHRINKWRAP-507:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/shrinkwrap/shrinkwrap/pull/100
> 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