[shrinkwrap-issues] [JBoss JIRA] Assigned: (SHRINKWRAP-187) Existing folders will silently be overwritten by files

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Fri Mar 25 00:38:53 EDT 2011


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

Andrew Rubinger reassigned SHRINKWRAP-187:
------------------------------------------

    Assignee: Samuel Santos


> Existing folders will silently be overwritten by files
> ------------------------------------------------------
>
>                 Key: SHRINKWRAP-187
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-187
>             Project: ShrinkWrap
>          Issue Type: Bug
>          Components: impl-base
>    Affects Versions: 1.0.0-alpha-10
>            Reporter: Aslak Knutsen
>            Assignee: Samuel Santos
>
> Example
> archive.addResource("my-local-resource.xml", "/META-INF/my.xml")  // becomes /META-INF/my.xml
> archive.addResource("my-local-resource2.xml", "/META-INF") // becomes the file META-INF, the existing Folder META-INF and sub files are deleted
> The second line could be a simple typo on the users side, but with no warning or error you have to debug the archive to even figure out what happened.

--
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