See the manual: http://ant.apache.org/manual/CoreTasks/cvs.html """ Important: This task needs "cvs" on the path. If it isn't, you will get an error (such as error 2 on windows). If <cvs> doesn't work, try to execute cvs.exe from the command line in the target directory in which you are working. """
On 6/26/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
Is there a cvs binary that needs to be installed? I didnt see this in ant distro?! Thanks! M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Robert Clark" <[EMAIL PROTECTED]> To: "Martin Gainty" <[EMAIL PROTECTED]> Cc: <user@ant.apache.org> Sent: Tuesday, June 26, 2007 4:59 PM Subject: Re: ant cvs error > On Tuesday June 26, 2007, "Martin Gainty" <[EMAIL PROTECTED]> wrote: >> when running the ant cvs task example from the book >> <cvs cvsRoot=":pserver:[EMAIL PROTECTED]:/home/cvspublic" >> package="ant" >> dest="." >> /> >> >> I get >> svn_checkout: >> [cvs] Caught exception: CreateProcess: cvs >> -d:pserver:[EMAIL PROTECTED] rg:/home/cvspublic checkout ant >> error=2 >> >> what does this error mean??? > > On Windows, "CreateProcess ... error=2" generally means that the > executable was not found. Make sure that the directory containing > cvs.exe is in the path when you run Ant, or provide the full path to > the executable in the <cvs/> task. > > - Rob > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]