I'd like to automatically insert the date into the code as part of the build process. Is there some existing way to do this?
If not, how could this be done? One approach that occurs to me is to add an ant step which writes a small source file containing the date.