Re: cvs repository on localhost
Thomas Singer <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello DD,
JavaCVS does not support the :local: mode, because it would require a lot
of effort to built in the necessary server functionality. But it is VERY
easy to setup a CVS-pserver. If you are on Windows, take a look at
www.cvsnt.org .
BTW, it's not recommended to use :local: mode for serious development
because the repository much easier can be corrupted.
Tom
At 14:10 29.04.02 +0200, you wrote:
>Hello,
>
>I have cvs server on my machine and I can use it in command line.
>But I don't know how can I do it with netbeans client.
>I have client, which works well with remote host (:pserver)
>I have replaced PServerConnetion with ServerConnection and it doesn't work
>:(
>Should I change anything else?
>Here is my code:
>
>this.sconnection = new ServerConnection();
>this.sconnection.setRepository(module);
>try {
> this.sconnection.open();
>} catch (AuthenticationException ae) {
> ae.printStackTrace();
>}
>this.client = new Client(this.sconnection, new StandardAdminHandler())
>client.setLocalPath(this.localPath);
>listener = new CVSBasicListener();
>
>Best regards,
>DD