ant-dev mailing list archives

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

> 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message