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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: