How to get Ant task Id?

2003-07-01 Thread Mazzolini, Mike
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.

Re: How to get Ant task Id?

2003-07-01 Thread Erik Hatcher
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

RE: How to get Ant task Id?

2003-07-01 Thread Dominique Devienne
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