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

ContainerBase.addNestedJarFileResource uses "!/" while looking for the file to add

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.0.0-beta-2
    • impl-base
    • None

      ContainerBase.addNestedJarFileResource has:

      private T addNestedJarFileResource(final File resource, final ArchivePath target, final ArchivePath base) throws IllegalArgumentException
         {
            ...
               final String adjustedPath = path.substring(path.indexOf("!/") + 2, path.length());
      

      This fails on Windows OS where the Path separator is \. https://issues.jboss.org/browse/AS7-1022 shows the failing case.

              Unassigned Unassigned
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: