Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to separate plugin directories?
How to separate plugin directories? [message #256238] Mon, 28 June 2004 04:04 Go to next message
Eclipse UserFriend
Hello,

To my opinion it often leads to rather error prone situations
that there exists only one single plugins directory for a given
eclipse instance. To my opinion it would sometimes be rather
useful to separate the "internal" eclipse plugins from others,
e.g. third party plugins. Such a separation would make switching
from one eclipse version to the next much more easier, because
you usually have already installed a bunch of useful plugins,
which are lost, if you simply erase the original eclipse directory.

Thank you very much for your ideas,

Daniel Kruegler
Re: How to separate plugin directories? [message #256279 is a reply to message #256238] Mon, 28 June 2004 06:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: metfan.nowhere.com

On Mon, 28 Jun 2004 10:04:14 +0200, Daniel Krügler <dsp@bdal.de> wrote:

> Hello,
>
> To my opinion it often leads to rather error prone situations
> that there exists only one single plugins directory for a given
> eclipse instance. To my opinion it would sometimes be rather
> useful to separate the "internal" eclipse plugins from others,
> e.g. third party plugins. Such a separation would make switching
> from one eclipse version to the next much more easier, because
> you usually have already installed a bunch of useful plugins,
> which are lost, if you simply erase the original eclipse directory.
>
> Thank you very much for your ideas,
>
> Daniel Kruegler
>
>

This tip is from http://www.vasanthdharmaraj.com/CategoryView,category,Eclips e.aspx

Eclipse Tip: Keeping plugins and workspace separate

I always work with the latest integration build of Eclipse. So naturally I update my eclipse quite frequently. This becomes a pain if you are using a lot of plugins like me. So I googled and found a way to have your plugins in a separate folder.

Here is how to do it:
1. Create a folder called 'links' in your eclipse directory.
2. Create a file with the extension .link, say plugins.link.
3. Open the file and add a line 'path=c:\\myplugins' and save the file.
4. Create the directory mentioned in the link file. (c:\myplugins)
5. Create a sub directory named 'eclipse' in the above directory. (c:\myplugins\eclipse)
6. Create a couple of sub directories named 'features' and 'plugins' in the above directory. (c:\myplugins\eclipse\features & c:\myplugins\eclipse\plugins)
7. Now put all the third party plugins in these directories.
8. (Re)start eclipse and voilà all the plugins in the separate directory are loaded.

Now when updating eclipse you can delete all files and folders other than the 'links' and unzip the new eclipse build. As easy as that. Well almost there is another folder called 'workspace' in the eclipse folder. You would want to retain this folder to preserve all the configuration and project information. There is a easy solution for this too. When starting up eclipse use the following command line parameter to specify an alternate location for your 'workspace'

eclipse.exe -data c:\myworkspace

Be sure to move the contents of the previous workspace location to prevent losing all the settings and projects.

Disclaimer: I have tested this only on windows 2000. Be sure to back up all your data before proceeding.
Re: How to separate plugin directories? [message #256291 is a reply to message #256279] Mon, 28 June 2004 07:19 Go to previous message
Eclipse UserFriend
No Message Body
Previous Topic:cannot find some feature in Release 3.0
Next Topic:Invoking code after all plugins initialized
Goto Forum:
  


Current Time: Wed May 14 00:04:36 EDT 2025

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

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

Back to the top