ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Allers" <>
Subject RE: any way to append to a logfile?
Date Tue, 11 Mar 2003 21:58:43 GMT
I don't think there is a way of appending to a log file.

Multiple targets can be run in one ant call.

ant [target [target2 [target3] ...]]

You can also have a target call multiple targets.

<target name="toptarget">
	<antcall target="target" />
	<antcall target="target2" />
	<antcall target="target3" />

Multiple build files can be run by one build file.

<target name="callotherbuilds">
	<ant dir="otherbuild" />
	<ant dir="otherbuild2" />
	<ant dir="otherbuild3" />

-----Original Message-----
From: Nolan Ring [mailto:Nolan.Ring@Sun.COM] 
Sent: Tuesday, March 11, 2003 1:32 PM
Subject: any way to append to a logfile?


Is there anyway to have ant append to a logfile rather than overwrite

I have a script that runs ant several times, each time running a 
different target.  I would like
to have all of the output in one file but, so far, ant is simply 
overwriting the logfile each time
so I only end up with output from the last run.

Thanks much.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message