You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Rajiv Jaitly <Ra...@lchclearnet.com> on 2005/02/25 14:41:06 UTC

ant property

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please read the disclaimer at the bottom of this e-mail.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hi,

Is there any was in Ant to reset (assign a new value) a property that was set previously ? As i understand ant properties are immutable, I do not want to set up a new property name every time i want to change the value.

Thanks

Raj


**********************************************************************
This email is intended for the named recipient(s) only. Its contents
are  confidential and may only be retained by the named recipient(s)
and may only be copied or  disclosed  with the consent of 
LCH.Clearnet Limited.   If you are not an intended recipient please
delete this e-mail and notify postmaster@lchclearnet.com.

The contents  of this  email are  subject to  contract in all cases, 
and LCH.Clearnet Limited makes no contractual commitment save where
confirmed by hard copy.  LCH.Clearnet Limited accepts no liability, 
including liability for negligence, in respect of any statement in 
this email.

LCH.Clearnet Limited, Registered Office: Aldgate House, 
33 Aldgate High Street, London EC3N 1EA.    Recognised as a Clearing 
House under the Financial Services & Markets Act 2000. Reg in England No.25932 
Telephone: +44 20 7426 7000              Internet: http://www.lchclearnet.com
**********************************************************************


Re: ant property

Posted by James Fuller <ji...@ruminate.co.uk>.
Rajiv Jaitly wrote:

>++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Please read the disclaimer at the bottom of this e-mail.
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>Hi,
>
>Is there any was in Ant to reset (assign a new value) a property that was set previously ? As i understand ant properties are immutable, I do not want to set up a new property name every time i want to change the value.
>  
>
maybe you could briefly describe your specific scenario....we might be 
able to suggest a solution with immutable properties that in the long 
run is perhaps more applicable....

gl, Jim Fuller

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ant property

Posted by "Sujeet Banerjee (Ext. 3283)" <su...@persistent.co.in>.
Hello Rajiv

You can't reset prop-values. You can, however, override them. Call your
target using antcall with the attribute inheritAll="false". Now within the
target override the values by reassigning them with new values.

- Sujeet

----- Original Message ----- 
From: "Rajiv Jaitly" <Ra...@lchclearnet.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Friday, February 25, 2005 7:11 PM
Subject: ant property


++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please read the disclaimer at the bottom of this e-mail.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hi,

Is there any was in Ant to reset (assign a new value) a property that was
set previously ? As i understand ant properties are immutable, I do not want
to set up a new property name every time i want to change the value.

Thanks

Raj


**********************************************************************
This email is intended for the named recipient(s) only. Its contents
are  confidential and may only be retained by the named recipient(s)
and may only be copied or  disclosed  with the consent of
LCH.Clearnet Limited.   If you are not an intended recipient please
delete this e-mail and notify postmaster@lchclearnet.com.

The contents  of this  email are  subject to  contract in all cases,
and LCH.Clearnet Limited makes no contractual commitment save where
confirmed by hard copy.  LCH.Clearnet Limited accepts no liability,
including liability for negligence, in respect of any statement in
this email.

LCH.Clearnet Limited, Registered Office: Aldgate House,
33 Aldgate High Street, London EC3N 1EA.    Recognised as a Clearing
House under the Financial Services & Markets Act 2000. Reg in England
No.25932
Telephone: +44 20 7426 7000              Internet:
http://www.lchclearnet.com
**********************************************************************



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org