ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <y...@digiworks.tv>
Subject RE: Proper use of <uptodate> (a little off-topic)
Date Thu, 20 Dec 2001 19:29:11 GMT

> 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>


Mime
View raw message