Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-507

addPackage() fails to find class if resources in WEB-INF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.5
    • 1.2.4
    • None
    • None

      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.

            kfinniga@redhat.com Ken Finnigan (Inactive)
            kfinniga@redhat.com Ken Finnigan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: