Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I launch different workspaces with different sets of plugins?

When using different workspaces for different SDKs, e.g. Appengine, Android & basic Java development, how can I make sure, only the required plugins are loaded when launching the desired workspace?

like image 915
jottr Avatar asked Dec 16 '22 21:12

jottr


1 Answers

The trick is to specify a different configuration folder. Use the -configuration argument when launching Eclipse.

By default, you get something like this:

eclipse/
   plugins/
   features/
   configuration/

By specifying a separate configuration folder, all those 4 folders will move to a new location. I usually use a folder called configs and add several numbered folders under it. So, I get something like:

eclipse/
   plugins/
   features/
   configs/
      c1/
         plugins/
         features/
         configuration/
      c2/
         plugins/
         features/
         configuration/

To do that, use the argument -configuration configs/c1/configuration. When running a given instance and installing plugins, they will be installed in the relevant location.

You can also add -data argument and specify the workspace folder location, or select it when Eclipse launches.

like image 186
zvikico Avatar answered Jan 31 '23 01:01

zvikico