ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55751] New: Description of filesmatch textfile attribute behavior is wrong
Date Wed, 06 Nov 2013 23:14:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55751

            Bug ID: 55751
           Summary: Description of filesmatch textfile attribute behavior
                    is wrong
           Product: Ant
           Version: 1.9.2
          Hardware: PC
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: notifications@ant.apache.org
          Reporter: fadookie@gmail.com

Created attachment 31018
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31018&action=edit
File with unix linebreaks

In the documentation for the filesmatch condition at
https://ant.apache.org/manual/Tasks/conditions.html#filesmatch

It says the following regarding the textfile attribute:
"Whether to ignore line endings when comparing files; defaults to false, while
true triggers a binary comparison. Since Ant 1.7"

This is wrong based on my empirical testing of ant 1.9.2. I believe when
textfile is set to false, it performs a binary comparison. When it's set to
true, it appears to ignore newlines. This makes more sense given the name of
the attribute.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message