ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: WsdlToDotnet
Date Fri, 12 Apr 2002 10:27:31 GMT
----- Original Message -----
From: "Steve Loughran" <>

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


> Can we we put BuildFileTest into ant.jar, so that external libraries can
> 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
> 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>?


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

View raw message