ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Exec arguments, pipes, and I/O redirection...
Date Wed, 06 Sep 2000 07:01:54 GMT
>>>>> "KW" == Ken Wood <kwood@i2.com> writes:

 KW> <exec executable="cat" dir=".">
 KW>   <arg line="etc/jsm.properties | sed -f tools/jsmprops_sedscriptfile > application/server/log/jsm.properties"
/> 
 KW> </exec>

well, | sed ... is not really an arg to cat, is it? I haven't tried it
but I think

<exec executable="sh" dir=".">
  <arg value="-c" />
  <arg value="cat etc/jsm.properties | sed -f tools/jsmprops_sedscriptfile > application/server/log/jsm.properties"
/> 
</exec>

should work.

Stefan

Mime
View raw message