How can I launch different workspaces with different sets of plugins?(如何使用不同的插件集启动不同的工作区?)
问题描述
当为不同的 SDK 使用不同的工作区时,例如应用引擎、安卓和基本的 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.
这篇关于如何使用不同的插件集启动不同的工作区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何使用不同的插件集启动不同的工作区?


- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01