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:
@@ -92,6 +92,7 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
|
||||||
<_removeheaders>
|
<_removeheaders>
|
||||||
Bnd*,Created-By,Include-Resource,Private-Package,Tool
|
Bnd*,Created-By,Include-Resource,Private-Package,Tool
|
||||||
</_removeheaders>
|
</_removeheaders>
|
||||||
|
|||||||
Reference in New Issue
Block a user