ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Schwaebli <hans_schwae...@yahoo.com>
Subject Re: How to get the simple file name?
Date Tue, 14 Aug 2007 11:45:16 GMT
Thank you!
  

Peter Reilly <peter.kitt.reilly@gmail.com> wrote:
  

http://ant.apache.org/manual/CoreTasks/basename.html
Peter

On 8/14/07, Hans Schwaebli wrote:
> There is a task called 
>
> I would need a task which gives me just the filename. Any idea?
>
> Example:
> U:\projects\HSW_TST\src\com\haefele\hsw2\tst\abstractions\numbers\EntityForNumbers.java
>
> Now I need to extract the filename "EntityForNumbers.java".
>
> Of course these filenames are dynamical, so it should work for any full path to a file.
>
>
> ---------------------------------
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.

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



       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message