Add Bundle-ActivationPolicy to OSGi manifest.

Set the Bundle-ActivationPolicy to 'lazy'. According to the OSGi wiki:

  "This can improve performance in a system with many bundles, where
  instead of starting them they may be placed into a lazy state, and
  only activated when they are actually used."
  -- http://wiki.osgi.org/wiki/Bundle-ActivationPolicy

'Lazy' is fine for jmustache, because it has no bundle activator,
and does not provide any OSGi services that need to be registered.
This commit is contained in:
Martin Ellis
2012-08-13 14:25:30 +01:00
parent a7f0e92d92
commit 049359cde3
+1
View File
@@ -92,6 +92,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<_removeheaders>
Bnd*,Created-By,Include-Resource,Private-Package,Tool
</_removeheaders>