DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12820>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12820

inheritRefs is broken





------- Additional Comments From [EMAIL PROTECTED]  2002-09-26 08:07 -------
Jake, what you see is the way it has to be in Ant 1.5 as far as I can tell.

<ant> needs to know which references have been defined in build-contrib.xml
in order to not override existing definitions,  therefore the build file has to
be parsed.

Ant 1.5's way of dealing with top level tasks is to execute them during parsing.
This means your taskdef gets executed, before <ant> adds the reference and you
get the error.  Putting it into a target, delays the execution until the
references have been set.

You may find that the same construct works with Ant 1.6alpha (or not) as the way
top-level tasks are handled are going to be changed, but we have not yet decided
how it is going to change.

Time for some documentation patches, I guess.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to