ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: How to get Ant task Id?
Date Tue, 01 Jul 2003 19:05:52 GMT
You can use the taskName attribute on tasks to set a different name for 
logging purposes.  Use getTaskName() in your listener/logger to access 
this name.  There is no id automatically assigned by Ant, its set via 
the build file writer if you so choose.


On Tuesday, July 1, 2003, at 02:05  PM, Mazzolini, Mike wrote:

> 	According to the Ant book, I have, it indicates that Ant generates
> an Id for each task that it performs.  However, I can't seem to get my 
> hands
> on this Id.  I need it to determine what task has actually finished 
> when
> there is more than one task with the same name.  Any ideas?
> Thanks.
> --------------------------------
> Mike Mazzolini
> - If you think you can or you think you can't, you're right!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message