From 015ec69fd10eda4f947c101cb73fd9edf1ed7cf0 Mon Sep 17 00:00:00 2001
From: Matthew Jason Benson
Date: Thu, 3 Mar 2005 16:24:26 +0000
Subject: [PATCH] Add preservelastmodified attribute to fixcrlf. PR: 25770
Submitted by: Yuji Yamano
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277778 13f79535-47bb-0310-9956-ffa450edef68
---
WHATSNEW | 2 ++
docs/manual/CoreTasks/fixcrlf.html | 8 ++++++-
src/etc/testcases/taskdefs/fixcrlf/build.xml | 24 +++++++++++++++++++
.../apache/tools/ant/taskdefs/FixCRLF.java | 14 +++++++++++
.../tools/ant/taskdefs/FixCrLfTest.java | 6 ++++-
5 files changed, 52 insertions(+), 2 deletions(-)
diff --git a/WHATSNEW b/WHATSNEW
index 8a86a74ac..0fbf10cbf 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -241,6 +241,8 @@ Other changes:
* Pathconvert no longer requires that one of (targetos|pathsep|dirsep)
be set; platform defaults are used when this is the case.
+* Added preservelastmodified attribute to fixcrlf task. Bugzilla 25770.
+
Fixed bugs:
-----------
diff --git a/docs/manual/CoreTasks/fixcrlf.html b/docs/manual/CoreTasks/fixcrlf.html
index 78ff157dd..a33166497 100644
--- a/docs/manual/CoreTasks/fixcrlf.html
+++ b/docs/manual/CoreTasks/fixcrlf.html
@@ -231,6 +231,12 @@ supports all attributes of <fileset>
of a processed file. (Since ant 1.6.1)
No - default is true |
+
+ preservelastmodified |
+ Whether to preserve the last modified
+ date of source files. Since ant 1.6.3 |
+ No; default is false |
+
Examples
<fixcrlf srcdir="${src}"
@@ -283,7 +289,7 @@ EOF characters are left alone if run on
DOS systems, and are removed if run on Unix systems.
You never know what editor a user will use to browse README's.
-Copyright © 2000-2004 The Apache Software Foundation. All rights
+
Copyright © 2000-2005 The Apache Software Foundation. All rights
Reserved.