This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | build.xml [82] Could not create task of type: junit. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME). | ||
---|---|---|---|
Product: | projects | Reporter: | RefuX <refux> |
Component: | Ant | Assignee: | issues@projects <issues> |
Status: | CLOSED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
RefuX
2001-04-06 22:36:25 UTC
ant-optional.jar *does* contain the definition for the JUnit task. However the junit.jar itself is not there. If you wish to use optional tasks like JUnit, you must place the extension JAR (e.g. junit.jar) into the IDE's lib/ext/ directory and restart. Then it ought to work. The documentation for the Ant integration does mention this, I believe, though possibly not clearly enough. Verified. Resolved for 3.3.x or earlier, no new info since then -> closing. |