ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 693] New - ftp task in ant does not work
Date Fri, 23 Feb 2001 21:04:35 GMT
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: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: jason.oglesby@nextjet.com                                    |
+ +----------------------------------------------------------------------------+
+ |          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="me@myorg.com"
+        depends="yes"
+   >
+     <fileset dir="htdocs/manual" />
+   </ftp>
+ 
+ 
+   </target>
+ </project>

Mime
View raw message