Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 46877 invoked from network); 23 Sep 2002 18:33:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Sep 2002 18:33:16 -0000 Received: (qmail 4277 invoked by uid 97); 23 Sep 2002 18:33:51 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 4260 invoked by uid 97); 23 Sep 2002 18:33:51 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 4248 invoked by uid 98); 23 Sep 2002 18:33:50 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20020923183309.17204.qmail@web13405.mail.yahoo.com> Date: Mon, 23 Sep 2002 11:33:09 -0700 (PDT) From: Diane Holt Subject: RE: reverse glob mapper pattern? To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --- Dominique Devienne wrote: > You'll also see that the selector selects the wrong files, No, it selects it says it does -- namely, it selects only those files that have an equivalent, as specified. It doesn't say it'll return *both* the files that have an equivalent *and* the equivalent file(s) as well. You could, theoretically, do it with two 's (one to do an equivalent for sample.* -> *, and one to do it the other way around) -- only when you're doing delete's, by the time you get to evaluating the second , the equivalents have already been deleted, so the second comes up empty, which is why you need to evaluate them beforehand, and get the files they return into a property, then pass the value of that property to . And of course, since won't take more than one file in the 'file' attribute, you need to pass the list to 'includes' instead, which is why you need to lop off the leading path up to the directory specified in 'dir', which is why you need to go through . Diane ===== (holtdl@yahoo.com) __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: