You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Derrick Simpson <a1...@gmail.com> on 2006/09/01 22:29:52 UTC

CVS checkout with ANT

I'm trying to do a simple checkout from cvs, and I get the following error

  [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: No such file or
directory


I am getting a /CVSROOT appended onto the end.  I do not have access to
change this myself.


Here's the code.


    <target name="checkout">
        <cvspass cvsroot=":extssh:userID@hostname:/usr/local/cvsroot"
password="password"/>
        <cvs command="checkout" package="TestCVS" append="false"
cvsroot="/usr/local/cvsroot" dest="c:/temp"/>
    </target>



Thanks for the help.

Re: CVS checkout with ANT

Posted by Derrick Simpson <a1...@gmail.com>.
Yes, there is a CVSROOT directory under /usr/local/cvsroot/ .  I'm not sure
why I'm getting that error.

I dont't think I'm getting properly authenticated.  When I try doing a
commit, I get:

      [cvs] Using cvs passfile: C:\Documents and Settings\dsimp0\.cvspass
      [cvs] The server's host key is not cached in the registry. You
      [cvs] have no guarantee that the server is the computer you
      [cvs] think it is.
      [cvs] The server's key fingerprint is:
      [cvs] ssh-rsa 1024 7e:ee:32:4d:fc:b9:64:33:1a:45:44:26:54:bb:bd:bd
      [cvs] If you trust this host, hit Yes to add the key to
      [cvs] PuTTY's cache and carry on connecting.
      [cvs] If you want to carry on connecting just once, without
      [cvs] adding the key to the cache, hit No.
      [cvs] If you do not trust this host, hit Cancel to abandon the

I tried connecting via ext through putty, but I can't seem to get connected.


Thanks

On 9/2/06, Petar Tahchiev <pa...@gmail.com> wrote:
>
> On 01/09/06, Derrick Simpson <a1...@gmail.com> wrote:
> > I'm trying to do a simple checkout from cvs, and I get the following
> error
> >
> >   [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: No such file
> or
> > directory
> >
> >
> > I am getting a /CVSROOT appended onto the end.  I do not have access to
> > change this myself.
> >
> >
> > Here's the code.
> >
> >
> >     <target name="checkout">
> >         <cvspass cvsroot=":extssh:userID@hostname:/usr/local/cvsroot"
> > password="password"/>
> >         <cvs command="checkout" package="TestCVS" append="false"
> > cvsroot="/usr/local/cvsroot" dest="c:/temp"/>
> >     </target>
> >
> >
> >
> > Thanks for the help.
> >
> >
>
> I assume that your cvs-repository is not set up correctly. A
> repository is split in two parts. `$CVSROOT/CVSROOT' contains
> administrative files for CVS. The other directories contain the actual
> user-defined modules. Is there a CVSROOT directory in your $CVSROOT?
> If you are not sure how to initialize a cvs repository I recommend you
> reading [1].
>
>
> [1] http://ximbiot.com/cvs/manual/cvs-1.11.13/cvs_toc.html#SEC_Contents
> --
> Regards, Petar!
> Karlovo, Bulgaria.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Re: CVS checkout with ANT

Posted by Petar Tahchiev <pa...@gmail.com>.
On 01/09/06, Derrick Simpson <a1...@gmail.com> wrote:
> I'm trying to do a simple checkout from cvs, and I get the following error
>
>   [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: No such file or
> directory
>
>
> I am getting a /CVSROOT appended onto the end.  I do not have access to
> change this myself.
>
>
> Here's the code.
>
>
>     <target name="checkout">
>         <cvspass cvsroot=":extssh:userID@hostname:/usr/local/cvsroot"
> password="password"/>
>         <cvs command="checkout" package="TestCVS" append="false"
> cvsroot="/usr/local/cvsroot" dest="c:/temp"/>
>     </target>
>
>
>
> Thanks for the help.
>
>

I assume that your cvs-repository is not set up correctly. A
repository is split in two parts. `$CVSROOT/CVSROOT' contains
administrative files for CVS. The other directories contain the actual
user-defined modules. Is there a CVSROOT directory in your $CVSROOT?
If you are not sure how to initialize a cvs repository I recommend you
reading [1].


[1] http://ximbiot.com/cvs/manual/cvs-1.11.13/cvs_toc.html#SEC_Contents
-- 
Regards, Petar!
Karlovo, Bulgaria.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: CVS checkout with ANT

Posted by Stephen McConnell <mc...@dpml.net>.
Derrick:
All of the Ant's content is available under SVN.
http://svn.apache.org/repos/asf/ant/core/trunk
/Steve.

 

> -----Original Message-----
> From: Derrick Simpson [mailto:a1programmer@gmail.com] 
> Sent: Saturday, 2 September 2006 6:00 AM
> To: user@ant.apache.org
> Subject: CVS checkout with ANT
> 
> I'm trying to do a simple checkout from cvs, and I get the 
> following error
> 
>   [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: 
> No such file or directory
> 
> 
> I am getting a /CVSROOT appended onto the end.  I do not have 
> access to change this myself.
> 
> 
> Here's the code.
> 
> 
>     <target name="checkout">
>         <cvspass cvsroot=":extssh:userID@hostname:/usr/local/cvsroot"
> password="password"/>
>         <cvs command="checkout" package="TestCVS" append="false"
> cvsroot="/usr/local/cvsroot" dest="c:/temp"/>
>     </target>
> 
> 
> 
> Thanks for the help.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org