From: Rony G. F. <Ron...@wu...> - 2007-06-07 15:40:28
|
Hi David, > This is harder to do than it first appears. It does no good to put the > revision number on an install file because that number still does not > appear within the build itself i.e. running rexx -v would not tell you > the build number. > > Actually, this is pretty easy to do with the *nix builds, but the > Windows build is a whole other problem because we have no automated > tools to update the source code during a build to place the build > number in the code where it can be used during the compile/link > process. Maybe Mark might have some suggestions on this topic. What about the "$rev" substitution mechanism, where at commit time that keyword in a textfile gets replaced by the actual svn revision number? Cf. <http://eiffelsoftware.origo.ethz.ch/index.php/Subversion_Reference#Special_properties>. ---rony |