What are current best-practices for systematic build numbering and version number management in Java projects? Specifically:
How to manage build numbers sy
For several of my projects I capture the subversion revision number, time, user who ran the build, and some system information, stuff them into a .properties file that gets included in the application jar, and read that jar at runtime.
The ant code looks like this:
It's simple to extend this to include whatever information you might want to add.