]
Andrew Rubinger updated SHRINKWRAP-507:
---------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 1.2.5
Resolution: Done
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.