chubbymaggie / synoptic

Automatically exported from code.google.com/p/synoptic
0 stars 0 forks source link

Tracking version and dynamic build numbers across all projects #175

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Fixed in revision c6593be2dd75

Original comment by bestchai on 24 Nov 2011 at 1:22