You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/04/18 03:11:29 UTC
DO NOT REPLY [Bug 41368] - Nested record tasks produces an empty output file
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=41368>.
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=41368
------- Additional Comments From greg.schueler@gmail.com 2007-04-17 18:11 -------
the problem is that taskdefs/Record.java uses a single static HashTable to hold RecordEntry objects. Then
it calls cleanup() in subBuildFinished(), which cleans out the static HashTable.
This is the wrong behavior, since as a static member it contains all RecordEntries across Project objects.
Seems like the correct behavior is to have a HashTable of RecorderEntry's on a per-Project-object basis.
(single refid per-project won't work either because the refid could get copied by <ant> task's inheritRefs
attribute.)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org