junit task doesn't work - Ant integration bug?

Whenever I try to run ant target with a junit task, I get an error prompt: "Could not create task or type of type: junit." But if I build the same target with command line ant, there's not problem at all.

I noticed that there were already junit.jar and optional.jar in Aurora's lib directory.

Is it a bug or did I missed something?

1 comment

You should add optional.jar and junit.jar to you ant build file (Ant Build
toolwindow | right click build file | Properties | Additional Classpath tab)

--
Best regards,
Dmitry Peshehonov
JetBrains, Inc, http://www.intellij.com

"Develop with pleasure!"


"James Hwang" <jameshwang_cn@yahoo.com> wrote in message
news:32210639.1067873243793.JavaMail.itn@is.intellij.net...

Whenever I try to run ant target with a junit task, I get an error prompt:

"Could not create task or type of type: junit." But if I build the same
target with command line ant, there's not problem at all.
>

I noticed that there were already junit.jar and optional.jar in Aurora's

lib directory.
>

Is it a bug or did I missed something?



0

Please sign in to leave a comment.