Eclipse指定dropins插件位置

Eclipse插件安装有多种方式 eclipse

1. 自行添加update site 安装 工具

2. 自行添加本地zip包做为update site安装 网站

3. link安装 ui

4. 直接将插件对应的plugins和features放入Eclipse对应的文件夹 this

5. Eclipse 3.3以后能够将插件直接放入dropins文件夹安装 spa

我我的最经常使用的是第五种方法 插件

可是有时候有些状况下想切换插件方案, 而dropins文件夹只有一个, 拷贝插件仍是挺麻烦的 命令行

猜测Eclipse如此灵活的工具应该支持配置dropins文件夹的位置 three

baidu了许久无果 ip

Google了一下, 找了IBM网站上一篇文章, 经过配置虚拟机参数来指定dropins文件夹位置

Configuring additional Eclipse dropins directories

里面提到了三种方式

1. 在命令行后面加参数

    如: eclipse.exe -vmargs -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/dropins

2. 在eclipse\eclipse.ini中加参数

3. eclipse\configuration\config.ini中加参数

我的选择第一种方式, 建立快捷方式后加上不一样的参数便可, 参数值能够采用相对路径

如: -vmargs -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins-aaa或dropins-bbb, 即指定Eclipse的dropins文件夹为dropins-aaa或dropins-bbb

英文不是很复杂, 为避免连接失效.

引用原文
Technote (FAQ)

Question
How do you configure an additional dropins directory in Eclipse?
Answer
Set the System property org.eclipse.equinox.p2.reconciler.dropins.directory to point to a directory that you want to watch for plug-ins.
You can configure the property the following three ways:
1. Start Eclipse with an additional command line argument:
for example:
eclipse.exe -vmargs -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/dropins
2. By adding the following line at the end of eclipse\eclipse.ini file:
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=path/to/directory
3. By adding the following line to eclipse\configuration\config.ini file:
org.eclipse.equinox.p2.reconciler.dropins.directory=path/to/directory The property can point to only one directory. You must also notice that several Eclipse based products set this property to point to the directory which is necessary to start the product. Reconfiguring this property leads to corruption of the installation (it might cause the product to crash at startup or disable major features). Examples of products which set this property are the IBM Rational products installed by IBM Installation Manager, including, but not limited to: IBM Rational Software Architect, IBM Rational Software Architect for WebSphere Software, IBM Software Architect Real Time Edition, IBM Rational Application Developer for Websphere Software.
相关文章
相关标签/搜索