I'm updating the RCP application from the site, which contains the new version of the application (9.0.0.46). But "Check for Updates" returns "No updates were found". Example: existing version is 9.0.0.7; new version is 9.0.0.46.
For the existing version 9.0.0.13 the new version (9.0.0.46) was found.
It seems that versions are compared as a Strings, and as 4 < 7 the RCP doesn't see the new version in the first case, and as 4 > 1 it sees the second one. How to check this assumption and resolve this issue?
Thanks!
I finally found the answer in the https://wiki.eclipse.org/Version_Numbering. In RCP applications, the build number is composed of four (4) segments: three integers and a string, respectively named
major.minor.service.qualifier. While the first three segments (major,minorandservice) are compared as numbers, the last one (qualifier) is compared lexicographically. So, in my case, it is actually an expected behavior.