ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Simpson <>
Subject stripping of file name extension
Date Fri, 13 Dec 2002 16:42:33 GMT

I'm using the following <foreach> command within ant-contrib to iterate
through a bunch of files with a .xml extension. I wish to further process
the file name retruned in property "var" to remove the file extension
(.xml). How can I go about doing this?

Thanks in advance,

	<target name="foreach">
		<foreach target="loop" param="var">
			<fileset dir="."/>

	<target name="loop">

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