ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: AntUnit - Using assertResourceExists to check URL
Date Fri, 08 Jun 2012 05:25:36 GMT
On 2012-06-07, Pascal Schumacher wrote:

> Hello everybody,

> according to the AntUnit 1.2 documentation

> "assertResourceExists
> Asserts that a given resource exists. This is a generalization of
> assertFileExists and allows to test for arbitrary resources."

> it should be possible to check if a URL exists. But I can't figure out
> how to do it. I tried two ways:

> <au:assertResourceExists resource=""/>

In general assertResourceExists only works for Ant 1.8.x as it needs
some changes to IntrospectionHelper.  See

In this particular case it doesn't wok for 1.8.4 either.  This is a
bug.  Could you please open a bugzilla issue for it?


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

View raw message