如何使用不同的插件集来启动不同的工作区? [英] How can I launch different workspaces with different sets of plugins?
问题描述
当为不同的SDK使用不同的工作空间,例如Appengine,Android&基本的Java开发,如何确保,启动所需的工作区时只加载所需的插件?
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?
推荐答案
指定不同的配置文件夹。在启动Eclipse时,请使用 -configuration
参数。
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/
通过指定一个单独的配置文件夹,所有这4个文件夹将移动到一个新的位置。我通常使用一个名为configs的文件夹,并在其下添加几个编号的文件夹。所以,我得到的东西如下:
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/
为此,请使用参数 -configuration configs / c1 / 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.
您还可以添加 -data
参数,并指定工作区文件夹位置,或者在Eclipse启动时选择它。
You can also add -data
argument and specify the workspace folder location, or select it when Eclipse launches.
这篇关于如何使用不同的插件集来启动不同的工作区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!