I am trying to use the ftp task. I read through
several mail archives and couldn't find the answer, so
here goes...
when I try:
<target name="ftp">
<ftp server="servername"
userid="username"
password="password"
remotedir="/somedirectory"
depends="yes"
verbose="yes">
<fileset dir="c:/classdir">
<include name="*.class" />
</fileset>
</ftp>
</target>
I get the following:
build.xml:111: 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).
The optional.jar file is in my ANT_HOME. I'm using
ant1.2 and jdk1.1.8... hmmm is that my problem? Should
I use jdk1.3? And if so, how do I use jdk1.3 to
execute ant and then jdk1.1.8 to compile my code?
Thanks,
Craig
=====
email : [EMAIL PROTECTED]
homepage : http://craig_comstock.tripod.com/
palm-linux : http://palm-linux.sourceforge.net/
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/