ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: How can I append files from exec?
Date Fri, 20 Oct 2000 12:18:57 GMT
>>>>> "JA" == Johan Adelöw <> writes:

 JA> Is there some way to append to a file when using the exec target

No, none at the moment.

 JA> Ive tried to do like this

 JA> <exec executable="sh" dir="${exec_dir}./" output="${os_log}"
 JA>       failOnError="true"> 
 JA>    <arg value="&quot;cat ${tmplogfile}: &gt;&gt; ${logfile}&quot;"/>
 JA> </exec>

 JA> When I do like this (on linux) the cat command isn't executed.

because there is a <arg value="-c" /> missing (as the first arg).

You don't need to specify the output attribute in the cat case BTW.


View raw message