----- Original Message ----- 
From: "Virginie Helloco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 28, 2004 4:15 PM
Subject: [Nant-users] execute nant file with c#


> I want to use the framework of nant  to execute the file exemple.build
> I want to get log file to put it on web forms page

You can either save the build log as flat text file using the -logfile
option

eg. NAnt.exe -buildfile:exemple.build -logfile:buildlog.txt

or you can have the build log output as an XML file, and then transform it
into whatever you want using XSLT using the -logger:NAnt.Core.XmlLogger

eg.
NAnt.exe -buildfile:exemple.build -logfile:buildlog.xml -logger:NAnt.Core.Xm
lLogger

Hope this helps,

Gert



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to