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=28340>. 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=28340 Request Trim Attribute on Property Task Summary: Request Trim Attribute on Property Task Product: Ant Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] For properties being loaded from a properties file, it would be very useful to have a trim attribute that would trim all whitespace from the property value (a simple Java 'String.trim()'). For instance, if you want to load "foo.properties" without potential trailing whitespace problems: <property resource="foo.properties" trim="true" /> If there were a property line "prop.a=dist ": (a) With trim set to true, Ant would interpret this as "prop.a=dist" without the spaces. (b) With trim set to false, or missing, Ant would interpret this as it currently does as "prop.a=dist ". --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]