On 11/21/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > Your script did not work since I got the following error: > > The <fail> type doesn't support the nested "contains" element.
Probably may need a nested <condition> that contains the <contains>. Either that, or you're using an older version of Ant. --DD > From: Ninju Bohra [mailto:[EMAIL PROTECTED] > <loadfile property="test.results" srcFile="${reg.test.file}"/> > <fail message="Regression tests failed!"> > <contains string="${test.results}" substring="${msg}"/> > </fail> > > Short and sweet, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
