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

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Jun 20 04:21:23 EDT 2011


     [ https://issues.jboss.org/browse/SHRINKWRAP-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai closed SHRINKWRAP-286.
-----------------------------------

    Resolution: Duplicate Issue


> 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