如何在Eclipse Ganymede中安装自定义插件? [英] How to install a custom plug-in in Eclipse Ganymede?

查看:183
本文介绍了如何在Eclipse Ganymede中安装自定义插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个自定义插件。也就是说,我在工作的公司在内部开发。
我想在Eclipse Ganymede中将其安装为可用的插件。我如何做到这一点?



从我可以看出,Eclipse软件安装只支持从Eclipse软件更新站点进行安装。



我去帮助 - >安装新软件... - >添加 - >本地...
浏览到包含插件的文件夹。虽然该对话框可以将目录添加为更新站点,但它不起作用。它希望该目录是本地Eclipse更新站点(我认为)。我收到错误

 在文件中找不到存储库:/ G:/ TOOLS / ... 

接下来,我将插件复制到Eclipse安装下的插件目录中。那也不行。我也尝试将它复制到dropins目录中。没有骰子。



任何人都可以启发我如何安装不在更新网站上的插件?



提前感谢...

解决方案

通过将插件作为zip文件进行安装,通过将其解压缩到Eclipse安装目录(或 plugins 目录中),具体取决于它的打包方式,因为它也可以在功能目录)



接下来使用 - clean 选项重新启动Eclipse。 p>

We have a custom plug-in. That is, the company where I'm working developed it in house. I would like to install it as an available plug-in in Eclipse Ganymede. How do I do that?

From what I can figure out, the Eclipse software install only supports installation from Eclipse software update sites.

I went to Help -> Install New Software... -> Add -> Local... to browse to a folder containing the plug-in. Although the dialog lets me add the directory as an update site, it doesn't work. It expects that directory to be a local Eclipse update site (I think). I get the error

No repository found at file:/G:/TOOLS/...  

Next I just copied the plug-in into the plug-in directory under my Eclipse installation. That didn't work either. I also tried copying it into the dropins directory. No dice.

Can anyone enlighten me how to install a plug-in that's not on an "update" site?

Thanks in advance....

解决方案

Usually an Eclipse plug-in packaged as zip file is install by extracting it into the Eclipse installation directory (or the plugins directory depending on how it is packaged, as it can also extract files in features directory).

Next restart Eclipse with the --clean option.

这篇关于如何在Eclipse Ganymede中安装自定义插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆