From a7255e1083188ad42d0af418a18e9d1b764d2fa7 Mon Sep 17 00:00:00 2001 From: Diane Holt Date: Sun, 14 Apr 2002 16:36:23 +0000 Subject: [PATCH] Add note wrt case issues on Windows. (PR 6694) git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272419 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/copy.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/manual/CoreTasks/copy.html b/docs/manual/CoreTasks/copy.html index bb9e87b80..e7d9e34d7 100644 --- a/docs/manual/CoreTasks/copy.html +++ b/docs/manual/CoreTasks/copy.html @@ -158,12 +158,21 @@ in all files.

Unix Note: File permissions are not retained when files -are copied; they end up with the default UMASK permissions instead. This +are copied; they end up with the default UMASK permissions +instead. This is caused by the lack of any means to query or set file permissions in the current Java runtimes. If you need a permission-preserving copy function, -use <exec executable="cp" ... > instead. +use <exec executable="cp" ... > instead. +

-

Copyright © 2001,2002 Apache Software Foundation. +

Windows Note: If you copy a file to a directory +where that file already exists, but with different casing, +the copied file takes on the case of the original. The workaround is to +delete +the file in the destination directory before you copy it. +

+ +

Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.