On Monday February 12, 2007, "Peter Reilly"
<[EMAIL PROTECTED]> wrote:
> On 2/12/07, James Abley <[EMAIL PROTECTED]> wrote:
> > Probably something like:
> >
> >
> >
> >
> >
> >
> >
>
> or:
>
>
>
>
> (note: in the second example, one does not need to us
ask also has a 'outputproperty' attribute that
>> allows you define the name of a property whose value
>> will be the output the commandline execution
>>
>> Good Luck,
>>
>> Ninju
>>
>>
>> ----- Original Message
>> From: Mr raju varg
arghese
<[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Saturday, February 10, 2007 3:42:07 AM
Subject: ant run command piping and get out put to
value
Hi,
I need Ant to run some commands and save out put to
a
property value. how can i achive that. For example
command:
svn info | grep
ese
> <[EMAIL PROTECTED]>
> To: user@ant.apache.org
> Sent: Saturday, February 10, 2007 3:42:07 AM
> Subject: ant run command piping and get out put to
> value
>
>
> Hi,
>
> I need Ant to run some commands and save out put to
> a
> property value. ho
From: Mr raju varghese <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Saturday, February 10, 2007 3:42:07 AM
Subject: ant run command piping and get out put to value
Hi,
I need Ant to run some commands and save out put to a
property value. how can i achive that. For example
c
Hi,
I need Ant to run some commands and save out put to a
property value. how can i achive that. For example
command:
svn info | grep version
I need to put output of the above command to property
called 'svninfo'. And also how can i pipe commands
using Ants exec.
Thanks,
Raju
___