If I have 2 different Eclipse plugins with similar functionality (e.g. they both implement an extension point or a service of a third plugin), how can I easily reuse the same code in both plugins without making one depend on the other?
Example: Have both plugins share the exact same Activator.java
.
Alternatives I already thought about:
The standard way to do this is to create the third plugin. Generally if you are using plugin development, it's best to use that for everything (don't create library projects). This way you get all of the benefits of plugin development for everything.