ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin" <mgai...@hotmail.com>
Subject Re: unset a property of a project.
Date Fri, 06 Sep 2002 12:53:36 GMT
Detlef-
Have you looked at setting a property using <condition> or <available>?
The property can be set to true/false based on conditions or availability to
underlying resource..
-Martin

----- Original Message -----
From: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Wednesday, February 05, 2003 11:43 AM
Subject: Re: unset a property of a project.


> No, you cannot unset a property.
>
> Do you have a reasonable use-case that explains why you'd need such a
> thing?  To date, I've yet to see a scenario that could not be
> accomplished some other (usually cleaner) way.
>
> Erik
>
> On Wednesday, February 5, 2003, at 10:31  AM, detlef.brendle@canoo.com
> wrote:
>
> > Hi,
> >
> >
> > is there a way to easily unset a property within a project ?
> >
> >
> >
> >
> > As with Ant1.5 the getProperties() returns a copy of the hashtable I
> > cannot
> >
> >
> > see a elegant way to do this.
> >
> >
> >
> >
> >
> >
> > any suggestions `?
> >
> >
> >
> >
> >
> >
> > thanks,
> >
> >
> > detlef
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: ant-dev-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
>

Mime
View raw message