ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: javac task
Date Mon, 11 Nov 2002 15:49:55 GMT
Or instead of using <record>/<loadfile>, either:

1) Don't use the echo, and let Javac speak for itself...
   If it doesn't compile anything, it doesn't say anything.
   This fact, combined with NoBannerLogger makes for an uncluttered
   output when nothing is compiled.

2) Modify NoBannerLogger to postpone an <echo> until another task
   of the same target outputs something. Not that great...

I use technique number one myself. Cheers, --DD

-----Original Message-----
From: David McTavish [] 
Sent: Monday, November 11, 2002 8:52 AM
To: 'Ant Users List'
Subject: RE: javac task

I want to suppress an echo message if no files were ever compiled.

-----Original Message-----
From: Diane Holt [] 
Sent: Monday, November 11, 2002 2:03 AM
To: Ant Users List
Subject: Re: javac task

--- David McTavish <> wrote:
> Is there anyway to determine whether the javac task actually compiles 
> classes or not?

Well, it outputs that information as part of its normal running. What are
you looking to do?


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

View raw message