Best way to package plugins [message #783971] |
Thu, 26 January 2012 16:23  |
Eclipse User |
|
|
|
Hello,
I have a software framework that uses the Eclipse Rich Client Platform and extends it to provide some specific GUI behaviors (menus, toolbars, etc.) The plugins I create are intended to run in a standalone rich client application, not in the Eclipse IDE itself. Currently, to provide this framework to developers who use it, I export the features/bundles to an update site, and the developers install the software into their eclipse installation to use. Unfortunately, the GUI elements that are intended to be used in their custom apps are showing up in the Eclipse UI after installing.
Is there a better way to provide the plugins so that their code can compile against them and they can be deployed with their custom applications, but the GUI elements are not "installed" in Eclipse?
Also, as I continue to build this framework, I will develop extensions to the Eclipse PDE/JDT to provide wizards and other things to speed the development of custom apps. In this case I would want those to be installed in Eclipse. Ideally the packaging solution I use would allow some plugins to be installed in Eclipse while others are just referenced during the build and used in custom applications produced with Eclipse.
Any thoughts?
Thanks for your help,
Chris
|
|
|
Re: Best way to package plugins [message #786744 is a reply to message #783971] |
Mon, 30 January 2012 14:27  |
Eclipse User |
|
|
|
PDE gets the bundles to build against at development time from the Target Platform. The default target platform is your current running Eclipse, which is why installing your bundles works. You can add additional bundles to your target platform without modifying your install on the target platform preference page. You can even add a software site location to your target and grab the bundles from your p2 repository.
You will want separate features in your p2 repository for items a user would typically install vs those they just add to the target platform. (i.e. Feature 1: Awesome Menus, Feature 2: Awesome Menus SDK)
|
|
|
Powered by
FUDForum. Page generated in 0.04414 seconds