aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes I want to remove the dependency on org.eclipse.core.runtime.compatibility for my plugin. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "I want to remove the dependency on org.eclipse.core.runtime.compatibility for my plugin." Watch "I want to remove the dependency on org.eclipse.core.runtime.compatibility for my plugin." New topic
Author

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

Niraj Chaudhary
Greenhorn

Joined: Feb 03, 2011
Posts: 5
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I want to remove the dependency on org.eclipse.core.runtime.compatibility for my plugin.
 
Similar Threads
Maven 2: Copy JAR of Dependent Project to Distribution
Could not resolve dependencies for maven project
Maven not downloading the plugin
how do i send a email test report from maven
Incorrect hibernate version or maven ignore and didn't download hibernate jar file.