ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Jia <b...@brightspark.com>
Subject cvs at ant
Date Wed, 06 Mar 2002 21:24:43 GMT

I tried to check a module with ant from CVS, my client is at Win2000, my
build file like this
<project name="Project" default="checkout" basedir=".">

      <property name="CVSROOT" value=":pserver:bjia@src:/var/local/cvs"/>

      <property name="passfile" value="D:/CVSClient/.cvspass"/>

   <target name="checkout">
      <cvs cvsRoot="${CVSROOT}"
       package="code"
       dest="code"
       passfile="${passfile}"
       />
   </target>
</project>

but when I run it it shows me following error:
"masterbuild.xml:12: java.io.IOException: CreateProcess: cvs -d
:pserver:bjia@src:/var/local/cvs checkout code error=267"
but if I run manually :"cvs -d :pserver:bjia@src:/var/local/cvs checkout
code" in same dos terminal, it works,
why it does not work in Ant ?
Thanks

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