]
Andrew Lee Rubinger commented on SHRINKWRAP-187:
------------------------------------------------
This operation should fail.
Existing folders will silently be overwritten by files
------------------------------------------------------
Key: SHRINKWRAP-187
URL:
https://jira.jboss.org/browse/SHRINKWRAP-187
Project: ShrinkWrap
Issue Type: Bug
Components: impl-base
Affects Versions: 1.0.0-alpha-10
Reporter: Aslak Knutsen
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.
-
If you think it was sent incorrectly contact one of the administrators: