[Anthill] Timestamped build versions for Anthill OS.
Jerry Qassar
jerry at polexis.com
Mon Sep 27 20:41:40 CDT 2004
Hi,
I'm sure this has been asked often, but...
Using Anthill OS, I am trying to create a versioning system
where versions are performed in the format yyyyMMdd-(build#).
This is not an issue in Ant, really, because getting the date is a
trivial process. However, I don't seem to see a way to do it _easily_
in Anthill with the UrbanCodeVersionAdapter.
Using a version number such as 0.9.buildnumber is currently
not suitable; though I am not necessarily against a major.minor.build
version string, it's not desired for this project's nightly builds.
Date-based versions are much more intuitive. If I enter the current
date, though, it will eventually do something silly like 20040932.
I would also like to incorporate dates into the forced-build process.
Again, this seems difficult with Anthill OS. I think I can compare
dates in Ant and increment if same, restart if different, but again,
the default version adapter doesn't seem flexible enough to do this.
How can I solve this issue satisfactorily? I'm sure I'm not the first.
Thanks,
Jerry Qassar
SYS Technologies
http://www.systechnologies.com
More information about the Anthill
mailing list