• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I want to remove the dependency on org.eclipse.core.runtime.compatibility for my plugin.

 
Niraj Chaudhary
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My plugin currently uses the plugin "org.eclipse.core.runtime.compatibility" for running, and I would like to remove that, for the following reason.

My activator class has the constructor with IPluginDescriptor argument defined, which simply calls the super class's constructor. I am using Eclipse Galileo. Now, when I just remove this constructor from the code, build the plugin, the plugin won't start. I get this java.lang.NoSuchMethodException: <init>(org.eclipse.core.runtime.IPluginDescriptor). This is correct exception, since the method does not exist.

But, why is it thrown when I remove the dependency of org.eclipse.core.runtime.compatibility from the Manifest editor? I googled on this and found out that that constructor is called only when my plugin explicitly depends on the compatibility plugin. Is there any other way to remove this?

Please help.


Thank you very much in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic