From user-return-70872-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Sep 03 14:29:00 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 49111 invoked from network); 3 Sep 2010 14:28:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Sep 2010 14:28:59 -0000 Received: (qmail 70440 invoked by uid 500); 3 Sep 2010 14:28:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 70056 invoked by uid 500); 3 Sep 2010 14:28:54 -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 70046 invoked by uid 99); 3 Sep 2010 14:28:53 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 14:28:53 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-ant-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 14:28:29 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OrXFQ-0003uy-Dg for user@ant.apache.org; Fri, 03 Sep 2010 16:28:08 +0200 Received: from static-87-79-70-172.netcologne.de ([87.79.70.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 16:28:08 +0200 Received: from peter.nabbefeld by static-87-79-70-172.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 16:28:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@ant.apache.org From: "P.N." Subject: How to get the last folder name? Date: Fri, 03 Sep 2010 16:27:37 +0200 Lines: 27 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: static-87-79-70-172.netcologne.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.12) Gecko/20100825 SeaMonkey/2.0.7 X-Virus-Checked: Checked by ClamAV on apache.org Hello! I want to get the path to the last child folder in some parent directory. Tried this: Doesn't work :-( I'd also like to get the last one of a collection of folders, e.g. C:\my\parent\xyz* It seems, there're so many filters and tasks, I'd guess it should be possible somehow - any good solution? Thank You in advance P.N. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org