Ant Task - Build Date and Number

Ant Task - Build Date and Number

Often we want to know the build number and date for an application. Having the build number and date at the bottom of the screen can provide the development team with valuable information when investigating defects.
Sample output:
Auto generated date and build number
Web Project artifacts
version.properties, contains the lastest build information
WEB-INF\template\version.jsp, contains the jsp fragments to build the real version.jsp

WebContent\version.jsp, contains the jsp fragments generated from the ant task index.jsp, includes the version.jsp at the bottom of the page.

Ant task:


The Eclipse Dynamic Web Project is available on github.com
https://github.com/sfbishop/DisplayVersion

Comments

Popular posts from this blog

Setting up SVN on Apache on Windows

Jenkins - Adding Build Lights - Delcom 904008

SVN to Hudson/Jenkins - Repository Hooks