ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: How to get Ant task Id?
Date Tue, 01 Jul 2003 19:34:00 GMT
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:jakarta-ant@ehatchersolutions.com]
> 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message