This content has been marked as final.
Show 2 replies
-
1. Re: Shrinkwrap usage question (EAR patching)
aslak Sep 17, 2012 11:18 AM (in response to micka33)You shouldn't need to reintegrate the jar as you have a reference to the jar in the ear already and is only changing it's state.
But there is a bug in the version of shrinkwrap you're using that will silently ignore the add if the resource already exists.
If you delete the Asset first:
jar.delete("META-INF/MANIFEST.MF")
jar.setManifest(....)
-
2. Re: Shrinkwrap usage question (EAR patching)
alrubinger Sep 17, 2012 12:10 PM (in response to aslak)1 of 1 people found this helpfulAs Aslak notes, current versions of ShrinkWrap will throw IllegalOverwriteException now: https://github.com/shrinkwrap/shrinkwrap/commit/ec8f953a800fdf6ded0f185dd0bb2db10ee879eb