简体   繁体   English

将Eclipse插件更新为开发版本

[英]Update an Eclipse plugin to a development version

How do you update a plug-in from a release version to a development version in Eclipse? 您如何在Eclipse中将插件从发行版更新为开发版?

I'm dealing with a problem in the groovy-eclipse plugin that looks like it's fixed in the development version ( this bug ). 我正在处理groovy-eclipse插件中的一个问题,该问题看起来像是在开发版本中已修复的此bug )。 When I try to install the plug-in, I get a message saying: 当我尝试安装插件时,出现一条消息:

Only one of the following can be installed at once: 
    Groovy-Eclipse plugin 2.7.2.xx-RELEASE-20121219-0800-e37 (org.codehaus.groovy.eclipse 2.7.2.xx-RELEASE-20121219-0800-e37)
    Groovy-Eclipse plugin 2.8.0.xx-20130617-1200-e37 (org.codehaus.groovy.eclipse 2.8.0.xx-20130617-1200-e37)

I get this message even after I've followed the instructions here to uninstall the release version of the plugin under "About Eclipse > Installation Details". 即使按照此处的说明卸载“关于Eclipse>安装详细信息”下的插件的发行版,我仍然收到此消息。

What is the procedure to update it to the development track (ideally keeping the ability to go back to the release once it's updated)? 将其更新到开发轨道的过程是什么(理想的情况是保持更新后的版本可以继续使用)?

Update: I get the same error message when I moved every file named *groovy* out of the features/ and plugins/ directories. 更新:当我将每个名为* groovy *的文件移出features /和plugins /目录时,会收到相同的错误消息。 (This puzzles me!) (这使我感到困惑!)

First, I wouldn't recommend that you just delete all groovy files from the plugins and features directories. 首先,我不建议您仅从plugins和features目录中删除所有常规文件。 This is probably going to muck up your install beyond repair. 这可能会使您的安装无法修复。 In fact, at this point, the easiest thing to do is to just start with a fresh Eclipse install and directly re-install from the snapshot update site. 实际上,此时,最简单的操作是从全新的Eclipse安装开始,然后直接从快照更新站点重新安装。

However, if you are feeling adventurous, you can undelete the groovy plugins and features. 但是,如果您喜欢冒险,可以取消删除groovy插件和功能。 Try installing again and paste the entire error message here. 尝试再次安装,然后将整个错误消息粘贴到此处。 There is a piece of the error message that you are missing. 您丢失了一条错误消息。 The full conflict description is not there. 没有完整的冲突描述。

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

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