[英]Why can't I see new features in my Eclipse update site?
In a nutshell: I've updated some features in my Eclipse update site, but the new versions are not showing, only the existing (installed) ones are . 简而言之: 我已经更新了Eclipse更新站点中的一些功能,但新版本没有显示,只有现有(已安装)版本 。
I have written a number of plugins (transformation extensions) in RSA to enable model-driven development (turning a platform-independent UML model into Java). 我在RSA中编写了许多插件(转换扩展)来实现模型驱动的开发(将独立于平台的UML模型转换为Java)。
In order to share these with fellow developers, I created an Eclipse update site. 为了与其他开发人员分享这些,我创建了一个Eclipse更新站点。 I have 1 feature per plugin (yes I realize this is overkill, but I was unable to install some plugins when they were grouped together in a feature).
每个插件我有1个功能(是的,我知道这是矫枉过正,但是当它们被组合在一个功能中时我无法安装一些插件)。 After building the update site, I checked the whole site into source control - other developers just checkout the site, add it as a local update site in RSA, and install all of the plugins.
构建更新站点后,我将整个站点检查为源代码控制 - 其他开发人员只需检出站点,将其添加为RSA中的本地更新站点,然后安装所有插件。
I have since updated a number of plugins (incrementing their version), updated their owning features (incrementing the version), rebuilt the update site and checked it in. This has worked fine - other developers just checkout the updated site and install the new versions of the plugins. 我已经更新了一些插件(增加他们的版本),更新了他们自己的功能(递增版本),重建了更新站点并检查了它。这很好用 - 其他开发人员只需检查更新的站点并安装新版本插件
I have recently updated the plugins again, updated the features and rebuilt the update site, but the new versions of the features do not appear in the update site (eg via Help->Software Updates->Available Software
)! 我最近再次更新了插件,更新了功能并重新更新了更新站点,但新版本的功能没有出现在更新站点中 (例如,通过
Help->Software Updates->Available Software
更新 Help->Software Updates->Available Software
)! It's as if it's cached the old update site somewhere, because it's still showing the versions I have installed. 就好像它在某个地方缓存旧的更新站点一样,因为它仍然显示我已经安装的版本。 The versions of the features and plugins in the built site are all the correct (new) versions.
构建站点中的功能和插件版本都是正确的(新)版本。
I have tried: 我努力了:
Has anyone come across this before or knows why this is happening? 有没有人遇到这个或知道为什么会这样?
I'm using IBM Rational Software Architect 7.5.5.2 (based on Eclipse 3.4.2). 我正在使用IBM Rational Software Architect 7.5.5.2(基于Eclipse 3.4.2)。
Ok, I actually got it to work, but it's not exactly the most elegant solution - if anyone can think of an alternative solution (or reason why this is happening) I would appreciate it! 好吧,我实际上让它工作,但它并不是最优雅的解决方案 - 如果有人能想到另一种解决方案(或者为什么会发生这种情况),我将不胜感激!
All I did was 我所做的只是
.project
and site.xml
.project
和site.xml
Once I did this, the new versions appeared and I was able to update them successfully. 一旦我这样做,新版本出现了,我能够成功更新它们。 I'm still not sure if the first step is necessary or not though...
我仍然不确定第一步是否必要但是......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.