No central mechanism for the idea of release version?

LabKey Support Forum (Inactive)
No central mechanism for the idea of release version? Brian Pratt  2009-10-09 10:22
Status: Closed
 
I bumped into an interesting problem in trunk where it appears we're building applets-9.3Beta.jar but the code still looks for applets-9.2.jar.

That's an ugly sort of error. There is the version.properties file which appears to be where the 9.3Beta value was taken from, but it's not universally respected - upon inspection I find the string "9.2" liberally sprinkled through the codebase, including the string "applets-9.2.jar" in places like fileBrowser.js and drop.jsp.

Rationalizing version info across a large project is tricky, of course, but I just thought I'd mention this since it took me a little while to figure out why my code changes didn't seem to be having any effect, and this might be an opportunity for improvement.

Also it would appear that there's no automated test that catches this class of error?
 
 
eknelson responded:  2009-10-09 17:59
Hi Brian,

I ran into a similar issue recently for version numbers in our API files. Adam suggested a solution that might solve both your problem and mine, so I've opened a bug to track the issues:

https://www.labkey.org/issues/home/Developer/issues/details.view?issueId=8836

Thanks for the suggestion.

-- Elizabeth
 
adam responded:  2009-10-14 10:54