I don't know why I didn't think of using the loadfile task
before, but this is what I have now and it works pretty well: <loadfile file="build.number"
property="buildnumber.version" failonerror="true"
unless="${property::exists('buildnumber.version')}"/> From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wang, Jason @ Newport
MacArthur Hi all, How
do I retrieve the current version number w/o changing it? I have a
deployment target that uses robocopy to deploy my web app. I would like
to set the source folder to the last built output folder (i.e.
c:\build\1.0.57.0). Thanks, Jason |
RE: [NAntC-Dev] How do I retrieve the current version number w/o changing it?
Wang, Jason @ Newport MacArthur Tue, 14 Jun 2005 09:33:51 -0700