Put the command inside a shell script and exec the shell script from
your build.xml
--sony

On Wednesday, November 24, 2010, Tim Visher <tim.vis...@gmail.com> wrote:
> On Wed, Nov 24, 2010 at 4:48 AM,  <jhoomshar...@netscape.net> wrote:
>> I want to use the following shell command in my build.xml file
>>
>> ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt
>>
>> is there any way I can use the above mentioned command.
>
> Read up on [Exec](http://ant.apache.org/manual/Tasks/exec.html).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to