[cvsnt] Not able to checkout code from repository
Gaurav Chhabra
messagegc at gmail.com
Wed Nov 12 10:23:37 GMT 2008
Hi,
I am trying to checkout the branch code and build it but it's not working.
There is some authorization issue which I have mentioned below. I don't know
why this is happening. :(
I was able to successfully checkout the branch code two days before and
build it. Also if I try using the same login name (gchhabra) to checkout the
branch code using command prompt then it's working fine.
cvs co -r TC_SIT1-RB_06112008 (This works fine when connected to repository
using login 'gchhabra')
Error Report:
----------------------------------------------------------------
F:\TC_CIT_BuildArea>ant -f tc-cit-build.xml
Buildfile: tc-cit-build.xml
build:
[delete] Deleting directory
F:\TC_CIT_BuildArea\CodeCheckOut\TC_Repository_Code
[cvs] Empty password used - try 'cvs login' with a real password
[cvs] cvs [checkout aborted]: authorization failed: server XX.XX.XX.XX
rejected access to /code/TC for user gchhabra
BUILD FAILED
F:\TC_CIT_BuildArea\tc-cit-build.xml:22: The following error occurred while
executing this line:
java.io.FileNotFoundException:
F:\TC_CIT_BuildArea\CodeCheckOut\TC_Repository_Code\ant\build.xml (The
system cannot find the path specified)
Total time: 18 seconds
----------------------------------------------------------------
Content of 'tc-cit-build.xml':
----------------------------------------------------------------
<?xml version="1.0" ?>
<project name="TCBuild" default="build" basedir="CodeCheckOut" >
<target name="build">
<delete dir="TC_Repository_Code" />
<cvs cvsRoot=":pserver:gchhabra@ XX.XX.XX.XX:/code/TC"
package="TC_Repository_Code"
command="checkout -r TC_SIT1-RB_06112008" />
<ant
antfile="F:/TC_CIT_BuildArea/CodeCheckOut/TC_Repository_Code/ant/build.xml"
inheritAll="false" target="war" />
</target>
</project>
----------------------------------------------------------------
We have one build area on the same machine on which the CVS repository is
present. The environment that I am trying to build above is on a different
machine and is handled by one more guy. Is there something missing or
something unintentionally modified? I am not able to find out anything
wrong. :(
Can anyone please guide me on this?
Regards,
Gaurav
More information about the cvsnt
mailing list