Since the generated synoptic.jar will be used as a library by the GWT code, it
is important to track the version and build number (as a function of hg
changeset id) of the jar file. Otherwise, it will be difficult figure out which
changeset the jar corresponds to.
The same information needs to be tracked by war files generated from the
synopticgwt project. Ideally, the version/build information would then be
displayed somewhere on the webpage.
One way of maintaining dynamic build numbers is to use something like this:
http://stoken-tips-and-tricks.blogspot.com/2007/04/howto-use-ant-with-java-to-dy
namically.html
We can run a shell script (as an ant task) to pre-generate the build number
based on the current hg changeset id. We can also use tags for version numbers,
though this is less important.
Original issue reported on code.google.com by bestchai on 21 Nov 2011 at 11:31
Original issue reported on code.google.com by
bestchai
on 21 Nov 2011 at 11:31