ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Visher <tim.vis...@gmail.com>
Subject Re: Using shell command in ANT script
Date Wed, 24 Nov 2010 13:09:04 GMT
On Wed, Nov 24, 2010 at 4:48 AM,  <jhoomsharabi@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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message