-
Nov 17th, 2004, 12:29 AM
#1
Petclinic example and junit tests
I wrote a similar prototype spring application to understand spring features. It compiled fine and deployed it in JBoss. I also wrote some junit test cases for my POJOs. I'm using Eclipse IDE. I wrote an task just like the one in 'petclinic' example which uses 'junit' task to run the junit tests and generate reports. When i tried to run this task, i got the error message that it can't find the task 'junit'.
It would be great if someone could let me know where is this 'junit' task defined. Do i need to include any jar file to use this task?
I greatly appreciate any input regarding this problem
-
Nov 17th, 2004, 01:06 AM
#2
JUnit jar in classpath
Do you have junit jar in your system classpath or ANT_HOME/lib directory? The simplest and preferable thing would be to copy the junit jar into your ANT_HOME/lib directory.
HTH
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules