I did look at keywords, but they only replace the version of that file. I'd like to have the build include the last revision of the project. [...long story short...] I'd like to avoid having to "touch" the "Version.cs" file each time to force a commit.
Actually, our brilliant QA manager came up with a nice solution... he just redirects the svn output to a file during the build. Then that file gets rolled in. I still like the replaceToken solution, and when we move to .85, I'm sure we'll use that lots of ways. Thank you very much for the reply. Rob --- Gary Feldman <[EMAIL PROTECTED]> wrote: > rob young wrote: > > >Let me broaden my earlier question. My goal is to > >embed subversion versioning information into, say, > an > >HTML file at build time. Right now I am using a > call > >to the command-line client, xmlpeek, and > replacetokens > >to do that, but is there an easier way to embed > >version information? > > > > > Yes. Use the Subversion keyword feature, with the > Date and Revision > keywords. See the section on keyword properties in > the Subversion > manual, > http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4 > . > > Gary __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users