This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes unable to checkout using CVS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "unable to checkout using CVS" Watch "unable to checkout using CVS" New topic
Author

unable to checkout using CVS

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

Hi I made the .cvspass file using the ant target as following

<target name="addpass">
<cvspass cvsroot=" server:username@servername:/rootdirectory"<br /> password="mypassword"<br /> />
</target>

Then I am trying to checkout using the following command

<target name="cvscheckout">
<mkdir dir="${cvsdest}"/>
<cvs cvsRoot=" server:username@servername:/rootdirectory"<br /> dest="${cvsdest}"<br /> />
</target>

but I am getting following error

cvs:
[cvs] Using cvs passfile: C:\Documents and Settings\username\.cvspass
[cvs] Empty password used - try 'cvs login' with a real password
[cvs] cvs [checkout aborted]: authorization failed: server servername rejected access to /rootdirectory for user username

Please help me to resolve this. I have googled but I didnt find any solution for this

thanks in advance
santosh


santhosh<br />SCJP,SCWCD
santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

It seems my xml tag has been changed iam writing the complete tags now

Hi I made the .cvspass file using the ant target as following

"<target name="cvs">
<mkdir dir="${cvsdest}"/>
<cvs cvsRoot="\ server:username@servername:/rootdirectory"<br /> password="mypassword"<br /> />


Then I am trying to checkout using the following command



"<target name="addpass">
<cvspass cvsroot="\ server:username@servername:/rootdirectory"<br /> dest="${cvsdest}"<br /> />


but I am getting following error

cvs:
[cvs] Using cvs passfile: C:\Documents and Settings\username\.cvspass
[cvs] Empty password used - try 'cvs login' with a real password
[cvs] cvs [checkout aborted]: authorization failed: server servername rejected access to /rootdirectory for user username

Please help me to resolve this. I have googled but I didnt find any solution for this

thanks in advance
santosh
santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

It seems my xml tag has been changed iam writing the complete tags now

Hi I made the .cvspass file using the ant target as following

<target name="cvs">
<mkdir dir="${cvsdest}"/>
<cvs cvsRoot=":pserver:username@servername:/rootdirectory"<br /> password="mypassword"<br /> />


Then I am trying to checkout using the following command



<target name="addpass">
<cvspass cvsroot=":pserver:username@servername:/rootdirectory"<br /> dest="${cvsdest}"<br /> />


but I am getting following error

cvs:
[cvs] Using cvs passfile: C:\Documents and Settings\username\.cvspass
[cvs] Empty password used - try 'cvs login' with a real password
[cvs] cvs [checkout aborted]: authorization failed: server servername rejected access to /rootdirectory for user username

Please help me to resolve this. I have googled but I didnt find any solution for this

thanks in advance
santosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to checkout using CVS
 
Similar Threads
Connect to CVS via Ant
Ant CVS checkout task error=2 - and my PATH is set!?
Ant and CVS
ANT + CVS (ext)
CVS Login problem with ANT script