IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes taskdef problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "taskdef problem" Watch "taskdef problem" New topic
Author

taskdef problem

Vivek Sam
Greenhorn

Joined: Jul 29, 2004
Posts: 7
hi guyz
i am new to unit testing.while writing the following command(maven test )i get the following error

taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found

what do i do.plz help me
Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214
Download junit (www.junit.org) and put junit.jar and junit-ext.jar into your ant/lib dir.


I have no java certifications. <br />This makes me a bad programmer.<br />Ignore my post.
 
IntelliJ Java IDE
 
subject: taskdef problem
 
Threads others viewed
Modifying appserver.home property in build.properties file NOT working
hibernatetool error
Odd exception with Axis 1.4 and ant taskdef
Could not create task or type of type: for.
Ant task for "weblogic.jspc"
IntelliJ Java IDE