What operating system?

If win2k be sure that the cvs diretory is in the path for the user running ant:
 path=... C:\Program Files\GNU\WinCvs 1.2;

and that the .cvspass file is in the windows user dir:
    C:\Documents and Settings\username\.cvspass
 
We were running wincvs fine but it took making these two changes to finally get the 
ant <cvs> task to work. 

(We noticed that the error messages from cvs and ant were not very helpful.)


-James




-----Original Message-----
From: Sonnek, Ryan [mailto:Ryan.Sonnek@;bpc.com]
Sent: Tuesday, November 05, 2002 7:53 AM
To: 'Ant Users List'
Subject: cvs task requirements


are there any required libraries for running the cvs task?  i'm unable to
run it successfully through ant, although usint Forte, i'm able to connect.
does anyone know what the following error message means?  thanks for the
help.

build.xml:
  <target name="init-cvs" depends="init" if="project.build.init-cvs">
    <echo message="Connect to CVS server to download latest resources" />
    <cvs cvsRoot=":pserver:[EMAIL PROTECTED]:/src/master"
package="${project.name}" />
  
  </target>

log:
init-cvs:
     [echo] Connect to CVS server to download latest resources
      [cvs] Caught exception: CreateProcess: cvs
-d:pserver:[EMAIL PROTECTED]:/src/master checkout bcs error=2

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to