ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: copy with filtersets modifies lineendings
Date Wed, 25 Jun 2003 08:27:56 GMT
I meant that filterset has always modified the
line endings. However this may be unintended behaviour.

Peter.

On Tue, 2003-06-24 at 22:48, Antoine Levy-Lambert wrote:
> 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


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


Mime
View raw message