[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-254) Support creation of URLs from a Archive

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Tue Mar 15 06:01:45 EDT 2011


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

Andrew Rubinger commented on SHRINKWRAP-254:
--------------------------------------------

Archives over the wire should use the SerializableView or ZipSerializableView interface.

This issue looks underspecified; what would the URL be?  Protocol?  And what handler would be used?  If this is over the wire, a URL alone isn't enough to reconstitute an Archive; it's just a pointer after all.

> Support creation of URLs from a Archive
> ---------------------------------------
>
>                 Key: SHRINKWRAP-254
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-254
>             Project: ShrinkWrap
>          Issue Type: Feature Request
>          Components: api, impl-base
>    Affects Versions: 1.0.0-alpha-11
>            Reporter: Aslak Knutsen
>            Assignee: Aslak Knutsen
>
> A lot of a external APIs rely on the use of URLs as a means of transferring archives across the wire, it would be useful if a Archive could easily be converted into a URL.
> {code}
> deploymentManager.distribute(archive.getName(), archive.toURL(ZipExporter.class), true);
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list