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:
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
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 |
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
Post a Comment