[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-193) Should be able to 'mount' a added jar
Davide D'Alto (JIRA)
jira-events at lists.jboss.org
Thu Jul 7 05:14:23 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612815#comment-12612815 ]
Davide D'Alto commented on SHRINKWRAP-193:
------------------------------------------
The previous comment is old, you can see the progress of the issue on github:
https://github.com/shrinkwrap/shrinkwrap/pull/20
> 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