ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: Retrieving target name at runtime.
Date Fri, 25 Jan 2002 22:21:45 GMT
From: "Tran, Khiet" <>
To: <>
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("");

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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message