can use share library in development plugin?
One answer
This is basically an Eclipse extending question and I would suggest you search for
"shared libraries in eclipse plugins" or something like that. You can limit the search to site:eclipse.com or to site:stackoverflow.com to get an even higher chance.
As far as I am aware, you would basically
- Create a plugin C where you have the common code.
- Add plugin C to the dependencies of plugin A
- Add plugin C to the dependencies of plugin b
This would work if you put all plugins into one feature.
If you need different features, follow the Extensions Workshop that creates a feature for the common code and uses that feature in the client and the server features.