[shrinkwrap-issues] [JBoss JIRA] Resolved: (SHRINKWRAP-193) Should be able to 'mount' a added jar
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Mon Jul 11 13:13:23 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger resolved SHRINKWRAP-193.
----------------------------------------
Fix Version/s: 1.0.0-beta-4
Resolution: Done
Upstream:
https://github.com/shrinkwrap/shrinkwrap/commit/3ff057b752173c22f5f8361975253c6586361ed5
https://github.com/shrinkwrap/shrinkwrap/commit/6289e7562e88515a4b1282ed9f48fe281ad10e64
> 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
> Fix For: 1.0.0-beta-4
>
>
> 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