This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
    Bookmark Topic Watch Topic
  • New Topic

running junit from ant  RSS feed

 
urvi kalia
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
i am trying to run junitusing ant script .
coded in build file is --
<target name="Run JUnit" description="runs junit">
<echo message="Running Junit" level="info"/>
<junit>

<test name="junitTestClient2"></test>
<classpath refid="testapp-classpath"/>
<formatter type="plain" usefile="false"/>
</junit>
</target>

when i run this --
build failed.
due to classnotfoundexception --junitTestclient2

what do i need to do?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question in multiple forums. It creates duplicate conversations and wastes the time of the people trying to help you.

Thanks,
Dave
 
This parrot is no more. It has ceased to be. Now it's a tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!