Can not use SWT nebula widget in my application

2.1k Views Asked by At

I have installed Nebula Release in my Eclipse Juno.
I wanted to use CDateTime so I added a dependency in my MANIFEST.MF of my plugin project:
I.e. added: org.eclipse.nebula.widgets.cdatetime in the dependencies tab.
I also made sure that it is part of the dependencies of the corresponding feature.xml of Feature project.
But when I run my application I get:

Missing Constraint: org.eclipse.nebula.widgets.cdatetime; bundle-version="0.14.0"

Why is the nebula widget failing to be found?
What am I messing up here? Perhaps it is simple, but I am new in eclipse programming.

2

There are 2 best solutions below

0
On

I came across this problem today with nebula-cDateTime. I realized, it isn't enough to add the nebula-plugin, you need to make sure your product fit it also.

Here:

  1. Go to "Run Configuration" (I assume, you have a product-based start. If you use a feature-based start then add the nebula in feature also)
  2. Select your product and move to "Plug-ins"-Tab
  3. Push "Validate Plug-ins". It'll show you the missing plugins.
  4. Then hit the "Add Required Plug-ins"-Button, "Apply" and "Run"
0
On

Nebula CDateTime also requires the Nebula CWT (Common Widget Toolset) project.