Build numbers: major.minor.revision
问题 How would you write a build.xml file, using neither custom code nor external dependencies (such as a shell script), that: Generates a build number of the form major.minor.revision (e.g., 01.02.34 ). Auto-increments the revision on each compile of the source code. Auto-increments the minor version on each execution of a dist(ribution) task. Additionally: Provides an option to increment the major number. Provides an option to increment the minor number. Whenever the major number is incremented,