You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mario Manfre <Ma...@PGAS.com> on 2004/02/20 17:06:50 UTC
Hide a task name
I've created a target which I call using an antcall but I would like to not have the target displayed in the output. Is there a way to not have the antcalled target displayed.
Here is the example
<target name="fetchingSource">
<antcall target="SourceGet">
<param name="title" value="Folder /Data"/>
<param name="fetch.to" value="${fetch.dir}/Data"/>
<param name="vss.from" value="${ss.root}/application1/Data"/>
</antcall>
</target>
<target name="SourceGet">
<echo></echo>
<echo message="---------------------------------------------------------------"/>
<echo message=" Fetching ${title} "/>
<echo message="---------------------------------------------------------------"/>
<tstamp prefix="clock"><format property="time" pattern="MM/dd/yyyy hh:mm:ss aa"/></tstamp>
<echo message="Current Time : ${clock.time}"/>
<vssget localPath="${fetch.to}"
recursive="true"
ssdir="${vss.ssdir}"
vsspath="${vss.from}"
writable="false"
label="${ss.label}"/>
<echo></echo>
<tstamp prefix="clock"><format property="time" pattern="MM/dd/yyyy hh:mm:ss aa"/></tstamp>
<echo message="Current Time : ${clock.time}"/>
</target>
output is
fetch:
SourceGet:
[echo] ---------------------------------------------------------------
[echo] Fetching Folder /Data
[echo] ---------------------------------------------------------------
I'd like it to just be
fetch:
[echo] ---------------------------------------------------------------
[echo] Fetching Folder /Data
[echo] ---------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org