Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 65087 invoked from network); 6 Apr 2005 12:38:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2005 12:38:39 -0000 Received: (qmail 50201 invoked by uid 500); 6 Apr 2005 12:38:29 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 50157 invoked by uid 500); 6 Apr 2005 12:38:29 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 50139 invoked by uid 99); 6 Apr 2005 12:38:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from brmea-mail-4.Sun.COM (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 06 Apr 2005 05:38:27 -0700 Received: from phys-sababa-2.Israel.Sun.COM ([129.156.60.3]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j36CcOX8019095 for ; Wed, 6 Apr 2005 06:38:25 -0600 (MDT) Received: from [129.156.61.225] (a0 [129.156.61.225]) by phys-sababa-2.Israel.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL,v2.1p1) with ESMTP id j36CcNeS029744 for ; Wed, 6 Apr 2005 15:38:23 +0300 (IDT) Message-ID: <4253D92D.7020509@sun.com> Date: Wed, 06 Apr 2005 15:42:21 +0300 From: Daniel Blaukopf User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: rsync wildcard References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Looks like Ant doesn't do the expansion that the shell does. This is OK - I don't think it is supposed to. You can use the "apply" task and specify the *.gz files as a fileset: - Daniel Euan Guttridge wrote: >Hi > >Can anyone advise why the following works on the command line, but not >within an ant script. The error is 'file/directory does not exist', when it >clearly does. If I change the *.gz to a specific file it works fine. > >Thanks > > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org