From user-return-48438-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Feb 03 13:31:45 2005 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 31757 invoked from network); 3 Feb 2005 13:31:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Feb 2005 13:31:45 -0000 Received: (qmail 95868 invoked by uid 500); 3 Feb 2005 13:31:39 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95829 invoked by uid 500); 3 Feb 2005 13:31:39 -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 95814 invoked by uid 99); 3 Feb 2005 13:31:39 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from gate.corvil.net (HELO corvil.com) (213.94.219.177) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Feb 2005 05:31:39 -0800 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id j13DVXwS016446 for ; Thu, 3 Feb 2005 13:31:34 GMT (envelope-from peterreilly@apache.org) Message-ID: <42022833.5000208@apache.org> Date: Thu, 03 Feb 2005 13:33:39 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Replace extension with mapper 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-2.apache.org 1.6.2 0/1000/N Ant's globmapper does not support more that one "*". You need to use a regexpmapper, for example: Robert Soesemann wrote: >While copy HTML files (*.htm or *.html) to another folder, I want to >rename the extension of all those files to *.xhtml. > >I tried this, but it didn't work. Can you help? > > > > > include name="**/*.html"/> > > > > >Best regards, > >Robert > >--------------------------------------------------------------------- >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