ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannes van der Merwe <>
Subject RE: Substring or Substitution in ANT
Date Tue, 04 Dec 2001 13:42:42 GMT
Does the property : "PackageName" contains the result of the pathconvert ?

-----Original Message-----
From: Li, Jerry []
Sent: Tuesday, December 04, 2001 3:23 AM
To: 'Ant Users List'
Subject: RE: Substring or Substitution in ANT

Believe or not, I am using pathconvert to get substring of tempPathName:

		<pathconvert pathsep="${FILE_SEP}" property="PackageName">
			<path id="tempPathName">
				<pathelement location="${SRC}"/>
			<map from="${PRODUCT_ROOT}${FILE_SEP}src" to=""/>

Here I am actually getting the remaining part of tempPathName after


-----Original Message-----
From: Hannes van der Merwe []
Sent: Monday, December 03, 2001 4:29 AM
To: ''
Subject: Substring or Substitution in ANT

Is there an existing task that can be used to get a substring of a String or
substitute a part of a String with something else?

Hannes van der Merwe
Momentum Employment Benefits (IT)
Telephone : (011) 685 4306
Email :

E-mail disclaimer

Confidentiality Warning
The contents of this message and any attachments are intended solely for the
addressee's use and may be legally privileged and/or confidential. If you
are not the addressee indicated in this message, any retention,
distribution, copying or use of this message is strictly prohibited. If you
received this message in error, kindly notify the sender immediately by
reply e-mail and then destroy the message and any copies thereof. The
content and any views expressed therein are, unless otherwise stated, the
views of the author and not those of the company or any of its management or
Whilst all reasonable steps are taken to ensure the accuracy and integrity
of information transmitted, the company does not accept responsibility for
any corruption of the information or data or breach of confidentiality as a
result of electronic submission.
When addressed to the Momentum Employee Benefits clients any opinion or
advice contained in this e-mail is subject to the terms and conditions
expressed in any applicable terms of business.

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: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message