Class in plugin not resolving in IDE [message #1738289] |
Mon, 18 July 2016 16:38 |
David Wynter Messages: 4624 Registered: July 2009 |
Senior Member |
|
|
My MANIFEST.MF looks like this:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %plugin.name
Bundle-SymbolicName: com.example.cassandra;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: %plugin.providerName
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-Localization: plugin
Bundle-ActivationPolicy: lazy
Require-Bundle: com.yambina.edm.model;bundle-version="1.0.0",
org.eclipse.core.runtime,
org.eclipse.osgi
Bundle-Activator: com.example.cassandra.CassandraActivator
Bundle-ClassPath: .,
abacus-util-all-jdk7-0.8.9.jar
Export-Package:
...
Note the org.eclipse.osgi required bundle. It include the classes in package org.osgi seen below
I have this import in my code
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
These do not resolve. So it appears I have correctly defined my dependency but that the IDE is not loading it.
What else do I need to do to get this to work?
[Updated on: Mon, 18 July 2016 16:39] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03034 seconds