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.

Bug 13710

Summary: unable to use optional Ant tasks
Product: projects Reporter: Chris Nelson <ccnelson>
Component: AntAssignee: Jesse Glick <jglick>
Status: CLOSED INVALID    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows 3.1/NT   
Issue Type: DEFECT Exception Reporter:

Description Chris Nelson 2001-07-18 20:20:46 UTC
When I try to use an optional task such as junit, I get a "taskdef not found" 
message from ant.  I have tried putting ant-optional.jar in my netbeans/lib/ext 
director.  This task works when I use it outside of netbeans, so it appears 
that this is a classpath error of some sort.  I even tried explicitly adding a 
taskdef element to my build.xml file with a classpath defined and it still 
didn't work.
Comment 1 Jesse Glick 2001-07-23 10:15:41 UTC
Please read the online help. Do not move ant-optional.jar; place
junit.jar in netbeans/lib/ext/ and restart and it should work.
Comment 2 Quality Engineering 2003-06-30 14:44:16 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.

Comment 3 Quality Engineering 2003-06-30 14:47:18 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.