Merging two eclipse plugins
I'm currently learning how to make some plugins for eclipse.
I first developed a plugin for the KNIME project . This project contains a plugin.xml and a MANIFEST.MF file:
(...)
Bundle-Activator: project1.MyNodePlugin
(...)
The second project is a "preferences panel" that was generated with an eclipse wizard. It also contains a MANIFEST.MF & a plugin.xml:
(...)
Bundle-Activator: project2.Activator
(...)
I want my project project1 (KNIME) to use some data from my preference panel.
How should I merge the two projects (MANIFEST.MF ?) ?
开发者_高级运维How can I get the preferences of the project2 from the project1 ?
Thanks
Try this approach:
Implement all the classes which you need to manage your preferences (i.e. POJOs to save the values) in project1.
Add project1 as dependency to project2.
Export the classes in project1.
The last two steps make the classes visible in project2 where you can use them.
精彩评论