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

Ivan Pazmino (JIRA) jira-events at lists.jboss.org
Wed Feb 8 19:20:48 EST 2012


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

Ivan Pazmino commented on SHRINKWRAP-381:
-----------------------------------------

Basic idea would be 

Archive archive = ShrinkWrap.create(JavaArchive.class, "archive.jar");
ArchivePath path = new BasicPath("/target/archive/path");
archive.moveTo(path);
Archive movedArchive = //here I want to get a reference to /target/archive/path/archive.jar but can't figure out how
assertIsNull(archive.get("archive.jar"));
assertNotNull(movedArchive.get("archive.jar"));

Am I missing something?

                
> 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