ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <>
Subject Re: Bug with basename?
Date Mon, 06 Jul 2009 19:13:33 GMT
On Mon, Jul 6, 2009 at 1:37 PM, Scot P. Floess<> wrote:
> Without going into long drawn out explanation, I am getting an exception
> using the basename task as so:
> <basename  file = "/tmp/foo/bar.txt"  property = "origProp"  suffix = ""/>

I'll count it as a bug (albeit a minor one). The <basename> task
should have checked for a blank suffix. Heck, I would have given Ant
credit if it said that the suffix parameter, if used, can't be null,
but there's nothing in the documentation.

David Weintraub

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message