Plugins are not updated when creating the eclipse P2 update site

I created an eclipse update site (using Helios) and added some features (containing my own plugins available on the target platform). Then I synchronized the site and created it, which creates two folders: functions and plugins containing plugins and functions (.jar files).

Then I make some changes to one of the function plugins, update this function and the update site and create it again. But the received plugin in the plugins folder is not updated!

How to make the update site create updated plugins in the plugins folder?

+7
eclipse
source share
2 answers

One of the key ideas for push updates: make sure the version of the new build is different from the old. The easiest way to achieve this is to use a version number such as 1.0.0.qualifier. Thus, at build time, the current date and time is added to the fourth version number.

I also suggest not using update site projects, but simply exporting deployment capabilities. See my blog for more details (sorry for advertising yourself :)). This method works a lot easier.

+7
source share

I know this is probably not the answer of the tutorial, but I used to delete all previous outputs and synchronize before each build.

In the end, I switched to the PDE-Build tool . This is a headless script that is much more stable than an interface-based build. It takes time to cope, but if you do it on a regular basis and you need consistent results, it's worth the effort.

0
source share

All Articles