I have the same need for my scripts...

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Craig
Sent: 23 avril 2007 18:13
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] How to get path of logfile from Nant when passed 
oncommand line?

 

The path to the log file in our Nant scripts is passed to nant.exe via the -l 
option:

  i.e.  nant.exe -d:c:\scripts\BuildMe.build -l:c:\logroot\BuildMe.log go

 

Since this log file name is generated by the calling script is there a way to 
get at this path from within my build file?

 

Thanks.

 

  

________________________________

Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos. 
<http://us.rd.yahoo.com/evt=48245/*http:/autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM->
  

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to