ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james terry <>
Subject Re: Echo should happen only once
Date Fri, 04 May 2001 14:32:48 GMT
You could perhaps use System.out.println() from w/in the buildListener.

On Friday 04 May 2001 03:42, Pawan Kumar Katharikuppam wrote:
> Hi,
> After a task is executed I always have a 'echo' task which prints a message
> that the task is successful. Later when other tasks which depend this task
> are executed, the message in the former task is echoed again. For example,
> if I have two targets one for compilation, and another a jar file creation
> target that depends on the compilation target. In the compilation target,
> after I call 'javac' task, I print a message saying that the compilation
> was successful. Now, when the jar file creation target is executed after
> the compilation target, the control again goes to the compilation target
> and then it prints the message again that the compilation was successful.
> Is there a simple way by which I can avoid these repeated echoes?
> Thanks in advance.
> Pawan

View raw message