File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes CVS Login problem with ANT script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "CVS Login problem with ANT script" Watch "CVS Login problem with ANT script" New topic

CVS Login problem with ANT script

Siri Reddy

Joined: Oct 20, 2006
Posts: 17
Hi All,
I am trying to check out the source from cvs,i have given cvs root:

<cvs cvsroot="${cvsroot}" quiet="true"
command="checkout -P"
dest="${build}" compression="true" />

where can i give the password, if i metioned in same tab its giveing error not supporting..

please guide me how can i give cvs password in ant script..

thanks in adavance
Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Have you been able to do a cvs checkout on the commandline? What command did you use and how did you supply the password?

What does your cvsroot look like? What protocol are you using, pserver?

What have you tried? Did you try the cvspass task or the passfile attribute of the cvs task or putting the password in cvsroot like :pserver:USER:PASSWORD@server:/path/to/cvsroot
[ November 07, 2006: Message edited by: Carol Enderlin ]
I agree. Here's the link:
subject: CVS Login problem with ANT script
Similar Threads
Does ant support CVS with ssh mode?
unable to checkout using CVS
ClearCase related tasks in Ant
Connect to CVS via Ant
Ant CVS checkout task error=2 - and my PATH is set!?