The Artima Developer Community
Sponsored Link

Java Buzz Forum
Eclipse Tip: Keeping plugins and workspace separate

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vasanth Dharmaraj

Posts: 594
Nickname: vazz
Registered: Oct, 2003

Vasanth Dharmaraj is J2EE developer learning Dot Net
Eclipse Tip: Keeping plugins and workspace separate Posted: Jan 13, 2004 11:24 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Vasanth Dharmaraj.
Original Post: Eclipse Tip: Keeping plugins and workspace separate
Feed Title: Vasanth Dharmaraj's Blogs
Feed URL: /SyndicationService.asmx/GetRssCategory?categoryName=Technology%7CJava
Feed Description: my thoughts on dot net, java, linux, formula one, xbox gamming...(my java category)
Latest Java Buzz Posts
Latest Java Buzz Posts by Vasanth Dharmaraj
Latest Posts From Vasanth Dharmaraj's Blogs

Advertisement

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.

Read: Eclipse Tip: Keeping plugins and workspace separate

Topic: Saving HTTP Authentication? Previous Topic   Next Topic Topic: Eric Gamma on the future of Eclipse

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use