Setting an explicit ID to the task is usually only used to be able to
reference that task from a <script>. --DD

> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 01, 2003 2:06 PM
> To: Ant Developers List
> Subject: Re: How to get Ant task Id?
> 
> 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.
> 
>       Erik
> 
> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to