Revision as of 10:15, 5 November 2009 by Admin (Talk | contribs)

I am using an optional task such as FTP and it says it cannot create a task definition, and to check my classpath. What did I do wrong?

Check the online help and the Ant manual. You need to download ftp.jar (or whatever) and edit Additional Classpath in Ant settings in the Options dialog to include it. This applies to all tasks in ant-*.jar which need some additional library, as listed in the Ant online manual.

Ant 1.7.0 and later, bundled in recent versions of NetBeans, no longer requires junit.jar to be in Ant's own classpath to run <junit>, but the JAR must at least be in the <classpath> passed to the task.

Applies to: NetBeans 4.0 through 6.7

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo