]
Ken Finnigan updated SHRINKWRAP-507:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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.