Hi, -----Original Message----- From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 8:01 AM To: Ant Users List Subject: AW: How to get the simple file name?
/* Hello, My expirience is, that Ant always gives you the full path, without a chance to change it. If someone shows how (you could write your own Ant-Task), I would be very intersted. My solution is to write the full filename into a textfile and then delete the path with the replace task. Probably you need this to write a scriptfile or sth else. */ why not use <basename .../> ? <basename property="filename" file="C:/foo/bar/EntityForNumbers.java"/> Regards, GIlbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
