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

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Mon Mar 28 04:03:38 EDT 2011


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

Andrew Rubinger resolved SHRINKWRAP-187.
----------------------------------------

    Fix Version/s: 1.0.0-alpha-13
       Resolution: Done


Upstream:

https://github.com/shrinkwrap/shrinkwrap/commit/eae69cc4977e12aa2c200ad36f59d091ef8b647d
https://github.com/shrinkwrap/shrinkwrap/commit/ac2b368086a8ea70201049519889ae53eaeff744

> 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
>             Fix For: 1.0.0-alpha-13
>
>
> 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