Re: cvs repository on localhost

Milos Kleint <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
and the :server: support as it is in ServerConnection is kind of 
experimental, so I would not reccoent to use it.
:pserver: is currently the only really supported access method.


Milos

Thomas Singer wrote:
> 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
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.