In my mind there needs to be a simple way to automate build numbers within a project. The stoken-utils project is handy for helping with this using features of ANT and JAVA. It is a small portable library that, among other thing, helps manage project level build numbers.
Project Information
stoken-utils can be downloaded here. You may also find the logger feature of this library also interesting.
Usage
I have already blogged about this approach here. In a nutshell, usage is not to complex.
- Add a small XML stub to your build.xml
- Modify it with your project specifics (name, description, copyright,....)
- Load appinfo.properties via AppInfo.init(...) see javadoc.
- Access values using AppInfo static methods.
Final Thoughts
stoken-utils has a simple approach for managing build numbers using ANT and JAVA.
No comments:
Post a Comment