[cvsnt] Java client

Tony Hoyle tmh at nodomain.org
Fri Jan 24 19:50:33 GMT 2003

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

Brett Smith wrote:

> Hi,
> I am the author of a Java CVS client called Gruntspud
> (http://gruntspud.sourceforge.net). There have been several requests
> from people wishing to use the :ntserver protocol, something which
> Gruntspud does not currently support.
> The NetBeans cvs client library is used, which provides a simple API for
> adding new protocols, but I have little idea what needs to be done to
> implement the ntserver protocol preferably in Java alone.
> If anyone has any advice, or wishes to help out with this, it would be
> greatly appreciated.
ntserver is just a connection to a named pipe (\\host\pipe\CVS_PIPE),
followed by sending BEGIN_NTSERVER\n<root>\n.

sspi is preferable (ntserver is going away eventually), as it connects over
TCP/IP, and works over the internet.  You make the connection as normal,
send BEGIN SSPI\nNTLM\n then start a windows NTLM security negotiation. 
For details see the xxx_connect funtions in protocols\ntserver.c and

It might be easier to make a JNI interface to the protocol DLLs, since then
all the hard work is done and all you have to do is call them.


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook