2
edits
Changes
no edit summary
}
</source>
<h4>2. Define the MANIFEST.MF</h4> for the ''cs.ecl.osgi.simple.helloworld'' bundle
<source lang="xml">
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Helloworld
Bundle-SymbolicName: cs.ecl.osgi.simple.helloworld
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: cs.ecl.osgi.simple.helloworld.Activator
Bundle-Vendor: Seneca College - Eclipse Course
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.osgi.framework;version="1.3.0"
Bundle-ActivationPolicy: lazy
</source>
The file defines the
1. bundle identity by headers value of Bundle-SymbolicName and Bundle-Version
cs.ecl.osgi.simple.helloworld & 1.0.0.qualifier
2. bundle requirements by header value of Import-Package
org.osgi.framework;version="1.3.0"
3. bundle activator by header value Bundle-Activator
cs.ecl.osgi.simple.helloworld.Activator