Re: Version of concurrent.jar

Keats Kirsch <[email protected]> Wed, 29 Mar 2006 19:09:29 -0500
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
Thanks for giving it a shot Sven.  I too always find getting the unit 
test configured properly to be a chore.

The JUnitTask is part of a jar called ant-junit.jar that comes with the 
Apache Ant distro: http://ant.apache.org/bindownload.cgi

Keats

Sven Schliesing wrote:

> I did so, and after replacing the according imports it looks ok. Would 
> say: my application still runs like I would expect. :)
> To my shame I have to admit that I couldn't get webmacros unit-test 
> running.
> I'm not so familiar with ant (using maven for my projects), so I can't 
> fix the errors that I get:
>
> D:\workspace\webmacro\test\build.xml:57: Could not create task or type 
> of type: junit.
>
> And after commenting in this element in test/build.xml:
> <!--
>     <taskdef name="junit" 
> classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
>         <classpath refid="class.path"/>
>     </taskdef>
> -->
> I get
> D:\workspace\webmacro\test\build.xml:29: taskdef A class needed by 
> class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be 
> found: junit/framework/Test
>
>
> Maybe it's just too late this evening...
>
> Greets Sven





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642