Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 83577 invoked from network); 27 Apr 2010 15:52:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 15:52:42 -0000 Received: (qmail 26118 invoked by uid 500); 27 Apr 2010 15:52:41 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 26080 invoked by uid 500); 27 Apr 2010 15:52:41 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 26072 invoked by uid 99); 27 Apr 2010 15:52:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 15:52:41 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of qazwart@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-px0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 15:52:33 +0000 Received: by pxi19 with SMTP id 19so2077964pxi.4 for ; Tue, 27 Apr 2010 08:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=YG5esNW8u9YAlVkgtwXaYcmGV+UtX4VtK2imG/H97hw=; b=B6g8z8uFVNHsNdBGsCxrUcqeKoWocXvtoZ+V9nJU9LF1huFgiX7ZhtLLYzW84fpbyu 8h1Ub9k8IWYHvotOpFNvuCfywmJR3ThuicO2Ic4uFnaWCXDyLDzOLOJK3z4u2ZBRKc82 YRfAE50CyEYYqz76r/FyTbUkW6rHKZDK5lF4Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ALNUHdrzD2ka3NKgQp7bsQOoHKyxAx6Pq97QVk1GtDqLbmnk/fNUcXqM0TycMaokDE tS+WvVi0ehrYYXk+DIIeTj0bvRUpFrxpyxhrf1yGdNydISWZEIdD/Q5gyTa0uquasvt+ GJAfy2Zca1RUk1Li05J9KwyIqWLG3XrGOzagw= MIME-Version: 1.0 Received: by 10.141.139.11 with SMTP id r11mr1678072rvn.61.1272383530377; Tue, 27 Apr 2010 08:52:10 -0700 (PDT) Received: by 10.231.39.205 with HTTP; Tue, 27 Apr 2010 08:52:10 -0700 (PDT) Date: Tue, 27 Apr 2010 11:52:10 -0400 Message-ID: Subject: SCP Task From: David Weintraub To: Ant Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Does the SCP task work? We use Ant 1.7 and recently tried the task. We included the jsch.jar, but we got the following error: BUILD FAILED /Users/david/test/build.xml:5: Problem: failed to create task or type scp Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found. This looks like one of Ant's optional components. Action: Check that the appropriate optional JAR exists in -/usr/share/ant/lib -/Users/david/.ant/lib -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 org.apache.tools.ant.taskdefs.optional.ssh.Scp 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 qazwart@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org