Hi,
I am using
ANT with Eclipse 3.3.1.1 with
Tomcat.
I am getting following error when I am trying to run a FTP target:
Could not create type ftp due to java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClientConfig
Here is my FTP target:
<target name="ftp">
<ftp server="ftp.test.com" remotedir="/test" userid="user" password="password" depends="no">
<fileset dir="${meta.home}">
<include name="**/context.xml" />
</fileset>
</ftp>
</target>
Please reply if you know why it's happening.
I have also added ant 1.7 lib to my classpath, that did not help either.
Thanks,
Ankur