[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-381) Support "mv" operation

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Wed Feb 8 19:30:48 EST 2012


    [ https://issues.jboss.org/browse/SHRINKWRAP-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665224#comment-12665224 ] 

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

        


More information about the shrinkwrap-issues mailing list