ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerard Janssen <ger...@janssenenjansen.nl>
Subject Re: Remove extension from a file name
Date Wed, 19 Jan 2005 21:51:14 GMT
The attached class contains a custom task that will do the trick. The javadoc 
explains how to use it.



Gerard



On Wednesday 19 January 2005 16:36, Dick, Brian E. wrote:
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message