ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29930] - some thing like static blocks of java
Date Tue, 21 Sep 2004 08:57:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29930>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29930

some thing like static blocks of java

peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Enhancement



------- Additional Comments From peterreilly@apache.org  2004-09-21 08:57 -------
In the example you gave you use an <antcall> to
call the "init". An <antcall> sets up a new project
with its own set of targets and target dependency resolution,
so of course the "init" gets run again. (In ant terms an <antcall>
is the moral equalivant of a goto - see http://www.acm.org/classics/oct95/)

There is IMO a need to have a onceonly block, target or task
that would be called only once - see:
http://marc.theaimsgroup.com/?l=ant-dev&m=108331661709918&w=2
so I will mark this an an enchancment request.

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


Mime
View raw message