ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [PATCH] Added "ant.target.name" property
Date Wed, 12 Sep 2001 02:18:06 GMT
On Wed, 12 Sep 2001 06:50, Kyle Adams wrote:
> > yup - encourages evil practices ;)
>
> Such as?

Most people who ask for it want it so that they can implement dynamic 
templating. 

> Seems fairly innocuous to me, but I'm admittedly new to the whole Ant
> thing.  I added it for our company's build so that the exact target that
> failed could be included in the alert e-mail sent to developers.  The
> impact on the code was fairly minimal for something that had significant
> benefits.

Why can't you grab this from the listener interface? (Which is the recomended 
way of doing this sorta stuff).

-- 
Cheers,

Pete

-------------------------------------------------------
To fight and conquer in all your battles is not supreme 
excellence; supreme excellence consists in breaking the 
enemy's resistance without fighting. - Sun Tzu, 300 B.C.
-------------------------------------------------------

Mime
View raw message