Where do you have JUnit.jar? If it isn't in ANT_HOME/lib or user.home/.ant/lib, then that's your problem right there. Otherwise, make sure the nested <classpath> element contains references to the root directory of both your application and test classes. If none of this works, post one of your ClassNotFoundException's so we can get an idea of what is going on.



Jake

At 05:16 PM 2/17/2005 -0800, you wrote:
>
>I must be a dolt.  I'm not getting the workaround or
>fix that makes the <junit> task work again in Ant
>1.6.x.
>
>It used to work magnificently, but since the new class
>loader design was added I'm getting nothing but
>ClassNotFoundException when it tries to find my
>TestCases.  (Yes, I set the classpath inside the task,
>which should be enough.)  I've played around with
>build.sysclasspath settings, without success.
>
>What is the fix/workaround?  I want to be able to run
>my JUnit test suites automatically again.  Thanks -
>MOD
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Meet the all-new My Yahoo! - Try it today!
>http://my.yahoo.com
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


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



Reply via email to