[shrinkwrap-issues] [JBoss JIRA] Updated: (SHRINKWRAP-303) Add getAsType(Class<Archive<?>> archiveType, ArchivePath)

Davide D'Alto (JIRA) jira-events at lists.jboss.org
Thu Jul 21 11:52:24 EDT 2011


     [ https://issues.jboss.org/browse/SHRINKWRAP-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide D'Alto updated SHRINKWRAP-303:
-------------------------------------

    Git Pull Request: https://github.com/shrinkwrap/shrinkwrap/pull/30


> Add getAsType(Class<Archive<?>> archiveType, ArchivePath)
> ---------------------------------------------------------
>
>                 Key: SHRINKWRAP-303
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-303
>             Project: ShrinkWrap
>          Issue Type: Task
>            Reporter: Andrew Rubinger
>            Assignee: Davide D'Alto
>
> We shouldn't require users to specify an ArchiveFormat for Archive.getAsType.  This, in the large majority of cases, can be inferred from the Archive type passed in (for instance, WebArchive.class generally means ArchiveFormat.ZIP).
> Add to the META-INF/services files for each archive type the default archive format, and use this in a getAsType(Class<Archive<?>> archiveType, ArchivePath path) method to delegate to the already in-place getAsType(Class<Archive<?>> archiveType, ArchivePath path, ArchiveFormat format)

--
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