From: "Tran, Khiet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 5:01 PM
Subject: FW: Retrieving target name at runtime.
This particular issue has been vetoed by ant-dev numerous times, so its
unlikely it will be accepted this time.
> project.getProperties().remove("ant.target.current.name");
And besides, this particular piece of code is evil for a couple of reasons:
1) it goes around the property handling mechanism in Project and 2) in the
current CVS versions of Ant the getProperties call returns a copy of the
properties so they are not mutable the collection returned by getProperties.
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>