It works ! Thanks a lot,
Pierre |---------+--------------------------------------> | | [EMAIL PROTECTED] | | | Sent by: | | | [EMAIL PROTECTED]| | | ceforge.net | | | | | | | | | 06/01/04 17:45 | | | | |---------+--------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: [Nant-users] How to redirect the output of a nant task ? | >------------------------------------------------------------------------------------------------------------------------------| You may be able to use the NAntContrib <record/> task. Please take a look at the help (http://nantcontrib.sourceforge.net/help/tasks/record.html) and the mail archives* if you have further questions. *Mail Archives: http://www.mail-archive.com/index.php?hunt=nant If this doesn't work we would probably need to add a feature to the <nant/> task to pass logging info. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 06, 2004 7:10 AM Subject: [Nant-users] How to redirect the output of a nant task ? > Hi everybody, > > in my build file, I use the "nant" task like this. > <nant buildfile="${nightly.root}/${buildfile.name}" target="all.daily"> > </nant> > I would like to redirect the build log messages of this task in a file and > not in the standard output. > > I have tried this : > <nant buildfile="${nightly.root}/${buildfile.name}" target="all.daily"> > <property name="logfile" value="c:\xxxx.log"/> > </nant> > > buf it doesn't work. > > > Any idea ? > > Thanks, ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ****************************************************************** The sender's email address has changed to firstname.lastname@ sgcib.com. You may want to update your personal address book. Please see http://www.sgcib.com for more information. ** This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. *************** L'adresse mail de votre correspondant a change en prenom.nom@ sgcib.com. Il est recommande de mettre a jour votre carnet d'addresse personnel.Pour plus d'informations, aller sur http://www.sgcib.com ** Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, modifie ou falsifie. ****************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users