ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: HOWTO: ftp task in NetComponents.jar?
Date Wed, 24 Sep 2003 12:43:44 GMT
Hi,
can you check if org/apache/tools/ant/taskdefs/optional/net/FTP.class is
present in the optional.jar file ?
Otherwise I do not know.
Antoine

-----Ursprüngliche Nachricht-----
Von: Sören Edzen [mailto:soren@edzen.org]
Gesendet: Mittwoch, 24. September 2003 13:21
An: Ant Users List
Betreff: HOWTO: ftp task in NetComponents.jar?


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



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


Mime
View raw message