Hi Edmund,

1) I am not sure of an easy way to do the first (fellow newbie here;)). But I set up 
CruiseControl.NET to kick off my Nant scripts and I find that CC.net keeps track of 
build numbers for me. Lots of good stuff in CC.net - works great for me. Check out 
"http://www.continuousintegration.net/";

2) To get the log file : use the command line option for nant.exe 
"-logfile:<filename>" while running nant.
The command "nant -help" - will describe all the command line options.

Thanks
Nipun

-----Original Message-----
From: Edmund Tan [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 2:01 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Help with versiontask and build output log


Hi guys,
 
I'm a newbie when it comes to NAnt as i have just started writing a build file to 
automate daily builds for my projects, and I'm currently facing 2 problems that I hope 
someone can hep me with.
 
The first is regarding the version task, i want to generate a build version number 
each time it build but i cant find a way to do this, basically all i want is to have 
the build version increment for every build automatically and then assign this value 
to a property so i can use it throughout the build script.
 
The second problem is i want the build to create a log file of the build process. How 
do i do this? Initially i used the record task to write it to a .txt file but it 
doesnt work.
 
FYI, I'm using nant version 0.8.3-rc2.
 
Would appreciate all the help i can get.
 
Edmund
NHS^隊[){([Zzn襴4D׬w%ا6il&x+ljwEjzz0'Zɩz{^0v\bJ۝DNmڲ޵brK&
?ƴ]4Mڽ݊Z޷NM55ǫf)+-5ǫX(~zwilq zlX)ߣڞ۬
N�HS^�隊[)�{(��[�Z�z��n襴�4D�׬�w%�ا�6�i���l�&���x�+��ljwE������j��zz0�'�����Zɩ�z{^��0�v�\���b��J۝��DNm��ڲ�޵�brK���&�
?�ƴ�]4�Mڽ�݊����Z��޷N��M���55���ǫ�f��)��+-5���ǫ�X���(��~��zw���i����l���q���z���l�X��)ߣ�ڞ۬z�

Reply via email to