From user-return-58228-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Oct 04 03:48:57 2006 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 43736 invoked from network); 4 Oct 2006 03:48:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 03:48:57 -0000 Received: (qmail 72482 invoked by uid 500); 4 Oct 2006 03:48:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 71704 invoked by uid 500); 4 Oct 2006 03:48:53 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 76223 invoked by uid 99); 3 Oct 2006 15:54:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Message-ID: <012101c6e704$36126b20$38379883@cs.unibas.ch> From: =?iso-8859-1?Q?Thorsten_M=F6ller?= To: Subject: Synchronisation of diretories under version control Date: Tue, 3 Oct 2006 17:54:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-SMTP-Vilter-Version: 1.3.1 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, My problem is that I want to synchronise arbitrary source directories with a target dir which is under version control by SVN. This means that in the target dir and each sub dir a directory ".svn" exists which must remain after synchronisation. However, when I use the task those SVN directories will be deleted since they do not exist in the source dir. As a result, the SVN working copy (which is the target dir) gets destroyed since all .svn directories are deleted during sync. Does anybody has an idea how to proceed? My idea was to copy all .svn dirs to a temp dir before sync and move them back after sync but unfortunately a simple copy like below doesn't do anything since won't get selected by the filesets probably because their name starts with "." (note that I'm working on a NTFS filesystem). Thanks, Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org