• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Junit and ant

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to integrate JUnit into my ant. This is my dir structure.

home
-src (all my source files)
-lib (contains junit and other jar files)
-test (all my test files)
-dist (where all the class files are placed by ant)

This is what i had done, but i get a big error saying that it cannot recognise <Junit> tag itself(i think it has something to do with classpath).


I am not sure where i go wrong. Please help.

thanks
serish
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If 'junit' is not known it sounds like you need to downloas and install (ie drop in the ant/lib dir) the optional junit tasks. I'm not exactly sure, but it should be included in the downloads from www.junit.org

Dave
 
reply
    Bookmark Topic Watch Topic
  • New Topic