With which task? I already have the file name with extension in a property. I need the file name sans extension in a new property.
BTW, I found the propertyregex task in ant-contrib. I can use that if there is no other way. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 10:43 AM To: user@ant.apache.org Subject: AW: Remove extension from a file name using regexps (.*)\..* --> \1 Jan > -----Ursprüngliche Nachricht----- > Von: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 19. Januar 2005 16:36 > An: Ant Users List > Betreff: Remove extension from a file name > > I need to remove the extension from a file name. The basename task > almost works when specifying the suffix attribute. However, I > don't know > the value of the suffix. > > Does anyone know how I can remove the extension (suffix) from a file > name? > > Later, > BEDick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]