Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Workspace-resident plugins/features
Workspace-resident plugins/features [message #509011] Thu, 21 January 2010 01:57 Go to next message
Chad La Joie is currently offline Chad La Joie
Messages: 15
Registered: July 2009
Location: Zürich, Switzerland
Junior Member
First, I apologize if this is in the wrong forum, I wasn't quite sure which of a couple this might be best posted in.

I'm using Eclipse, with the JDT and some other things, on OS X. I currently have one workspace with quite a number of large projects in it. These projects can be coarsely clumped together in to a few groups. For each group there are a set of plugins used by all the projects in that group, but not necessarily by projects in the other groups.

So, I'd like to create a workspace for each group and install the plugins specific to each group in to that workspace, not in to the normal "global" Eclipse location. This is especially important because one set of projects in particular has some plugins that aren't stable and I don't want them "polluting" my environment when I'm working in another workspace.

Is there a way to install a plugin to a workspace instead of globally? Could some one point me to some documentation about it?

Thanks.
Re: Workspace-resident plugins/features [message #509148 is a reply to message #509011] Thu, 21 January 2010 09:07 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

What you would do is create a different target platform in each
workspace. So in ws1 your target platform is
<active_platform>+<plugin_dir_1>. In ws2 your target platform is
<active_platform>+<plugin_dir_2>. etc

See Preferences>Plug-in Development>Target Platform

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Workspace-resident plugins/features [message #509339 is a reply to message #509148] Fri, 22 January 2010 02:32 Go to previous messageGo to next message
Chad La Joie is currently offline Chad La Joie
Messages: 15
Registered: July 2009
Location: Zürich, Switzerland
Junior Member
Thanks Paul, this looks like what I want. Is there also a way to redirect software installed via software sites to a particular plugin directory? Or does this multiple plugin directory set up require plugins to be installed manually if they are to be installed in the alternative directories?
Re: Workspace-resident plugins/features [message #509908 is a reply to message #509339] Mon, 25 January 2010 13:19 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Chad La Joie wrote:
> Thanks Paul, this looks like what I want. Is there also a way to
> redirect software installed via software sites to a particular plugin
> directory? Or does this multiple plugin directory set up require
> plugins to be installed manually if they are to be installed in the
> alternative directories?

well ... sorta. You can either create installs with the plugins you
want, and then use separate installs as separate target platforms.

Or you can simply use the target platform preference pages to populate
your different targets (from directories, local update sites/p2 repos,
remote update sites/p2 repos. etc).

Unless you have a very clear idea of what you want, I would use the
target platform pages. I've often downloaded zipped p2 repos so I can
easily build my installations/targets when available.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Printer BUG, i need help
Next Topic:Deployable features export problem
Goto Forum:
  


Current Time: Thu Aug 21 02:32:24 EDT 2014

Powered by FUDForum. Page generated in 0.01600 seconds