Unwanted plugin/bundle getting deployed (jetty 1.1.0 ticked, jetty 2.0.0 NOT, both deployed) [message #577917] |
Sat, 30 August 2008 16:45 |
Neale Upstone Messages: 50 Registered: July 2009 |
Member |
|
|
Hi,
Has anyone else come across this situation.
My Prefs->PDE->Target Platform specifically has one version of a plugin
specified, but it seems that both are getting deployed when I run an
OSGi launch.
The relevant settings are:
[ ] Build based on targets installed plugins (i.e. unticked)
[ticked] org.eclipse.equinox.http.jetty (1.1.0 v20080425)
[ ] org.eclipse.equinox.http.jetty (2.0.0 v20080425)
My launch config naturally just specifies
org.eclipse.equinox.http.jetty@default:default
And within my bundles, I don't refer to any jetty packages, as I'm using
the OSGi HttpService.
In my view, when I launch my configuration, I should only get the
[ticked] bundle. Instead, what happens is:
- I get a dialog box warning that the jetty package has unresolved
dependencies (due to the fact that the required bundles for 2.0.0 are
not included).
- When launched, all runs okay, as only the 1.1.0 bundle succeeds in
launching. A 'diag' on the 2.0.0 bundle shows that it didn't start.
The question is: why is eclipse deploying it at all.
Seems to me that PDE is failing to honour what's specified in the target
platform.
Any clues?
|
|
|
Powered by
FUDForum. Page generated in 0.02713 seconds