﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1841	[patch] Version information of manifest not displayed	stephankn	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:
jar:file:/C:/Documents%20and%20Settings/Stephan/workspace/josm/core/dist/josm-custom.jar!/META-INF/MANIFEST.MF

but found that one first:
file:/C:/Program%20Files/Java/jre6/lib/ext/QTJava.zip!/META-INF/MANIFEST.MF


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.
"	defect	closed	minor		Core	latest	fixed		stephankn
