ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Chandler" <a...@riftware.com>
Subject RE: ANT's CVS Task
Date Fri, 20 Jun 2003 15:26:16 GMT
Do you have the command line version of cvs in the path?
If yes, have you logged in at least once using the command line so
that it creates your password file?

cvs works fairly well for us but it does seem to rely on the external
cvs.exe and you have to get it logged in at least once to your repository so
assuming you
have it (although looking now I'm not sure that applies to anonymous cvs
but...)

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login
will prompt for password and I think you can type most anything here.
Once thats done and the cvs.exe is in your path try running the ant task
again.

-----Original Message-----
From: andreiv3103 [mailto:andreiv@ubm.ro]
Sent: Friday, June 20, 2003 3:19 AM
To: ant-user@jakarta.apache.org
Subject: ANT's CVS Task


Hello
I'm new to ANT and I am trying to use the ANT's CVS task to retrieve
some sources from a CVS server. I wrote a simple build.xml file but
after running it I get the folowing message:

D:\ANT_TESTS>ant
Buildfile: build.xml

init:
      [cvs] Caught exception: CreateProcess: cvs -
d:pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout ant error=2

BUILD SUCCESSFUL
Total time: 1 second

Can you tell my why I get this error from the CVS task?

And another question. Because the CVS task doesn't work, I tried to
use the APPLY Task to run an external CVS checkout tool, such as CVS
tortoise (cvs95.exe is the executable) but I wasn't able to do it.
Can you give me an idea?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message