File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant+JUnit

 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • 0
  • 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
  • 0
  • 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?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the answer on this problem - Eclipse+Ant+JUnit
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic