ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Adelöw <>
Subject How can I append files from exec?
Date Fri, 20 Oct 2000 13:06:30 GMT
Is there some way to append to a file when using the exec target

Ive tried to do like this 

<echo message="@${exec_file}" file="${logfile}" append="true"/>
		<exec executable="sqlplus" dir="./" output="${tmplogfile}"
			<arg value="@${exec_file}"/>
<exec executable="sh" dir="${exec_dir}./" output="${os_log}"
	<arg value="&quot;cat ${tmplogfile}: &gt;&gt; ${logfile}&quot;"/>

When I do like this (on linux) the cat command isn't executed. Is there some
other way to achive this functionality.  

I realy would have wanted is that the <exec> task had a append alternative
for the output statement in order to append to a logfile.


Direct: +46-8-678 80 60
Mobile: +46-70-563 13 97
Office: +46-8-4403860 (Always open)
Home page:

View raw message