All,
I am writting one program task which runs TFS command . I would like to
store that output to the file but iam not able to write program output.
Below is my coomand

<property name="source.path" value="G:\TFS\" />
<property name="Modify_Assembly" value="2.3.0.6" />
<property name="tf.cmd" value="G:\Program Files\Microsoft Visual Studio
10.0\Common7\IDE\tf.exe"/> 
<echo message="version: ${Modify_Assembly}" file="version.txt"/>
<property name="tfArgs" value="workfold &quot;${source.path}
/workspace:betaEngineBuild  &quot;"/>
         <exec program="${tf.cmd}  failonerror="true">
                     <arg line="${tfArgs}" />
         </exec>

I just need to return TFS source path(Server) into a file (version.txt).  I
can write local path which is mapped to the project but need TFS server
path.


Output 
     [exec] Workspace : Test(testuser)
     [exec] Collection: sder.abc.group.com
     [exec]  $/sample/Branches/R03: G:\TFS\sample\R03


My need is to have server path  $/sample/Branches/R03  written to a file
version.txt.
Thanks in advance.


-- 
View this message in context: 
http://old.nabble.com/Nant-Exec-task-output-to-a-file-tp32579964p32579964.html
Sent from the NAnt - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to