[shrinkwrap-issues] [JBoss JIRA] Assigned: (SHRINKWRAP-193) Should be able to 'mount' a added jar

Davide D'Alto (JIRA) jira-events at lists.jboss.org
Sat Jun 18 18:55:23 EDT 2011


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

Davide D'Alto reassigned SHRINKWRAP-193:
----------------------------------------

    Assignee: Davide D'Alto


> Should be able to 'mount' a added jar
> -------------------------------------
>
>                 Key: SHRINKWRAP-193
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-193
>             Project: ShrinkWrap
>          Issue Type: Feature Request
>          Components: api, impl-base
>            Reporter: Aslak Knutsen
>            Assignee: Davide D'Alto
>
> You can only manipulate on ShrinkWrap(open/uncompressed) archives when they are ArchiveAssets. Some times it can be useful to manipulate an existing(closed/compressed) nested archive. Add something to a library added by 'someone' else... We should support to import/mount a already added compressed library.
> [code]
> WebArchive war = ShrinkWrap.create(WebArchive.class)
>                               .addLibrary(new File("blag.jar"))
> JavaArchive jar = war.as(Importer.class)
>                               .import(
>                                    JavaArchive.class, 
>                                    Archivepaths.create("lib/blag.jar"))
> [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