Jul
11
2008
Version-Stamping Jars/Wars/Ears with Hudson
Posted by: Matt in Software development, tags: ANT, Hudson, Software developmentI’ve done something simple, yet cool and useful in our Ant builds to make them work a little nicer with Hudson. I’ve modified things so our Jars/Wars get stamped with version control information from Hudson. To do this, I take advantage of the fact that when Hudson starts an Ant build, it puts certain key values in the environment variables, so I grab them and stuff them into the manifests for the jars.

Entries (RSS)