ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: CVS on Linux via SSH Problem from a Windows 2000 Machine
Date Thu, 21 Aug 2003 04:34:29 GMT
CVS on Linux via SSH Problem from a Windows 2000 MachineJohn-

I would use <exec>
with parameters of 
cmd.exe
cvs.exe
..

http://ant.apache.org/manual/CoreTasks/exec.html

Martin
  ----- Original Message ----- 
  From: Mattos, John 
  To: 'ant-user@jakarta.apache.org' 
  Cc: Mattos, John 
  Sent: Wednesday, August 20, 2003 10:11 AM
  Subject: CVS on Linux via SSH Problem from a Windows 2000 Machine




  Hi,

  I'm having a problem checking out code via ANT on my Windows 2000 machine. The CVS repository
and package are called indab and I access it through ssh. 

  Here is a snippet of my build.xml

  <!-- Snippet -->

  <property name="src" location="temp/src"/>

  <property name="dist" location="web"/>

  <property name="cvssrc" location="${src}/indabWeb/source"/>

  <property name="cvsRoot" value=":ext:jmattos@VC30:/usr/local/indab"/> <!-- FIXME
-->

  <property name="cvsRsh" location="lib\putty\plink.exe"/>

  <property name="passFile" location="lib\putty\rsa\key"/>

  <cvs command="checkout -N" cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}" 

      compressionlevel="9" 

      tag="${indab.label}"

                  passfile="${passFile}" package="indab" dest="${src}"/>

  <!-- End Snippet -->

  I get the following error:

  BuildException: C:\Program Files\IBM\Application Developer\workspace\IndabWeb\ant\build.xml:34:
java.io.IOException: CreateProcess: cvs -d :extssh:jmattos@vc30:/usr/local/indabweb checkout
IndabWeb/webApplication error=2.

  The package does exist, I can check it out using WinCVS, and I'm connected to the repository
in WSAD using that exact connection string.

  Anyone have any ideas?

  Here is a screenshot of the directory structure from which I'm working.



  <<ScreenHunter_001.jpg>> 

  John



------------------------------------------------------------------------------


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message