[patch] Version information of manifest not displayed
|Reported by:||osm@…||Owned by:||framm|
Builds out of SVN use a different method of inserting version information. Here the manifest is used.
The classloader trys to locate the Manifest in classpath order. It is not guaranteed that the right manifest is retrieved.
It should use this one:
but found that one first:
The patch fixes this by first determining the location of the jar containing "our" class file.
Once the "official" build process also uses the manifest for version information the call trying to fetch "REVISION" can be removed.
Another fix was the regular expression retrieving the version. This ignored the "SVN" suffix added by the build process.