ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: VOTE: deferring resolving of references
Date Fri, 29 Sep 2006 16:03:44 GMT
+1

-Matt

----- Original Message ----
From: Peter Reilly <peter.kitt.reilly@gmail.com>
To: Ant Developers List <dev@ant.apache.org>
Sent: Friday, September 29, 2006 10:23:22 AM
Subject: VOTE: deferring resolving of references


Hi, I started a thead last week that did not end in a conclusion.
should we defer resolving references until runtime:
original message
"
Currently in ant, there is two steps in processing
a project build file, a parsing step and an execution
step. In the parsing step a DOM like structure of
Targets and UnknownElements are build up.
These targets and unknown elements are then processed
in the execution step. This model works quite ok.
One part that does not work like this is the processing
of the "id" attribute, these get processed at parsing
stage.

This has given rise to a lot of bugs and strange behaviour.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34458
http://issues.apache.org/bugzilla/show_bug.cgi?id=36955
http://issues.apache.org/bugzilla/show_bug.cgi?id=37688
http://issues.apache.org/bugzilla/show_bug.cgi?id=21724

This type of bug will happen more as people write
larger build files (or equivalate using lots of <import> and <macrodef>)
and use shared build files.

I propose that we defer handing id's until the processing
stage.
"
thread: http://marc.theaimsgroup.com/?t=115893367000004&r=1&w=2

Vote to include deferring for ant 1.7:
   Yes [  ]
   No [ ]

I will start with
  Yes [x]

Peter



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


Mime
View raw message