This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

unable to checkout using CVS

 
santhoshkumar samala
Ranch Hand
Posts: 156
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
santhoshkumar samala
Ranch Hand
Posts: 156
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 156
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic