You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Yan Lin <yl...@yahoo.com> on 2004/03/13 23:40:48 UTC

Is property in Ant global?

Hi,

I run into following senario:

I have two ant files A and B, which locates in different directories and deals with java files in
different directories as well.  

In both files, at the beginning, I set properties like "src.dir", "bin.dir" etc. which set to
different directories.  Since they are in different files, I use the same property names.   

File A needs to call file B.  However, it turns out that when file A calls file B, file B will
confuse the properties set by file A with its own ones.

I wonder why.  Any help is welcomed!

Thanks in advance!

Gloria

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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