Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] optionally requiring org.eclipse.core.runtime.compatibility


In looking through the current set of plugin.xml files we noticed that a number of people are using
          <import plugin="org.eclipse.core.runtime.compatibility" optional="true" />
in their <requires> list.

While this works, I suspect that in most cases it is actually inaccurate.  Chances are most plugins currently still really require the compatibility plugin and plain would not work if it was not present. For those that don't, they don't need to mention org.eclipse.core.runtime.compatibility at all.

It is likely that during the transition to the new runtime you were asked to add this line.  So, thank you very much for following the request, but you can now remove the optional="true" part or, if you really don't need the compatibility stuff, remove the <import> all together.

Jeff

p.s., here is partial list of the plugins that use optional="true"
org.eclipse.text
org.eclipse.search
org.eclipse.jdt.ui
org.eclipse.ui.workbench.texteditor
org.eclipse.ui.editors
org.eclipse.pde.junit.runtime
org.eclipse.jdt.junit.runtime
org.eclipse.core.expressions
org.eclipse.core.filebuffers
org.eclipse.compare
org.eclipse.jface.text
org.eclipse.jdt.junit

Back to the top