Junit problem

Hello,

When running Junit3.7 from ant within Idea #688 i get the following
response:

"could not create junit task" or something similar.


any hints or pointers ?

any help greatly appreciated..

/Frank

2 comments
Comment actions Permalink

Do you have a suite() method defined that is not static?

From: frank <fb@itplus.dk>
Organization: IntelliJ Labs
Newsgroups: jetbrains.intellij.eap
Date: Tue, 07 Jan 2003 13:38:35 +0100
Subject: Junit problem

Hello,

When running Junit3.7 from ant within Idea #688 i get the following
response:

"could not create junit task" or something similar.


any hints or pointers ?

any help greatly appreciated..

/Frank


0
Comment actions Permalink

I had the same problem. The problem is that the junit and the junitreport task are optional ant tasks, which means they are not found in the normal ant.jar. They are located in the optional.jar in IntelliJ's lib directory. They way I solved this is right-click on the the ant window and go to properties. There, you can choose your classpath for ant. I just chose "Include project classpath", but I think you could also add optional.jar to the list as well. Hope this helps.

Tobin

0

Please sign in to leave a comment.