I recently added the "gen-version" target to the ant build.xml, which generates a java class with version and build information.
I think this should be re-factored to generate a non-java file which can be interpreted by a version controlled class rather than generating src code at build time.
I wonder if we could generate the version in ant using the git tag itself. We could also try to determine if the latest commit is a tagged release, if it's not a tagged release then also include the commit hash to show it's not a standard release build.
I recently added the "gen-version" target to the ant build.xml, which generates a java class with version and build information.
I think this should be re-factored to generate a non-java file which can be interpreted by a version controlled class rather than generating src code at build time.
I wonder if we could generate the version in ant using the git tag itself. We could also try to determine if the latest commit is a tagged release, if it's not a tagged release then also include the commit hash to show it's not a standard release build.