ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weller <dgwel...@yahoo.com>
Subject Re: "depends" gets executed before "if"
Date Sat, 02 Sep 2000 15:55:59 GMT
It cannot be overemphasized that Ant buildfiles are XML files, NOT programs. 
The concept of "scoping" in buildfiles is very different from normal
programming.

The entire XML file is parsed from the beginning.  Even when you call an
embedded "ant" task, it's parsed, but it _appears_ to overwrite a property
because it's an entirely new DOM tree...

Does that make sense, or would it help to have an example?


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message