Andrew Rubinger created SHRINKWRAP-476:
------------------------------------------
Summary: Cannot delete nested archive if added asLibrary
Key: SHRINKWRAP-476
URL:
https://issues.jboss.org/browse/SHRINKWRAP-476
Project: ShrinkWrap
Issue Type: Bug
Components: impl-base
Affects Versions: 1.2.1
Reporter: Andrew Rubinger
Assignee: Andrew Rubinger
Fails:
{code}String name = "test.jar";
WebArchive war = ShrinkWrap.create(WebArchive.class)
.addAsLibraries(
ShrinkWrap.create(JavaArchive.class, name)
.add(EmptyAsset.INSTANCE, "some"));
ArchivePath path = ArchivePaths.create("WEB-INF/lib", name);
Assert.assertTrue(war.contains(path));
war.delete(path);
Assert.assertFalse("Path should have been deleted",
war.contains(path));{code}
From [~aslak]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira