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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 1.0.0-beta-2
    • Fix Version/s: None
    • Component/s: impl-base
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jaikiran Jaikiran Pai
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: