--- "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