ant-user mailing list archives

> 2) Can <echo> be put inside a <task>? I didn't see an answer to
> this before, but a test showed that it couldn't. What I'm trying
> to achieve is some feedback to System.out only if a task is executed:
>
> <javac ...>
> <echo message="Compiling ..." />
> ...
> </javac>
>
> Is there a way to do that?
No echo can not be put inside a task, as it's a task on it's own. But you
can put it right before the task :)
...
<echo massage="Compiling..."/>
<javac..../>
<echo message="Compilation finished"/>
Does that help?
Ylan.
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>