This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Author

CVS Login problem with ANT script

Siri Reddy
Greenhorn

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
drifter
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 ]
 
jQuery in Action, 2nd edition
 
subject: CVS Login problem with ANT script
 
Similar Threads
unable to checkout using CVS
Does ant support CVS with ssh mode?
ClearCase related tasks in Ant
Connect to CVS via Ant
Ant CVS checkout task error=2 - and my PATH is set!?