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 19343] - PropertyFile - property value wrapping option
Date Mon, 28 Apr 2003 05:23:01 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=19343>.
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=19343

PropertyFile - property value wrapping option

jan@materne.de changed:

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



------- Additional Comments From jan@materne.de  2003-04-28 05:23 -------
Exactly that works. (Without the trailing backslash).

build.xml
---------
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="test" basedir="." default="main">
    <target name="main">
        <property file="build.properties"/>
        <echo>${foo}</echo>
    </target>
</project>

build.properties
----------------
foo=bbbbbbbbbbbbbbbbbbbbbbbb\
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa\
aaaaaaaaaaaaaaaaaaaaaaaaaaaa\
rrrrrrrrrr

output
------
Buildfile: build.xml

main:
     [echo] 
bbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
arrrrrrrrrr

BUILD SUCCESSFUL
Total time: 0 seconds

Mime
View raw message