You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Guruprasad R <gu...@gmail.com> on 2005/12/05 13:29:18 UTC

CVS Task

Hi all,

I have written a build file that does a checkout from the CVS. But, when i
invoke ant command for the written build file, i get an error message as

 *[cvs] Using cvs passfile: C:\Documents and Settings\admin\.cvspass*
* [cvs] Caught exception: CreateProcess: cvs -d:pserver:username@IP:path
checkout -rRelease1.1 Loop error=2*
**
I have copied the build file below.

<project name = "getsrc" default = "getfromcvs" basedir = ".">

 <property file = "cvs.properties"/>

  <target name = "getfromcvs">
     <cvs package = "Loop"
      cvsroot = ":pserver:username@IP:/usr/local/comp/"
      dest = "${des}"
      command = "checkout"
      tag = "Release1.1"/>

     <cvspass cvsroot = ":pserver:username@IP:/usr/local/comp/"
      password = "pwd"
      passfile = ".cvspass"/>
  </target>

</project>

Thanks for the help in advance.

Re: CVS Task

Posted by James Abley <ja...@volantis.com>.
Is cvs on your PATH?

On Mon, 2005-12-05 at 12:29, Guruprasad R wrote:
> Hi all,
> 
> I have written a build file that does a checkout from the CVS. But, when i
> invoke ant command for the written build file, i get an error message as
> 
>  *[cvs] Using cvs passfile: C:\Documents and Settings\admin\.cvspass*
> * [cvs] Caught exception: CreateProcess: cvs -d:pserver:username@IP:path
> checkout -rRelease1.1 Loop error=2*
> **
> I have copied the build file below.
> 
> <project name = "getsrc" default = "getfromcvs" basedir = ".">
> 
>  <property file = "cvs.properties"/>
> 
>   <target name = "getfromcvs">
>      <cvs package = "Loop"
>       cvsroot = ":pserver:username@IP:/usr/local/comp/"
>       dest = "${des}"
>       command = "checkout"
>       tag = "Release1.1"/>
> 
>      <cvspass cvsroot = ":pserver:username@IP:/usr/local/comp/"
>       password = "pwd"
>       passfile = ".cvspass"/>
>   </target>
> 
> </project>
> 
> Thanks for the help in advance.

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