ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Voigt" <>
Subject Re: Re: Problems with upgrade to Ant 1.7.0 RC1 and Java 1.5
Date Thu, 07 Dec 2006 09:54:26 GMT

-------- Original-Nachricht --------
Datum:  Wed, 6 Dec 2006 23:04:57 +0000
Von: "Peter Reilly" <>
An: "Ant Users List" <>
Betreff:  Re: Problems with upgrade to Ant 1.7.0 RC1 and Java 1.5

> On 12/5/06, Thomas Voigt <> wrote:
> > (1) Logfiles are emptied on the stop command. More precisely, I have a
> target that looks like this:
> >
> > [begin target]
> > <record name="${JavaLog}" action="start" loglevel="info"/>
> > [some antcalls and antcallbacks that produce output]
> > <record name="${JavaLog}" action="stop"/>
> > [do something with the log file and end target]
> >
> > After this call, the log file is empty. If I either fail just before the
> "stop", or remove the "stop" command, then everything is fine. The code
> works fine with ant 1.6.5, but does not work with Ant 1.7.0RC1 regardless of
> the Java version (1.4.2_06 or jdk1.5.0_09).
> Can you provide a small complete build file that shows
> the problem please?

Unfortunately not. I couldn't reproduce the problem with a small dummy buildfile, and I'm
afraid at the moment there is simply not enough time to check out what exactly causes the
problem. It's on my to-do-list though.

BTW, I do have a similar problem with our complete build. During the build (several hours
worth of stuff including Java, C++, localization, CVS tagging, whatever) the log file (same
call as above, record from beginning to end on info level) grows nicely and contains the output.
After the build I end up with 8MB of zero bytes in the logfile, and a single line stating
"BUILD SUCCESSFUL" at the end...

Regards, Thomas

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN:

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

View raw message