I think you need to import the ant.jar
- ant.jar (located in the ant director e.g. c:\ant\lib)
Ok thanks, adding ant.jar to the classpath works. Many users of Netbeans
(myself included) probably don't have a local installation of ant, because it
Netbeans is based heavily on ant and supplies its own version. There is an
ANT_HOME setting in the options panel pointing to $NETBEANS_HOME/java2/ant.
And within that directory there is a lib directory with all the Jars, so I'd
suggest the Setup Guide references that.