ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pingli" <>
Subject RE: about CVS
Date Thu, 27 Feb 2003 18:39:39 GMT
You are so right, I add cvs.exe into path, and everything is ok.
thank you so much.

-----Original Message-----
From: Jesse Stockall []
Sent: Wednesday, February 26, 2003 4:59 PM
To: Ant Users List
Subject: Re: about CVS

On Wednesday, February 26, 2003, at 02:35 PM, pingli wrote:
> hello,
> I am beginer of ANT and want to use cvs. I write a task like:
> <target name="checkout" description="Update package from CVS">
>         <cvs cvsroot="${cvs.repository}" package="${cvs.package}"
> dest=".."/>
>     </target>
> and have defined cvs.repository and cvs.package. but when I run it, it 
> give
> the error message:
> checkout:
>       [cvs] Caught exception: CreateProcess:
> cvs -d:pserver:ping@cvs.cpsc.ucalga
> checkout Helloworld error=2

Is cvs(.exe) in your path? CreateProcess error #2 often means that Ant 
can't find the executable you are trying to run.

If you run with '-debug' what do you see?

Jesse Stockall -
CRYPTOCard Corp.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message