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="http://ant.apache.org/index.html"/> In general assertResourceExists only works for Ant 1.8.x as it needs some changes to IntrospectionHelper. See <https://issues.apache.org/bugzilla/show_bug.cgi?id=52332> 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? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org