On Windows, I am copying a file which has lineendings ending \n, using a 
filterset.
The output has \r\n as line endings. (Actually, I am using cygwin; the CVS 
client of cygwin retrieves files coming from ant's CVS with \n and not \r\n as 
line ending.)


This is similar to the bug report of Peter Reilly "copy with filtering modifies 
line endings"
http://issues.apache.org/bugzilla/show_bug.cgi?id=18476

Now, in this bug report, Peter wrote "I can sort of understand why copying with 
filtersets modifies line endings".

Do we want to leave it that way, or do we want to slightly change the 
implementation of copying with filtersets, so that the line endings of the 
original files are preserved ?

Currently, I have the corresponding test FilterSetTest failing under cygwin, 
which is bad. (I am after failing tests under Windows, including under the 
combination Windows/cygwin).


Cheers,

Antoine

Reply via email to