Hi,
I've downloaded the NetComponent add-in for Ant in order to use the optional
FTP tag. I copied the NetComponents.jar file into the ANT_HOME\lib
directory on a Win95 machine and I have the following code in my build.xml:
<target name="deploy" depends="dist">
<!-- FTP to the server the final ${dist} file -->
<ftp server="myserver"
remotedir="/home/John"
userid="userid"
password="password">
<fileset dir="${dist}/lib"/>
</ftp>
</target>
But I get the following error when I run with "ant deploy" from the command
line:
build.xml:36: Could not create task of type: ftp. Common solutions are to
use taskdef to declare your task, or, if this is an optional task, to put
the optional.jar in the lib directory of your ant installation (ANT_HOME).
If anyone has any insight into what I am doing wrong I would greatly
appreciate it.
Thanks in advance,
John