From ant-dev-return-26723-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Thu Feb 28 08:47:46 2002 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 56739 invoked from network); 28 Feb 2002 08:47:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Feb 2002 08:47:46 -0000 Received: (qmail 9820 invoked by uid 97); 28 Feb 2002 08:47:55 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 9804 invoked by uid 97); 28 Feb 2002 08:47:54 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 9793 invoked from network); 28 Feb 2002 08:47:54 -0000 Message-ID: <20020228084753.86502.qmail@web13409.mail.yahoo.com> Date: Thu, 28 Feb 2002 00:47:53 -0800 (PST) From: Diane Holt Subject: Re: Two possible new tasks To: Ant Developers List In-Reply-To: <00b901c1c031$4ab52300$1102a8c0@Stelvio> 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 --- Steve Loughran wrote: > +1 if you can come up with some good tests. I am not sure about > basename. does it mean the name of the file up to but not including the > file itself, or is it the file name without any directories. It basically does what the *nix 'basename' command does -- gives you the last element of a path (optionally, minus a suffix), whether that's a filename or the last directory element doesn't matter. But thanks for asking, since it reminded me that I forgot to allow for a 'suffix' attribute. So, to clarify (thanks, Tim, for the attr correction earlier), here's the usage: [suffix attr optional] > filenameProperty="filename" /> > > thoughts?# But the idea is that you're setting a property -- so to do yours, you'd probably need to have some kind of nested element thing, so you could specify the property name you want set to the dir and filename (since I don't see how you could ever reference the 'dirProperty' and 'filenameProperty' that you have). Diane ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: