]
Andrew Rubinger resolved SHRINKWRAP-193.
----------------------------------------
Fix Version/s: 1.0.0-beta-4
Resolution: Done
Upstream:
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: