File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to checkout using CVS

 
santhoshkumar samala
Ranch Hand
Posts: 156
Eclipse IDE Hibernate Spring
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic