Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 48717 invoked from network); 13 Aug 2004 18:07:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 18:07:48 -0000 Received: (qmail 89575 invoked by uid 500); 13 Aug 2004 18:07:47 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 89270 invoked by uid 500); 13 Aug 2004 18:07:45 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 89257 invoked by uid 99); 13 Aug 2004 18:07:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [134.132.72.99] (HELO junior.lgc.com) (134.132.72.99) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 11:07:42 -0700 Received: from lgchvw01.lgc.com (lgchvw01.lgc.com [134.132.93.107]) by junior.lgc.com (8.11.7/8.11.3) with SMTP id i7DI7d822511 for ; Fri, 13 Aug 2004 13:07:39 -0500 (CDT) Received: from 134.132.72.99 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Fri, 13 Aug 2004 13:07:35 -0500 Received: from HOUEXCH903.landmark.lgc.com (houexch903.landmark.lgc.com [134.132.167.43]) by junior.lgc.com (8.11.7/8.11.3) with ESMTP id i7DI7Xj22495 for ; Fri, 13 Aug 2004 13:07:33 -0500 (CDT) Received: from HOUEXCH902.landmark.lgc.com ([134.132.167.38]) by HOUEXCH903.landmark.lgc.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 13 Aug 2004 13:07:30 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Bug in the "glob" file mapper? Date: Fri, 13 Aug 2004 13:07:29 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Bug in the "glob" file mapper? Thread-Index: AcSBVsCoftFvI7pNSeqVr905+K8M7QACVQnw From: "Dominique Devienne" To: "Ant Developers List" X-OriginalArrivalTime: 13 Aug 2004 18:07:30.0053 (UTC) FILETIME=[65F3B350:01C48160] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > From: Phil Weighill-Smith [mailto:phil.weighill-smith@volantis.com] > The "glob" file mapper is exhibiting a behaviour I didn't expect: >=20 > > >=20 > Assuming that "*" matches "env/apache-ant-1.6.2/lib" I expected this to > copy the ant.jar to a destination of copy's todir + /internal/ant.jar. > What it actually does is copy it to copy's todir + > /internal/ant.jarenv/apache-ant-1.6.2/lib. >=20 > I.e. if you don't use a "*" in the to attribute of the mapper, the "*" > match is suffixed onto the "to". This seems wrong to me. Is this a bug? It's wrong in the sense that the glob mapper should most likely throw an error when the "*" is missing in the 'to' attribute. You can't use the glob mapper to concatenate files like this, and even if it worked, plain concatenation wouldn't work with .jar files. Use for plain concatenation. Use or with for concatenation of JAR/ZIP files. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org