Hi, Todd,

You are very welcomed to help us. Missing these two will
yield ClassNotFoundException as you pointed out. I think I have
both field configured correctly. Below is the OSGI manifest for
Jupiter, I cannot find problems in Bundle-ClassPath,
Require-Bundle and Export-Package. I was
able to deploy hackyJupiter in Eclipse but it could not work
after installation.

OSGI ClassLoader will collect bundle-classpath from all dependent
plugins as my understanding. It is quite strange JupiterSensor cannot
find class in jupiter plugin with my configuration.

Thanks for your reply. If you see problems in this manifest please
feel free to let me know.

Thanks,
Hongbing

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: csdl.jupiter; singleton:=true
Bundle-Version: 3.1.0
Bundle-Activator: csdl.jupiter.ReviewPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.junit,
 org.eclipse.ui.ide,
 org.eclipse.ui.views,
 org.eclipse.jface.text,
 org.eclipse.ui.workbench.texteditor,
 org.eclipse.ui.editors,
 org.eclipse.core.resources,
 org.eclipse.ui,
 org.eclipse.core.runtime,
 org.eclipse.jdt.core,
 org.eclipse.jdt.ui,
 org.eclipse.update.ui,
 org.eclipse.team.cvs.core,
 org.eclipse.team.cvs.ui,
 org.eclipse.debug.ui
Eclipse-AutoStart: true
Bundle-ClassPath: jupiter.jar,
 lib/commons-logging.jar,
 lib/jdom.jar,
 lib/log4j-1.2.8.jar,
 lib/ant-junit.jar
Export-Package: csdl.jupiter,
 csdl.jupiter.ccvs,
 csdl.jupiter.event,
 csdl.jupiter.file,
 csdl.jupiter.model.columndata,
 csdl.jupiter.model.review,
 csdl.jupiter.model.reviewissue,
 csdl.jupiter.test,
 csdl.jupiter.ui.action,
 csdl.jupiter.ui.marker,
 csdl.jupiter.ui.menu,
 csdl.jupiter.ui.perspective,
 csdl.jupiter.ui.preference,
 csdl.jupiter.ui.property,
 csdl.jupiter.ui.view.editor,
 csdl.jupiter.ui.view.table,
 csdl.jupiter.ui.wizard,
 csdl.jupiter.util


At 02:15 AM 9/22/2005, you wrote:
Hongbing,

Sorry after looking more at the issue. Another aspect of the OSGI manifest came to mind.

There is a section:

Provide-Package: <package name to make available for other plugins>

see the "Runtime" tab of the manifest editor for the "Exported Packages"

Todd Olson
6th Sense Software
919-341-1667 (o)
919-961-1870 (m)

Reply via email to