[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-7) Create a Import API

Aslak (JIRA) jira-events at lists.jboss.org
Fri Sep 25 03:08:49 EDT 2009


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

Aslak commented on SHRINKWRAP-7:
--------------------------------

There should be a Unified Importer api to be able to import nested archives using different importers.

ie: 

exploded.jar/                 <- imported by the exploded importer
    test.properties          <- imported by the exploded importer
    ziped.jar                    <- 'Unknown' to the exploded impoter, ask unified importer for importer to handle it, import moved to Zip importer



> Create a Import API
> -------------------
>
>                 Key: SHRINKWRAP-7
>                 URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-7
>             Project: ShrinkWrap
>          Issue Type: Feature Request
>            Reporter: Aslak
>            Priority: Minor
>
> Usecase: Need to add my own descriptors/jars to a third party jar/war.
> It would be nice to be able to load/import an existing file as a Spec.
> ie:
> WebArchive war = Zip.import(WebArchive.class, new File("thirdparty.war"));
> war.addWebResource()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list