----- Original Message -----
From: "Steve Loughran" <[EMAIL PROTECTED]>

> I have added a new WsdlToDotnet task in the dotnet corner, plus a test
which
> also tests the CSC task (finally!)

Nice!

> Can we we put BuildFileTest into ant.jar, so that external libraries can
use
> it to test build files. Or should we keep in private for flexibility, and
> encourage people to cut and paste it into their own apps, moving into a
new
> package if need be.

+1 - although no objects to Stefan's idea of a separate JAR.

> An alternative might be to write (not now! not now!) a meta task to test a
> build file
>
> <buildfiletest
>     srcFile=foo.xml
>     target=rebuild
>     dir=tesdir
>     expectExceptionContaining="failed"
> />
>
> that would be cool as then you can write many tasks in pure ant (with
> conditions and fail) to validate stuff. But it wont fit in with the junit
> execution model.

Couldn't you already do something like this using the <try>/<catch>
ant-contrib stuff?  Nest an <ant> in a <try> and <fail> inside the <catch>?

    Erik



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to