[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-286) ContainerBase.addNestedJarFileResource uses "!/" while looking for the file to add

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Jun 15 06:13:29 EDT 2011


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

                 Key: SHRINKWRAP-286
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-286
             Project: ShrinkWrap
          Issue Type: Bug
          Components: impl-base
    Affects Versions: 1.0.0-beta-2
            Reporter: jaikiran pai


ContainerBase.addNestedJarFileResource has:

{code}

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

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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list