ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: Deleting properties
Date Thu, 14 Feb 2002 11:58:30 GMT

If you're planning on deleting them from the latest codebase, you're going
to run into trouble.  Project.getProperties and .getUserProperties both
return a clone of the original and deleting from there will have no effect
on the real properties.

I'm of the opinion that properties should be immutable once set, but whether
allowing the removal of a property is perhaps a different story.  Thoughts?


----- Original Message -----
From: "Martin van den Bemt" <>
To: "jakarta-ant-dev" <>
Sent: Thursday, February 14, 2002 6:09 AM
Subject: Deleting properties

> Hi,
> I looked at the and it doesn't contain any methods for
> or deleting properties (setProperty(String, String). I would like to see
> the second parameter is null, the property will be deleted.
> Is this a possibility already and am I missing something or is this
> intentionally not present ?
> For this I am writing a custom task right now, but it probably is better
> put this in
> Mvgr,
> Martin
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

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

View raw message