ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <qazw...@gmail.com>
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<sfloess@nc.rr.com> 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
qazwart@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message