Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45706 invoked from network); 17 Aug 2006 14:23:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 14:23:17 -0000 Received: (qmail 70565 invoked by uid 500); 17 Aug 2006 14:23:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 70525 invoked by uid 500); 17 Aug 2006 14:23:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 70509 invoked by uid 99); 17 Aug 2006 14:23:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 07:23:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.abley@volantis.com designates 213.86.197.2 as permitted sender) Received: from [213.86.197.2] (HELO smtp.volantis.com) (213.86.197.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 07:23:07 -0700 Received: from apps.volantis.com ([209.90.112.152]) by smtp.volantis.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 17 Aug 2006 15:22:58 +0100 Received: from 213.86.197.1 by apps.volantis.com with ESMTP id 12440241155824477; Thu, 17 Aug 2006 08:21:17 -0600 Message-ID: <44E47B5B.8050008@volantis.com> Date: Thu, 17 Aug 2006 15:21:15 +0100 From: James Abley Reply-To: james.abley@volantis.com User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: Ant Users List Subject: Re: get filename References: <44E477EC.70006@mindspring.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Aug 2006 14:22:58.0233 (UTC) FILETIME=[A3539A90:01C6C208] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I definitely think is the way to go. ant.file: '${ant.file}' filename: '${filename}' HTH, James Benjamin H. wrote: > I has try this: > > > > > > > > > > Filename === ${filename} > > > > > > But not so successful!! > > > 2006/8/17, Scot P. Floess : >> >> Did you try the task? >> >> Benjamin H. wrote: >> > Hi out there, >> > >> > is it possible to get only the name of a file without the whole path?? >> > >> > This is for path - but only need the filename: >> > >> > >> > >> > >> > @{filename} >> > >> > >> > The files are in a directory!! >> > >> > Regards ele >> > >> >> -- >> Scot P. Floess >> 27 Lake Royale >> Louisburg, NC 27549 >> >> 252-478-8087 (Home) >> 919-754-4592 (Work) >> >> Chief Architect JPlate http://sourceforge.net/projects/jplate >> Chief Architect JavaPIM http://sourceforge.net/projects/javapim >> >> >> --------------------------------------------------------------------- >> 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