ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: why can references only be defined at the target level?
Date Thu, 02 Nov 2000 08:25:47 GMT
>>>>> "JG" == Jay Glanville <dickon@nortelnetworks.com> writes:

 JG> Boy, when your subject line says it all ...

So I have less to quote 8-)

Basically the concept of references in Ant is supposed to be used just
like the one in XML. Each element in XML can have an attribute of the
ID type (this attribute has the name id in Ant build files) which has
one special property, it has to be unique in the document. 

So if references have to be unique - viewed from the document, not the
way Ant parses the document - they are global in scope by
definition. Putting them into targets would make them look something
different (just like putting <property> tags into targets led to very
counterintuitive situations in Ant 1.1).

Stefan

Mime
View raw message