Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-core-dev] Imported optional plugins

If an imported plugin is specified as optional in the plugin XML, the
versioning information seems to be ignored.
For example, given I have the following import statement in the plugin
requirements:

  <import plugin="com.alpha.beta" optional="true" version="2.0.0"
match="compatible"/>

If the version of the plugin com.alpha.beta is not compatible (e.g.
version 1.0.0), my plugin still loads without error.

I do expect my plugin to load, since the import is optional. However, I
also expect there to be a warning of the version mismatch generated in
the log. I would also expect that the imported plugin would not be made
visible in the namespace of my plugin, since it is of an incompatible
version. Eclipse currently does not conform to either of these
assumptions.

Is this intententional, or a defect?

Rod





Back to the top