You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Martin Gainty <mg...@hotmail.com> on 2004/07/30 19:23:25 UTC
Rant on immutable properties
Hello All
I have need to set the value of a property based on user input
but cannot do so because properties are immutable?
Is there a workaround?
thanks,
Martin Gainty
(cell) 617-852-7822
_________________________________________________________________
Overwhelmed by debt? Find out how to Dig Yourself Out of Debt from MSN
Money. http://special.msn.com/money/0407debt.armx
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Rant on immutable properties
Posted by Dale Anson <da...@germane-software.com>.
Just curious -- why do you need an integer property/variable?
Dale
mail.laconiadatasystems.com wrote:
> Yes that is what I am using now-
> But I need an integer property/variable
> Thanks,
> Martin
> ----- Original Message -----
> From: "Rhino" <rh...@sympatico.ca>
> To: "Ant Users List" <us...@ant.apache.org>
> Sent: Monday, August 02, 2004 8:53 AM
> Subject: Re: Rant on immutable properties
>
>
>
>>----- Original Message -----
>>From: "Martin Gainty" <mg...@hotmail.com>
>>To: <us...@ant.apache.org>
>>Sent: Friday, July 30, 2004 1:23 PM
>>Subject: Rant on immutable properties
>>
>>
>>
>>>Hello All
>>>
>>>I have need to set the value of a property based on user input
>>>but cannot do so because properties are immutable?
>>>
>>>Is there a workaround?
>>>
>>
>>Have you considered the 'input' core task? You could ask the user to
>
> supply
>
>>a value while the script executes and use the returned value in your
>
> script.
>
>>Rhino
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Rant on immutable properties
Posted by "mail.laconiadatasystems.com" <we...@laconiadatasystems.com>.
Yes that is what I am using now-
But I need an integer property/variable
Thanks,
Martin
----- Original Message -----
From: "Rhino" <rh...@sympatico.ca>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Monday, August 02, 2004 8:53 AM
Subject: Re: Rant on immutable properties
>
> ----- Original Message -----
> From: "Martin Gainty" <mg...@hotmail.com>
> To: <us...@ant.apache.org>
> Sent: Friday, July 30, 2004 1:23 PM
> Subject: Rant on immutable properties
>
>
> > Hello All
> >
> > I have need to set the value of a property based on user input
> > but cannot do so because properties are immutable?
> >
> > Is there a workaround?
> >
> Have you considered the 'input' core task? You could ask the user to
supply
> a value while the script executes and use the returned value in your
script.
>
> Rhino
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Rant on immutable properties
Posted by Rhino <rh...@sympatico.ca>.
----- Original Message -----
From: "Martin Gainty" <mg...@hotmail.com>
To: <us...@ant.apache.org>
Sent: Friday, July 30, 2004 1:23 PM
Subject: Rant on immutable properties
> Hello All
>
> I have need to set the value of a property based on user input
> but cannot do so because properties are immutable?
>
> Is there a workaround?
>
Have you considered the 'input' core task? You could ask the user to supply
a value while the script executes and use the returned value in your script.
Rhino
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org