On 6/14/05, Wang, Jason @ Newport MacArthur <[EMAIL PROTECTED]> wrote: > 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).
In NAnt there is a <loadfile> task that is capable of loading a text file into a single property. Another solution is to copy the latest build (let's say: builds\1.0.67.0) to some well known folder containing always the latest build (let's say: builds\latest). This copying should be done after each build of course. Best regards! Marcin ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer