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=23153>. 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=23153 Filtering with filtersets adds line ending at end of file Summary: Filtering with filtersets adds line ending at end of file Product: Ant Version: 1.5.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If a text file that ends without a line ending is copied with a filterset in effect, then a line ending is added to the copy. This is a nuisance at least in my use case: I'm filtering resources that my unit tests load to compare against the output of the class I'm testing. The source code and the unit test resource both go through the same filter. The filter is for repackaging the source code into a different package tree, so the unit tests should pass whether or not the filter has been applied. As it stands, I get a unit test failure in the filtered version, because the extra line ending constitutes a mismatch between expected and actual output. This calls for special-case handling, which is inconvenient, yada yada. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
