thank you.
i realize this ought to be an ant-user post.  my mistake.  sorry for
littering this group.

-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2001 3:50 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: property setting


--- "J. Michael Caine" <[EMAIL PROTECTED]> wrote:
> why does "message = red" always get printed here?  shouldn't "message =
> green" be printed?
>
> <project name="test">
>       <property name="color" value="red"/>
>       <target name="bogus">
>               <property name="color" value="green"/>
>               <echo message="message = ${color}"/>
>       </target>
> </project>

Nope -- once a property is set, it can't be reset, except when using the
<antcall>/<ant> tasks. See the doc for info on those tasks.

P.S. This type of question should really go to ant-user.

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to