[JBoss JIRA] Created: (SHRINKWRAP-85) Support Event/Listener style callbacks
by Aslak (JIRA)
Support Event/Listener style callbacks
--------------------------------------
Key: SHRINKWRAP-85
URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-85
Project: ShrinkWrap
Issue Type: Feature Request
Reporter: Aslak
A interesting featre would be to beablt to add listeners for events on ContainerTypes or paths.
/META-INF/* or all events generated via ClassContainer
usecase 1, if/when we add something like a ManifestDescriptor, instead of having it like the WebArchiveDescriptor.addServlet, adding a addMenifestLibrary that delegates down to addLibrary and update the 'classpath: ' manifest entry.. we could register a listener on the LibraryContainer and get callbacks when a 'normal' addLibrary happens
usecase 2, could deploy a 'live' archive to embedded.. one could register a listener on all changes in the archive and auto redeploy it on events..
deploy it once, redeploy on change
--
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
12 years, 2 months
[JBoss JIRA] Created: (SHRINKWRAP-193) Should be able to 'mount' a added jar
by Aslak Knutsen (JIRA)
Should be able to 'mount' a added jar
-------------------------------------
Key: SHRINKWRAP-193
URL: https://jira.jboss.org/browse/SHRINKWRAP-193
Project: ShrinkWrap
Issue Type: Feature Request
Components: api, impl-base
Reporter: Aslak Knutsen
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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] Created: (SHRINKWRAP-191) Automatic creation of MANIFEST.MF
by Peter Skopek (JIRA)
Automatic creation of MANIFEST.MF
---------------------------------
Key: SHRINKWRAP-191
URL: https://jira.jboss.org/browse/SHRINKWRAP-191
Project: ShrinkWrap
Issue Type: Feature Request
Components: impl-base
Reporter: Peter Skopek
While working with ShrinkWrap on my tests project I have come to need of automatic creation of default MANIFEST.MF file in META-INF directory.
I would like to have it for every archive which extends ManifestContainer<?>.
So, it would work the best when it will be created at the creation of archive and in case of user add his own the default one will be overwritten.
Content of the default MANIFEST.MF could be as simple as this:
Manifest-Version: 1.0
Created-By: 1.0.0 (ShrinkWrap)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months