ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sören Edzen <so...@edzen.org>
Subject HOWTO: ftp task in NetComponents.jar?
Date Wed, 24 Sep 2003 11:21:03 GMT
When I try to use the <ftp> task in NetComponents.jar I get the 
following error msg:
[snip]
ftp-deploy:
|| 
|| BUILD FAILED
|| file:/home/soredz/prj/_cvs/edzen.net/./build.xml:49: Could not create 
|| task or type of type: ftp.
|| 
|| Ant could not find the task or a class this task relies upon.
|| 
[/snip]
I have the following in my build.xml:

[snip]
<target name="ftp-deploy">
    <ftp server="${ftp.server}"
	remotedir="${ftp-deploy.home}"
	userid="${ftp.id}"
	password="${ftp.passwd}"
	depends="true"
	binary="true"
	verbose="true"
    >
    <fileset dir="${build.home}">
	<include name="**/*.*"/>
	<exclude name="**/CVS"/>
	<exclude name="**/build.*"/>
    </fileset>
</ftp>
[/snip]

The NetComponents.jar is in $ANT_HOME/lib and so is optional.jar
The version of ant is 1.5.4
I thouht that all you had to do to use the <ftp> task was to put the 
NetComponents.jar in $ANT_HOME/lib and make sure that the optional.jar 
also was in there, or is there something else you have to do?

TIA Sören
-- 
Sören Edzen, Sweden

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message