0

I have an eclipse rcp product, which has one feature, which has many plugins. All of my plugins have 1.0.0.qualifier type syntax in the version numbers. When I change a plugin, the qualifier gets exported as a timestamp. However, it changes all qualifiers to the current timestamp, which has the undesirable effect of causing the user to download all plugins again.

I've tried to add this in my feature's build.properties (but it didn't help): generateFeatureVersionSuffix=true

I've looked at: http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_version_qualifiers.htm

I've looked at this as well: Accessing the timestamp after PDE build

But I can't find anything related to changing the qualifier based on code changes. I know I can remove the qualifier and manually increment the plugins, but it would involve remembering to do so at every code change by the developer. Is there a simple solution for this?

Community
  • 1
  • 1
ergonaut
  • 6,929
  • 1
  • 17
  • 47

1 Answers1

1

Your best solution, assuming that you do builds with Tycho (if not, you probably should) and you use git is to use Tycho Reproducible Version Qualifiers.

Using it will produce the same version number for the same source code, based on git hash.

Jonah Graham
  • 7,890
  • 23
  • 55