• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ant+JUnit  RSS feed

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have
- jakarta-ant-1.5.1
- junit3.8.1



But wen I try to run target "run-tests" then I get error:


Where is the problem?
 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have found the problem.
I use Eclipse 3.0.
And I run ant from Eclipse.
But their junit.jar is not supports <junit> task.
How can I say to Eclipse that it should use junit.jar from my installations of junit3.8.1?
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change the runtime properties for Ant, via Preferences>Ant>Runtime.
 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the answer on this problem - Eclipse+Ant+JUnit
 
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!