ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <>
Subject RE: Re setting a variable to a new value.
Date Mon, 26 May 2008 14:31:17 GMT

yes Properties are immutable
I think ant-optional has a mutable variable try
HTHMartin ______________________________________________Disclaimer and confidentiality noteEverything
in this e-mail and any attachments relates to the official business of Sender. This transmission
is of a confidential nature and Sender does not endorse distribution to any party other than
intended recipient. Sender does not necessarily endorse content contained within this transmission.>
Date: Mon, 26 May 2008 12:11:06 +0200> From:> To:>
Subject: Re setting a variable to a new value.> > I need to re set a variable to a new
value during the execution of an> Ant script.> > From what I understand, this cannot
be done by using the property command e.g.> > <property name="component" value="initial
value"/>> .> .> .> .> <property name="component" value="new value"/>>
> I have tryed using the var command e.g.> > <var name="component" value="" value="initial
value"/>> .> .> .> .> <var name="component" value="" value="initial value"/>>
> even placing a <var name="src.dir" value="" unset="true"/> between yet> I get
the message> > Problem: failed to create a task or type var> Cause: The name is undefined.>
Action: Check the spelling.> Action: Check that any custion tasks/types have been declared.>
Action: Check that any <presetdef>/macrodef> declarations have taken place.> >
Please could someone make a suggestion.> > --------------------------------------------------------------------->
To unsubscribe, e-mail:> For additional commands, e-mail:> 
E-mail for the greater good. Join the i’m Initiative from Microsoft. GreaterGood
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message