Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CVS Login problem with ANT script

 
Siri Reddy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic