Thanks for the feedback. After playing around persistently, I got it to work.
Please see below, either of the exec tasks work now:
Rez> Date: Sun, 23 Nov 2008 21:11:06 +> From: [EMAIL PROTECTED]> To:
user@ant.apache.org> Subject: Re: Running exec tast> &
2008/11/20 Rez <[EMAIL PROTECTED]>:
>
> Hi
>
>
> I can run the below command from a Windows cmd line just fine
> cvs -f stat | grep "Repository revision" | gawk '{print $4 " " $3}'
> but now I'd like to add it to my build.xml file in a target
>
> line="cvs -f stat | grep "Repository revis