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 41642] - loadfile does not set property if resulting value is an empty string
Date Fri, 16 Mar 2007 11:50:55 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=41642>.
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=41642


jan@materne.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jan@materne.de  2007-03-16 04:50 -------
I had a look at that. LoadFile extends LoadResource. And there it is explicitly
programmed. So I have documented that.


LoadResource:0183:             if (text != null) {
LoadResource:0184:                 if (text.length() > 0) {
LoadResource:0185:                     getProject().setNewProperty(property, text);
LoadResource:0186:                     log("loaded " + text.length() + "
characters",
LoadResource:0187:                         Project.MSG_VERBOSE);
LoadResource:0188:                     log(property + " := " + text,
Project.MSG_DEBUG);
LoadResource:0189:                 }
LoadResource:0190:             }


-- 
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


Mime
View raw message