简体   繁体   English

Eclipse:如何在运行配置中从lib文件夹设置插件?

[英]Eclipse : How can I set plug-ins from lib folder in run configuration?

At first I apologize for my bad English, because I'm not good at speaking English. 起初,我为我的英语不好而道歉,因为我不会说英语。

I have a Question about Eclipse 4.5 settings. 我对Eclipse 4.5设置有疑问。 When RCP application runs on Eclipse IDE, the application requires plugins defined in Run Configuration. 当RCP应用程序在Eclipse IDE上运行时,该应用程序需要在“运行配置”中定义的插件。 But Unfortunately only Target Platform plugins are configurable. 但是不幸的是,只有Target Platform插件是可配置的。 I want to set plugins from lib folder, but is it impossible? 我想从lib文件夹设置插件,但这是不可能的吗?

在此处输入图片说明

You can set up your Target Platform to contain multiple locations so one of them could be your lib folder. 您可以将目标平台设置为包含多个位置,因此其中一个可以是您的lib文件夹。

In the Preferences go to 'Plug-in Development > Target Platform'. 在“首选项”中,转到“插件开发>目标平台”。

Select your target platform and click 'Edit...' 选择您的目标平台,然后单击“编辑...”

In the Target Content dialog select 'Add...' to add a new Directory, ... to the target platform. 在“目标内容”对话框中,选择“添加...”以将新目录...添加到目标平台。

In the example below I have two locations for target platform contents: 在下面的示例中,我有两个位置用于目标平台内容:

目标平台示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM