Re: [NAnt-users] Nant Exec task output to a file

2011-10-04 Thread Adam Bruss
See if tf.exe has an xml option to output in xml. If it does then you can use xmlpeek to get the specific information you need from the xml file from tf. Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI  53092  USA P: 1.262.240.0291 x104 F:

Re: [NAnt-users] Nant Exec task output to a file

2011-10-04 Thread ssingh46
Hi Adam, Thanks. That did work. Now i have one more issues. This command gives below output in version.txt file Workspace : Test(testuser) Collection: sder.abc.group.com $/sample/Branches/R03: G:\TFS\sample\R03 But i need only $/sample/Branches/R03 Eg:myfile.txt should have only below line T

Re: [NAnt-users] Nant Exec task output to a file

2011-10-04 Thread Adam Bruss
http://nant.sourceforge.net/release/0.91-beta1/help/tasks/exec.html Use the output attribute of exec. Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI  53092  USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W