Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 97794 invoked from network); 17 Dec 2001 17:20:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Dec 2001 17:20:53 -0000 Received: (qmail 13563 invoked by uid 97); 17 Dec 2001 17:20:48 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 13541 invoked by uid 97); 17 Dec 2001 17:20:47 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 13529 invoked from network); 17 Dec 2001 17:20:46 -0000 Message-ID: From: "Li, Jerry" To: 'Ant Users List' Subject: RE: General string manipulations Date: Mon, 17 Dec 2001 09:20:16 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N try pathconvert, it may solve your problem. -----Original Message----- From: Mark McMillan [mailto:mark.mcmillan@engineous.com] Sent: Monday, December 17, 2001 4:13 AM To: Ant Users List Subject: General string manipulations I have a number of times wanted to do some manipulation of a property string. For example, when running JAVA2IIOP as part of an EJB build, I need build a list of all Java classes that end in "...Home.java". A FILESET easily builds the list of files, but then I have to convert those file names to Java class names (remove path prefix, convert "/" to ".", and remove ".java" postfix). I have written a simple string-substitution task: but is there a more general way to manipulate property values in ANT? I looked around on the Jakarta site but could not find anything like this... surely this is a common sort of task? -Mark -- To unsubscribe, e-mail: For additional commands, e-mail: -------------------------------------------------------------------------- Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. -------------------------------------------------------------------------- -- To unsubscribe, e-mail: For additional commands, e-mail: