[
https://issues.jboss.org/browse/SHRINKWRAP-381?page=com.atlassian.jira.pl...
]
Andrew Rubinger commented on SHRINKWRAP-381:
--------------------------------------------
Perhaps I've underspecified. The "mv" command is for Nodes inside
Archives:
{code}Archive archive = ShrinkWrap.create(JavaArchive.class, "archive.jar");
archive.add(EmptyAsset.INSTANCE,"path1");
archive.mv("path1","path2");
System.out.println(archive.toString(true));{code}
Yields:
{code}archive.jar:
/path2{code}
Support "mv" operation
----------------------
Key: SHRINKWRAP-381
URL:
https://issues.jboss.org/browse/SHRINKWRAP-381
Project: ShrinkWrap
Issue Type: Feature Request
Components: api, impl-base
Reporter: Andrew Rubinger
Assignee: Ivan Pazmino
Create a "move" command for ShrinkWrap. Essentially a shortcut to deleting an
Asset, then re-adding it at the same ArchivePath.
--
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