Closed nedtwigg closed 8 years ago
this is interesting, too
I'm going to develop a tiny spec on this today evening. All interested parties are heartily welcome to discusss it at https://groups.google.com/forum/?hl=en#!forum/wuff-dev Please self-register to this news-group. Directly address me if you need assistance in registration.
Since Issue #35 (Provide option to keep original plugin.xml and MANIFEST.MF) is getting some attention this weekend, I figured I'd bring some attention to the opposite issue, to ignore the original MANIFEST.MF for a pure-wuff solution.
The code for OsgiBundleConfigurer.groovy works - if ignoreManifest is true, then Wuff will not parse the exisitng MANIFEST.MF.
The code for Config.groovy is broken. It seems simple, but when I set
ignoreManifest = true
in my build.gradle, it doesn't get set inside Wuff. So, I have set the default value to true (which I want, but probably not other users) and I'm punting the issue up to you ;-).Seems like it would be great to have flags and defaults such as: readManifest = true writeManifest = true overwriteOriginalManifest = false
Which I believe is the current behavior, but would allow for the various custom use-cases people are asking for.