http://nagoya.apache.org/bugzilla/show_bug.cgi?id=693

*** shadow/693  Fri Feb 23 13:04:35 2001
--- shadow/693.tmp.22830        Fri Feb 23 13:04:35 2001
***************
*** 0 ****
--- 1,43 ----
+ +============================================================================+
+ | ftp task in ant does not work                                              |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 693                         Product: Ant                     |
+ |       Status: NEW                         Version: 1.2                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Major                    OS/Version:                         |
+ |     Priority: High                      Component: Optional Tasks          |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                   |
+ |  Reported By: [EMAIL PROTECTED]                                    |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Attempts to use the ftp task in ant (using example code from documentation) 
+ produces the following error:
+ 
+ C:\b2.xml:10: Could not create task of type: ftp because I can't find it in 
the
+ list of task class definitions.  Common solutions are: 1 execute 
bin/bootstrap.
+ 2 use taskdef to declare your task. 3 add the task to defaults.properties.
+ 
+ Total time: 0 seconds
+ 
+ Below I have a listing of the xml script used...
+ 
+ C:\>more b2.xml
+ <project name="RetrieveSource" default="all" basedir=".">
+   <target name="all">
+ 
+ 
+   <ftp server="ftp.apache.org"
+        remotedir="incoming"
+        userid="anonymous"
+        password="[EMAIL PROTECTED]"
+        depends="yes"
+   >
+     <fileset dir="htdocs/manual" />
+   </ftp>
+ 
+ 
+   </target>
+ </project>

Reply via email to