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=4752>. 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=4752 Make Ant report an error when an undefined property is referenced. Summary: Make Ant report an error when an undefined property is referenced. Product: Ant Version: 1.4.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It would be nice if Ant could report an error and stop the script if it encounters a reference to an undefined property. Currently, scripts that reference an undefined property can silently fail due to an undefined property. For example: <mkdir dir="${directory.dir}"/> will create a directory named '${directory.dir}' if directory.dir was not defined. This is not what a script writer would have intended. I realize you could use a separate target to validate the existance of a property and fail if it is not defined. However, this extra step should not be needed and references to undefined properties should always be errors. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
