ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <>
Subject Re: Custom WLUnit task
Date Wed, 09 May 2001 08:29:33 GMT
Hey Jim,
You implemented the same tasks as I did in the Cactus project, it seems ...
Have a look at :


The source code for the tasks are in :

Have a look and tell me what you think !
Vincent Massol.

----- Original Message -----
From: "Jim Doyle" <>
To: <>
Sent: Tuesday, May 08, 2001 12:51 PM
Subject: Custom WLUnit task

> Hi,
>     I've been working on automating EJB testing in our nightly build,
> and I've come up with something that a few Ant users might find useful.
> It's a task that starts a WebLogic 5.1 server, runs a suite of JUnit
> tests against the server, and then shuts down the server.  This allows
> you to do testing against a server as part of a single Ant build, rather
> than having to trigger multiple Ant builds from a shell script.
>     It's consistent with the syntax and behavior of the optional junit,
> wlrun, and wlstop tasks, and I've written a doc page as well.  There's a
> jar file containing the source distribution attached to this email.
> Note that it re-uses the junit task, so the jakarta optional.jar file is
> necessary.  Also, it uses JDK 1.3 APIs (collections).
>     I'd been following the discussion on parallelism and multithreading
> features in Ant 2, and was thinking about what my ideal Ant file would
> look like, and it occurred to me that I didn't really care if the
> WebLogic stuff was in its own task - the JUnit tests are the significant
> part from the build point of view - so it would be fine if there were
> just one task taking care of both the server and the tests.
>     Does this fit what other Ant users need as well?  Do the hardcore
> Ant folks on this list think this is a nice, Ant-esque way to approach
> this, or is it counter to the spirit of Ant?
>     Looking forward to your feedback,
> Jim Doyle

View raw message