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 2003/07/14 21:53:27 UTC
DO NOT REPLY [Bug 21583] New: -
If first attribute continues to multiple lines then section does not exists
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=21583>.
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=21583
If first attribute continues to multiple lines then section does not exists
Summary: If first attribute continues to multiple lines then
section does not exists
Product: Ant
Version: 1.5.3
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Other
AssignedTo: dev@ant.apache.org
ReportedBy: havrda@yahoo.com
In a section other than main. If your first attribute continues on multiple
lines then there are problems adding the section. To fix this you can go to
the Section.read(BufferedReader reader). In the while(true) loop add a line
that asks if attributes.keySet().size() == 1. If it is then set the attribute
to the first and only attribute. If you do not then the attribute will be
incorrectly null. The Manifest(Reader reader) function is the one who creates
the firstAttribute. Therefore the Section.read(reader) knows nothing about it
and incorrectly sets the current to null.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org