Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 80972 invoked by uid 500); 9 Jul 2003 10:39:51 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 80875 invoked from network); 9 Jul 2003 10:39:50 -0000 Received: from s-97-26.dsl.cleardatavoice.com (HELO gridnode.com) (202.83.97.26) by daedalus.apache.org with SMTP; 9 Jul 2003 10:39:49 -0000 Received: from daniel ([192.168.213.146]) by gridnode.com (8.11.6p2/8.9.3) with SMTP id h69AmFE01008 for ; Wed, 9 Jul 2003 18:48:21 +0800 Reply-To: From: "Daniel Joshua" To: "'Ant Users List'" Subject: How do I store the parent directory name into a property? Date: Wed, 9 Jul 2003 18:39:41 +0800 Message-ID: <010701c34606$68017560$92d5a8c0@sgxdev.gridnode.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, Is there a way to store the parent directory name into a property? This is what I tried: ... but the result was ... "The parent directory name is C:/Parent" ... instead of what I wanted, which is ... "The parent directory name is Parent" Any Suggestions? Regards, Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org