• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

CVSNT and Eclipse

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to setup CVSNT under Eclipse, both on my local machine.
With CVSNT I created a repository under C:\CVS

In Eclipse, repository view, I try to create a connection:
Location: Host=ALEXANDRIA (name of my computer)
Repository Path=C:\CVS

Authertication: User=[windows username] (is this correct? have not setup any users under CVSNT)
Password=[windows password]

Connection: connection type=pserver
x user default port

Error message: "Error validating location: I/O exception occured: connection refused: C:/cvs no such repository"

Obviously CVSNT was running (both service and lock service).

What is wrong here ?
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you initialize the repository?
 
Jan van Doorn
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Nathaniel,

First I created the repository from the command prompt...
cvs -d :local:c:\cvs init
... and checked that the CVS tree was there, starting with CVSROOT.

Then started CVSNT control panel and added the newly created repository in the repositories tab.

Next I tried to register the new repository in Eclipse, with the result as described in my first post.
 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jan,

Try the following:
HOST = localhost
PORT = <the CVS server port you can see in the CVS service control panel>
Repository Path= /CVS

And don't forget to let CVS know that the window user
may access the repository. This is done under the
DOS-prompt with the appropriate cvs command.

Try it and let us know.

Cheers,

Gian Franco Casula
 
Jan van Doorn
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Gian,

Interesting advice... I got a bit further, however in eclipse, while trying to setup a connection I get the following error message:

CVSNT repository: ' server:Administrator@localhost:2401/cvs' is configured to use a repository prefix. However, CVSNT does not always properly communicate resource paths in this mode resulting in the failure of some specialized Eclipse CVS operations. The use of a repository prefix should be disable if the full functionality of the Eclipse CVS is desired.
 
Jan van Doorn
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hopla, found it !!

Did a bit of googling on this 'repository prefix' thingy, found this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=39516

------- Additional Comment #2 From Michael Valenta 2004-06-16 16:46 -------
This has been fixed in CVSNT. Enable repository prefixes and on the Advanced
page of the CVSNT control panel, enable the "act like a Unix server" option.


Those 2 chechboxes finally did the trick, everything works !

Thanks very much for pointing in the right directory !

Cheers, Jan
 
Gian Franco
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome

Cheers,

Gian Franco Casula
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I'm experiencing exactly the same problem as the one you seem to have had and fixed. The only problem is that I can't find 'Enable repository prefixes' option anywhere:-(

Any help would be great....

(I'm running version 2.0.51d on WinXP)
[ September 08, 2004: Message edited by: J Arshad ]
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"xanadu2000",

We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
J Arshad
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hope this is OK. Excuse a new comer.

This seems like a useful forum, btw.

Jay
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello every one

i am new to this forum and CVS as well
i was trying for the same, that we are discussing.
i authenticised the user as well, still m getting the error 'Socket Exception: Connection Reset'

kindly guide for the same....

thanks
Amandeep Goyal
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi amandeep goyal and welcome to Javaranch,

Can you please post your question separately in a new topic, this thread is from 2004 and we don't like to WakeTheZombies .
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic