You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tibor Strausz <Ti...@tridion.com> on 2002/08/13 16:36:11 UTC

skip target silent

when a target is called but net executed because it has an if clause there
is still the name of the target printed to the screen
example:
 <target name="a" if="run">
    <echo>Do stuf here</echo>
  </target>
if run is not set output will be:
a:
can i lose this output??

tibi 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: skip target silent

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
You can use the NoBannerLogger.

ant -logger org.apache.tools.ant.NoBannerLogger



Tibor Strausz wrote:
> when a target is called but net executed because it has an if clause there
> is still the name of the target printed to the screen
> example:
>  <target name="a" if="run">
>     <echo>Do stuf here</echo>
>   </target>
> if run is not set output will be:
> a:
> can i lose this output??
> 
> tibi 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>