ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: using file names
Date Wed, 13 Apr 2005 09:11:53 GMT
Huditsch,

You can use <basename> task[1].

HTH Ivan

[1]http://ant.apache.org/manual/CoreTasks/basename.html
--- Huditsch Roman <Roman.Huditsch@lexisnexis.at>
wrote:
> Hi,
> 
> After using
> <for param="file">
> 	<path>
> 		<fileset dir="@{src}" includes="*.xml"/>
> 	</path>
> 	....
> 
> @{file} gives me the "complete" file name inlcuding
> directory
> information.
> How can I pick just the file name itself (leaving
> out all the directory
> structure)?
> 
> wbr,
> Roman
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message