[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Class Loader failing from PreferenceNode.createPage()


Hi,

I am having trouble getting Eclipse to load a class by name.

I implemented a FieldEditorPreferencePage (called ArmPreferencePage).

Eclipse's class org.eclipse.jface.preference.PreferenceNode attempts
to load my class at runtime (within PreferenceNode.createObject()),
as part of the load sequence to display a PreferenceDialog that is
specific to my-plugin.

Eclipse fails with a ClassNotFoundException (@ PreferenceNode:161)

I exported the relevant package in my manifest.mf (below), I also
tried a variety of eclipse-buddy settings... although that seems like
it should not be needed for Eclipse to find my plug-in.

...any idea what I need to do to make my class visible to Eclipse
at runtime?

(thanks)


MANIFEST.MF

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Workbench Plug-in
Bundle-SymbolicName: com.mka.cap.workbench;singleton:=true
Bundle-Version: 1.0.3
Bundle-Activator: com.mka.cap.workbench.Activator
Bundle-Vendor: Portsmouth Financial Software LLC
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui.ide,
 org.eclipse.ui,
 org.eclipse.core.resources,
 org.eclipse.core.runtime,
 org.eclipse.debug.core,
 org.eclipse.jdt.core,
 com.mka.cap.core,
 org.eclipse.core.filesystem,
 org.eclipse.ui.editors,
 org.eclipse.ui.workbench.texteditor,
 org.eclipse.jface.text
Eclipse-LazyStart: true
Export-Package: com.mka.cap.workbench,
 com.mka.cap.workbench.dialogs,
 com.mka.cap.workbench.editors.common,
 com.mka.cap.workbench.editors.mainpage,
 com.mka.cap.workbench.natures,
 com.mka.cap.workbench.preferences,
 com.mka.cap.workbench.wizards
Bundle-RequiredExecutionEnvironment: J2SE-1.5