构建eclipse P2更新站点时插件未更新 [英] Plugins not updated when building eclipse P2 update site

查看:95
本文介绍了构建eclipse P2更新站点时插件未更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个eclipse更新站点(使用Helios),并添加了一些功能(在目标平台中包含我自己的插件)。然后,我同步该站点并构建它,它创建两个文件夹:包含插件和功能(.jar文件)的功能和插件。

I have created an eclipse update site (using Helios) and added some features (containing my own plug-ins available in the target platform ). I then synchronized the site and build it which creates two folders: features and plugins containing the plugins and features (.jar files).

然后我对其中一个进行了一些更改功能中的插件,更新功能和更新站点并重新构建。但是插件文件夹中的插件不会更新!

I then make some changes to one of the plugins in the feature, update the feature and the update site and build it again. But the resulting plugin in the plugins folder is not updated!

如何强制更新站点在plugins文件夹中生成更新的插件?

How do I force the update site to produce the updated plugins in the plugins folder?

推荐答案

强制更新的一个关键思想:确保新版本的版本与旧版本不同。实现这一目标的最简单的方法是使用像1.0.0.qualifier这样的版本号。在构建当前日期和时间的过程中,将添加到第四个版本号。

One key idea to force an update: make sure, the version of the new build is different from the old one. The simplest way to achieve this is to use a version number like 1.0.0.qualifier This way during build the current date and time is added to the fourth number of the version.

我还建议不要使用更新站点项目,而只是导出可部署功能。有关详细信息,请参阅我的博客条目(对不起为了广告自己:))。这种方式可以更容易。

I also suggest not using update site projects, but simply exporting deployable features. For details see my blog entry (sorry for advertising myself :) ). This way works much easier.

这篇关于构建eclipse P2更新站点时插件未更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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