简体   繁体   English

重新安装和eclipse插件时覆盖jar文件

[英]Overwrite jar files when re-installing and eclipse plugin

I am developing an eclipse plugin and facing a deployment problem: 我正在开发一个eclipse插件并面临部署问题:

After zipping the whole eclipse plugin and installing it on eclipse using Help--> Install New Software--> from archive file, once I would like to uninstall it through Help --> About Eclipse Platform --> Installation Details --> Installed Software --> Uninstall..., the old jar files will remain under eclipse/plugins folder. 将整个eclipse插件压缩并使用帮助->安装新软件->从存档文件安装在eclipse上之后,一旦我想通过帮助->关于Eclipse平台->安装详细信息->已安装将其卸载软件->卸载...,旧的jar文件将保留在eclipse / plugins文件夹下。 And when I try to install a new version of the eclipse plugin, the previous jar files are not overwritten by the new ones. 当我尝试安装新版本的eclipse插件时,以前的jar文件不会被新文件覆盖。

Is anything wrong within my process? 我的过程中有什么问题吗? does anyone has an idea about deploying eclipse plugins properly? 有没有人有关于正确部署eclipse插件的想法? thanks!!! 谢谢!!!

To get rid of the old plugins you have to clear the Installation History. 要摆脱旧的插件,您必须清除安装历史记录。 Go to Help | 转到帮助| About Eclipse | 关于Eclipse | Installation Details | 安装细节| Installation History and select all the old stuff. 安装历史记录,然后选择所有旧内容。 Then click delete and restart. 然后单击删除并重新启动。 Now install the new plugin. 现在安装新的插件。

The other way to achieve this is by copying the corresponding directory (or jar) from the source eclipse install plugins/ or/and features/ directory to the target eclipse install plugin/ or/and features/ directory 实现此目的的另一种方法是将相应的目录(或jar)从源eclipse install plugins /或/和features /目录复制到目标eclipse install plugin /或/和features /目录。

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

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