Ant normally displays each task it is executing, so the delete task will say [delete]. Have you tried running Ant with the -quiet switch? That should remove all the standard messages except for warnings.
You can also look at the various loggers. For example, there's a log4j listener that will allow you to define each and every type of task and whether or not to report it. See: http://ant.apache.org/manual/listeners.html for more information. On Wed, Sep 30, 2009 at 5:03 AM, EetieD <[email protected]> wrote: > > Is there a way not to display the message 'deleting a file...' when Apache > ANT is actually deleting a file? > > When I do this: <delete file="d:\pro.txt" verbose="false" quiet="true" /> > I see the message: [delete] Deleting: d:\pro.txt... > > For the product flow, it shouldn't display this message because of the > clarity. > > I hope someone can help me. Thanks! > > > -- > View this message in context: > http://www.nabble.com/not-to-display-message-%27deleting...%27-tp25677401p25677401.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- David Weintraub [email protected]
