Re: Nant Exec task output to a file
ssingh46 <[email protected]> Mon, 10 Oct 2011 14:31:20 -0700 (PDT)
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dominick,
I am not able to download this EXE. Its timing put.
Dominik Guder wrote:
>
> Hi,
>
> maybe you are looking for something like this:
> http://jayflowers.com/WordPress/?p=132
>
> In particular
> <echo message=“${tfs-vc::get-serveritem-for-localitem(localItem)}“/>
>
> You can give it a try:
> Download latest ci-factory from
> http://ci-factory.googlecode.com/files/CI-Factory-Beta-1.1.0.47.exe
>
> - Extract it to a folder named "CI Factory" where you like
> - Copy "CI Factory\Packages\VSTSVersionControl\bin\TF.Tasks.dll" into
> "CI Factory\nAnt\bin"
> - Test a first build script with tfsconnection
> - If tfs dlls are needed copy following into "CI Factory\nAnt\bin" too:
> Microsoft.TeamFoundation.dll
> Microsoft.TeamFoundation.Client.dll
> Microsoft.TeamFoundation.VersionControl.Client.dll
> Microsoft.TeamFoundation.VersionControl.Common.dll
> The referenced assemblies are from VS2005 and could be found in
> Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
>
> Maybe you can try to use others. If this is not working, then a
> recompile against nant and tfs dlls is required.
>
> hth
>
> Dominik
>
>
>
>
> Am 03.10.2011 04:10, schrieb ssingh46:
> >
> > 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"${source.path}
> > /workspace:betaEngineBuild""/>
> > <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.
> >
> >
>
>
> --
> The answer to the great question of life,
> the universe and everything is 42 (Douglas Adams)
>
> ------------------------------------------------------------------------------
> 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-d2d-oct
> _______________________________________________
> NAnt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>
--
View this message in context: http://old.nabble.com/Nant-Exec-task-output-to-a-file-tp32579964p32627577.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-d2d-oct
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users