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 [mailto:dmctavish@;SANDVINE.com] 
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 [mailto:holtdl@;yahoo.com] 
Sent: Monday, November 11, 2002 2:03 AM
To: Ant Users List
Subject: Re: javac task


--- David McTavish <[EMAIL PROTECTED]> 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?

Diane

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to