typesafehub/sbtosgi — pull request #1 by mpilquist (2012-04-20 03:32:38+00:00)
Title: Support for passing arbitrary additional headers to BND

This commit adds support for passing arbitrary additional headers to BND. The primary use case is for adding manifest headers that are ignored by BND like Main-Class.

Note on the implementation: the additionalHeaders map can't be added to OsgiManifestHeaders because OsgiManifestHeaders ends up being a Tuple10, which isn't currently supported by SBTs apply on tuples.

One other thing to note -- I'd like to add support for passing BND directives as well (http://www.aqute.biz/Bnd/Format) -- specifically the -removeheaders directive (so that the build path of the project isn't included in the Include-Resource manifest header). I'll provide that as an additional pull request later if you are interested.

I've signed the Typesafe CLA. Let me know if you want me to change anything. Thanks!