Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Best way to package plugins
Best way to package plugins [message #783971] Thu, 26 January 2012 21:23 Go to next message
Chris West is currently offline Chris WestFriend
Messages: 1
Registered: July 2009
Junior Member

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,
Re: Best way to package plugins [message #786744 is a reply to message #783971] Mon, 30 January 2012 19:27 Go to previous message
Curtis Windatt is currently offline Curtis WindattFriend
Messages: 166
Registered: July 2009
Senior Member
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)
Previous Topic:feature.xml reference question
Next Topic:Deploying a JNI Application
Goto Forum:

Current Time: Sun Jun 26 03:17:37 GMT 2022

Powered by FUDForum. Page generated in 0.02067 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top