Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 72459 invoked from network); 4 Jun 2004 15:00:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jun 2004 15:00:23 -0000 Received: (qmail 28649 invoked by uid 500); 4 Jun 2004 15:00:21 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 28532 invoked by uid 500); 4 Jun 2004 15:00:20 -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 28516 invoked by uid 99); 4 Jun 2004 15:00:20 -0000 Received: from [12.160.34.138] (HELO mail.cmcflex.com) (12.160.34.138) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 04 Jun 2004 08:00:20 -0700 Received: (qmail 20060 invoked by uid 510); 4 Jun 2004 15:46:00 -0000 Received: from unknown (HELO GARYSPC) (208.186.143.132) by 0 with SMTP; 4 Jun 2004 15:46:00 -0000 From: "Gary Eberhart" To: "'Ant Users List'" Subject: RE: Parsing Properties Date: Fri, 4 Jun 2004 08:59:58 -0600 Message-ID: <016501c44a44$9b670cb0$6a00a8c0@cmc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <014e01c449a4$69e165a0$6a00a8c0@cmc.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N FYI, The following worked great! The task uses the macrodev, therefore is hundreds of times faster than the task. The task can parse anything your little heart desires! The above code outputs the following; [echo] processing file, C:\_project\eclipse\flex\Web Content\META-INF\MANIFEST.MF [echo] partial file name, META-INF\MANIFEST.MF [echo] processing file, C:\_project\eclipse\flex\Web Content\WEB-INF\classes\JustToMakeTheFolderStay.class [echo] partial file name, WEB-INF\classes\JustToMakeTheFolderStay.class Now I can use the partial file name to construct the paths I need. Gary -----Original Message----- From: Gary Eberhart [mailto:gary@cmcflex.com] Sent: Thursday, June 03, 2004 1:53 PM To: Ant User's List (E-mail) Subject: Parsing Properties Hello All, I need to get a sub string of a path to use in building another path. >From this string, C:\_project\eclipse\flex\Web Content\flexgui\flexgui.jnlp I need to create this string, flextemp\localchecksums\flexgui\flexgui.jnlp.MD5 and this string, flextemp\remotechecksums\flexgui\flexgui.jnlp.MD5 Is there any easy way to do this? Gary Eberhart Manager New Product Development Computer Marketing Corporation Phone: 801-365-5000 Fax: 801-365-5100 --------------------------------------------------------------------- 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