cvs.exe must be on your PATH Can you execute cvs -version from the same command line as "ant" ?
Jan >-----Ursprüngliche Nachricht----- >Von: Guruprasad R [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 5. Dezember 2005 13:29 >An: Ant Users List >Betreff: 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:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]:/usr/local/comp/" > dest = "${des}" > command = "checkout" > tag = "Release1.1"/> > > <cvspass cvsroot = ":pserver:[EMAIL PROTECTED]:/usr/local/comp/" > password = "pwd" > passfile = ".cvspass"/> > </target> > ></project> > >Thanks for the help in advance. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
