Skip to content

Commit

Permalink
Remove 'Eclipse-LazyStart' headers in favor of 'Bundle-ActivationPolicy'
Browse files Browse the repository at this point in the history
... and remove unnecessary 'Bundle-ClassPath: .' entries.

Replace the use of the legacy and Eclipse-specific MANIFEST.MF header
'Eclipse-LazyStart: true' by the OSGi standard compliant header
'Bundle-ActivationPolicy: lazy' (which is already used in most cases.

The default value of 'Bundle-ClassPath' is the dot which is used when
the header is not specified. Therefore there is no need to specify it
with that value.
  • Loading branch information
HannesWell committed Jul 17, 2023
1 parent deb67c2 commit 856f09e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Bundle-Version: 1.2.300.qualifier
Bundle-Activator: org.eclipse.equinox.compendium.tests.Activator
Require-Bundle: org.eclipse.core.runtime,
org.junit;bundle-version="4.12.0"
Eclipse-LazyStart: true
Import-Package: org.eclipse.equinox.metatype;version="1.2.0",
org.eclipse.equinox.metatype.impl;version="1.2.0",
org.eclipse.osgi.tests.bundles,
Expand All @@ -20,3 +19,4 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Localization: plugin
Bundle-Vendor: %bundleVendor
Automatic-Module-Name: org.eclipse.equinox.compendium.tests
Bundle-ActivationPolicy: lazy
1 change: 0 additions & 1 deletion bundles/org.eclipse.equinox.launcher/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.equinox.launcher;singleton:=true
Bundle-Version: 1.6.500.qualifier
Main-Class: org.eclipse.equinox.launcher.Main
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-Localization: launcher
Expand Down

0 comments on commit 856f09e

Please sign in to comment.