Firstly, please dont send emails to ant dev or tomcat dev when you have an ant user question. You are less likely to get helpful replies.
Secondly, I think your problem is that ant couldnt create the FTP task because it couldnt find the task or a class it depends on. You should put the optional.jar and all required libraries of this task in the lib directory of your ant installation (ANT_HOME). i.e. what was so wrong with the error message that you had to mail it two developer groups instead of reading it, parsing it and doing what it suggests. -steve ----- Original Message ----- From: "Atluri, Vamsi NYC" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[email protected]> Sent: Thursday, January 31, 2002 11:12 Subject: ftp task in ANT > I have been having problems with the ANT ftp task > > when i do the following: > > <ftp server="myserver" > port="2121" > > remotedir="/export/home/vatluri/application/citco/cas/webapps/cas" > userid="name" > password="name" > binary="yes" > > > <fileset dir="${buildCas}"> > <include name="**/xml.tar"/> > </fileset> > </ftp> > > i recieve the following: > > BUILD FAILED > C:\webadmin.xml:140: Could not create task or type of type: ftp. > Ant could not find the task or a class this > task relies upon. > Common solutions are to use taskdef to declare > your task, or, if this is an optional task, > to put the optional.jar and all required libraries of > this task in the lib directory of > your ant installation (ANT_HOME). > There is also the possibility that your build file > is written to work with a more recent version of ant > than the one you are using, in which case you have to > upgrade. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
