Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 54006 invoked from network); 17 Aug 2004 17:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Aug 2004 17:17:32 -0000 Received: (qmail 93698 invoked by uid 500); 17 Aug 2004 17:17:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 93524 invoked by uid 500); 17 Aug 2004 17:17:21 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 93510 invoked by uid 99); 17 Aug 2004 17:17:20 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=WEIRD_QUOTING X-Spam-Check-By: apache.org Received: from [64.58.65.32] (HELO out003.iad.hostedmail.net) (64.58.65.32) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 10:17:19 -0700 Received: from in001.iad.hostedmail.net ([10.158.14.182]) by out003.iad.hostedmail.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 17 Aug 2004 13:18:32 -0400 Received: from strikebreaker ([68.65.197.70]) by in001.iad.hostedmail.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 17 Aug 2004 13:18:32 -0400 Reply-To: From: "Nikola Banovic" To: "'Ant Users List'" Subject: CVS Task Fails To Execute Date: Tue, 17 Aug 2004 10:15:25 -0700 Message-ID: <001601c4847d$ca043bb0$dc3c030a@strikebreaker> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <41223628.3020503@apache.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-OriginalArrivalTime: 17 Aug 2004 17:18:32.0103 (UTC) FILETIME=[38731B70:01C4847E] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, When I try to access a CVS repository I get the following error: [cvs] Caught exception: CreateProcess: cvs -d:ext:me@anIP:/path/to/aRepository checkout -r r1_0_0 aModule error=2. The unusual part of it is that the cvs.exe file is in the path (I can checkout files if I copy and paste the command in the command prompt). I'm running CVS client that comes with cvsnt 2.0.51 on Win2000. The CVS_RSH system variable is set to a batch script (it is set to a full path of the script file) that calls PuTTY's plink.exe (also full path) with appropriate arguments. The following is content of the batch file: @echo off set CMD_LINE_ARGS= :setArgs if ""%1""=="""" goto doneSetArgs set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1 shift goto setArgs :doneSetArgs "C:\Program Files\PuTTY\plink.exe" -ssh -pw aPsswd %CMD_LINE_ARGS% I'm using ant 1.6.2 (I also tried the version that comes with Eclipse 2.1.3). I found a lot of posts on this topic, however none of them answered my question. Please let me know if you have a solution to this problem. Thanks. Nikola --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org