DateChooserCombo bug and its solution [message #51614] |
Tue, 15 April 2008 03:35 |
Eclipse User |
|
|
|
Hi,
I've found a problem when using the DateChooserCombo widget in an RCP app.
I have added these plugins to my project:
- org.eclipse.nebula.widgets.datechooser_1.0.0
- org.eclipse.nebula.widgets.formattedtext_1.0.0
It compiles ok, but when running the app I get this exception:
ClassNotFoundException, cannot load
org.eclipse.swt.internal.SWTEventListener
This class is indirectly used by AbstractCombo.
The solution is simple. I have added the last line in the MANIFEST.MF of
org.eclipse.nebula.widgets.datechooser_1.0.0.jar
(org.eclipse.swt.internal).
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Datechooser Plug-in
Bundle-SymbolicName: org.eclipse.nebula.widgets.datechooser
Bundle-Version: 1.0.0
Export-Package: org.eclipse.nebula.widgets.datechooser
Bundle-RequiredExecutionEnvironment: J2SE-1.4
Import-Package: org.eclipse.nebula.widgets.formattedtext,
org.eclipse.swt,
org.eclipse.swt.events,
org.eclipse.swt.graphics,
org.eclipse.swt.layout,
org.eclipse.swt.widgets,
org.eclipse.swt.internal
I hope my solution is applied.
David
|
|
|
Powered by
FUDForum. Page generated in 0.06174 seconds