[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-353) Support for Shallow Copy of an Archive
Andrew Rubinger (Updated) (JIRA)
jira-events at lists.jboss.org
Mon Nov 14 09:16:41 EST 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger updated SHRINKWRAP-353:
---------------------------------------
Summary: Support for Shallow Copy of an Archive (was: Support for cloning a Archive )
Description:
{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}
was:
{code}
war2 = war.clone()
war.delete("file.txt")
Assert.assertTrue(war2.contains("file.text"))
{code}
> 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