[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-353) Support for Shallow Copy of an Archive
Andrew Rubinger (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Nov 14 11:29:40 EST 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642600#comment-12642600 ]
Andrew Rubinger commented on SHRINKWRAP-353:
--------------------------------------------
Exactly.
> Support for Shallow Copy of an Archive
> ---------------------------------------
>
> Key: SHRINKWRAP-353
> URL: https://issues.jboss.org/browse/SHRINKWRAP-353
> Project: ShrinkWrap
> Issue Type: Feature Request
> Components: api, impl-base
> Affects Versions: 1.0.0-cr-1
> Reporter: Aslak Knutsen
>
> {code}
> war2 = war.shallowCopy();
> war.delete("file.txt")
> Assert.assertTrue(war2.contains("file.text"))
> {code}
> We're going to take a shallow copy approach here, such that:
> {code}war2 = war.shallowCopy();
> war.get("/path1"); == war2.get("/path1"); // Returns true{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list