This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CVS Login problem with ANT script