Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plugins not updated when building eclipse P2 update site

Tags:

eclipse

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!

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

like image 732
u123 Avatar asked Aug 16 '10 08:08

u123


1 Answers

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.

like image 89
Zoltán Ujhelyi Avatar answered Oct 13 '22 00:10

Zoltán Ujhelyi