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 9661] New: - trailing spaces in property files read with <property>
Date Thu, 06 Jun 2002 12:24:13 GMT
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=9661>.
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=9661

trailing spaces in property files read with <property>

           Summary: trailing spaces in property files read with <property>
           Product: Ant
           Version: 1.5Beta2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: alex1979_18@yahoo.com


it would be very nice if ant made a trim for every property value that it reads
from a property file (<property> task). Currently also trailing spaces are read,
this can cost time to find out where the error/typo is...

steps to reproduce:

jars.ant:

property_name1=property_value1[trailing_space]

build.xml:

<property file="ant/jars.ant"/>

if you query the property ${property_name1} values, it will have a trailing space...

Thanks!

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message