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
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