ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Schwaebli <hans_schwae...@yahoo.com>
Subject How to get the simple file name?
Date Tue, 14 Aug 2007 10:12:27 GMT
There is a task called <dirname>
   
  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.

       
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message