Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 62364 invoked from network); 24 Jun 2010 15:50:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 15:50:56 -0000 Received: (qmail 45069 invoked by uid 500); 24 Jun 2010 15:50:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44393 invoked by uid 500); 24 Jun 2010 15:50:52 -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 44377 invoked by uid 99); 24 Jun 2010 15:50:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 15:50:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antuser@gmail.com designates 209.85.161.45 as permitted sender) Received: from [209.85.161.45] (HELO mail-fx0-f45.google.com) (209.85.161.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 15:50:44 +0000 Received: by fxm9 with SMTP id 9so4657070fxm.4 for ; Thu, 24 Jun 2010 08:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=brEzn25t6qpVGIyOR9E9r6RZgjVI/ABqtvYtdG3OirY=; b=SqWzEPGG4VeyYKM+mif/nolwXW3eFUNI+kCIGN+xhHZztvpF3r5+oH4h4iZtSakXJM n1rZcHWmEfIGAnaNHKlYGISvJPn22W3OHXp9g8FDDfZvl2xXDrl+KKFoQxBzE7s8XTll q4n5PVGhSCf9n09BkoTxkL9Q8Z6g9VPmZ1DhU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EOjhRhwKsuvPhMuwjD6xxy6pNv7AmTBRzsLnWnKkSwtnaO26fdeVxv5gIFwbzegd3g vgAQ/5OE2yVwPU6P8CGea8P7FKoYmcl+O+WZMTXbroQfQCVFVkAh2AGDLvojcYwAugNX Y1hZ5/AoqQxb8GM5YkSEzJ42aHOT7ffPeRPdk= MIME-Version: 1.0 Received: by 10.223.99.78 with SMTP id t14mr9614678fan.85.1277394623486; Thu, 24 Jun 2010 08:50:23 -0700 (PDT) Received: by 10.223.106.212 with HTTP; Thu, 24 Jun 2010 08:50:23 -0700 (PDT) Date: Thu, 24 Jun 2010 17:50:23 +0200 Message-ID: Subject: Copying a static list of files From: Patrick Martin To: Ant User Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I want to copy a big number of files located on a remote server. To avoid scanning the remote directory, I use a locally generated list of absolute file names in a file called fileList.txt. So my fileList.txt contains something like: \\machine\share\dir1\dir2\file1.ext \\machine\share\dir1\dir2\file with spaces.ext \\machine\share\dir1\dir2\an other one.ext \\machine\share\dir1\file3.ext Now I want to copy some content of \\machine\share\dir1\dir2 in a target folder (eg file*.ext). I first thought of using filelist, but I get into problems with spaces in file names. ..... Then I tried to use the resource collection with its includesfile attribute, but I don't see how to specify the equivalent of the dir attribute. I even tried something with , without chance (nothing gets copied): would anyone have an idea? Thanks, Patrick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org