File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CVS Login problem with ANT script