Ant FTP Tasks [message #1821503] |
Thu, 13 February 2020 12:53  |
Eclipse User |
|
|
|
I have been using Eclipse for a number of years, but this is an issue that isn't really tied to a project.
For most of my projects I have build scripts written for Ant. Some of those scripts use the ftp task to transfer files. I define the task with the tag:
<taskdef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.net.FTP" />
And make sure that the commons-net (currently commons-net-3.6.jar) is in the classpath.
In the past that was all I had to do. However, after upgrading to 2019-12, I am now getting a class not found error on the taskdef.
taskdef A class needed by class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found: org/apache/
commons/net/ftp/FTPConnectionClosedException using the classloader AntClassLoader[ < list of jars including the net-commons one> ]
Is there a different way to call the ftp task in Ant scripts?
Thanks,
Michael
[Updated on: Thu, 13 February 2020 14:03] by Moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09483 seconds