You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/02/22 11:09:52 UTC

DO NOT REPLY [Bug 25770] - [PATCH] FixCRLF "preserveLastModified"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25770>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25770


hsommer@eso.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsommer@eso.org




------- Additional Comments From hsommer@eso.org  2005-02-22 11:09 -------
I would like to add moral support for this enhancement request. Here's our 
case: 
we want to use ANT files to apply our own patches to several open-source 
projects during an automated build. The source code gets unpacked on the fly 
from the original .tar, .zip etc files.

The build is done on Linux, but some sources have Windows CRLF line endings, 
which breaks the patch program (both <patch> task and commandline).

Therefore we need to run <FixCRLF> between unpacking and patching. 
Unfortunately, at the moment this changes the original file date, and we are 
forced to call the native 'dos2unix -k' instead of using <FixCRLF>.

The requested additional 'preserveLastModified' attribute of FixCRLF would 
allow us to stay within ANT and no longer call the dos2unix executable. 


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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