Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Pipeline in exec-task

jantje

2008-07-01

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi there,

I need to do a /bin/bash operation, the "|" is a pipe:
find /tmp/module/ -type d | xargs chmod -v 755;

"find" I can include in an exec-task:
<exec executable="/usr/bin/find" failonerror="true">
   <arg value="/tmp/module/"/>
   <arg value="-type"/>
   <arg value="d"/>
  </exec>

But the result of this exec-task has to be "piped" to:
 xargs chmod -v 755;

I really can't find a solution, anyone? Is it possible? :-)

thanks and greetings..
--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.