ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <>
Subject SCP Task
Date Tue, 27 Apr 2010 15:52:10 GMT
Does the SCP task work? We use Ant 1.7 and recently tried the <scp>
task. We included the jsch.jar, but we got the following error:

/Users/david/test/build.xml:5: Problem: failed to create task or type scp
Cause: the class was not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

It appears that none of the jars in the $ANT_HOME/lib directory
contains the class even
though the scp task is defined in the ant.jar.

Is this a bug in Ant 1.7? Am I suppose to include another JAR file
that includes this classsfile?

Never used the scp task before.

David Weintraub

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message