ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Ant ftp task
Date Thu, 18 Apr 2002 21:32:13 GMT
--- Barry Jia <> wrote:
> When I use ftp task, I got following error, actually I had put the
> ant-optional.jar into my CLASSPATH,and it is at the ${ANT_HOME}/lib dir,
> why I still got this prob.

You need netcomponents.jar as well (see the "Library Dependencies" table
in the "Installing Ant" section of the doc for the link). Ant1.5 has a
much better error message for undefined tasks, including mentioning
possible external-library dependencies.

FYI: So long as you're running Ant via the 'ant' wrapper-script, there's
no need to put anything that lives in ANT_HOME/lib into your CLASSPATH.



Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message