Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 21559 invoked by uid 500); 11 Sep 2001 05:48:14 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 21550 invoked from network); 11 Sep 2001 05:48:13 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-dev@jakarta.apache.org Subject: Re: Available task References: From: Stefan Bodewig Date: 11 Sep 2001 07:48:19 +0200 In-Reply-To: "Thomas Leonhardt"'s message of "Fri, 24 Aug 2001 18:48:07 +0200" Message-ID: Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 24 Aug 2001, Thomas Leonhardt wrote: > But If this method gets a set of files it does the wrong thing. The > above code checks if the file > ../../somedir/wantedFile.ext/wantedFile.ext exists instead of simply > checking if ../../somedir/wantedFile.ext is the file we won't. Want to submit a patch that corrects this (I think your argument is correct)? I'd probably first check whether the path-element is what we are looking for and otherwise see whether it is a directory and contains the file/directory we are looking for. > I admit the because of the name of the attribute I'm doing the wrong > thing by specifing a set of files. As you can add s to s, you are not doing anything wrong here IMHO. Stefan