Eclipse, cvs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • esara123

    #1

    Eclipse, cvs

    Hi there
    I have 2 computer, one is winxp and eclipse (java IDE) is install on that
    machine (192.168.1.100) , and the other machine is Linux (fedora) -ip
    192.168.1.100) and the cvs installed there.. I did the following to install
    cvs
    [color=blue]
    >yum search cvs
    >yum install cvs[/color]
    Then I did the following configuration

    I logged on as a root
    1) went to /home and create a folder called cvs
    2) I did this --> export CVSROOT=:local:/home/cvs
    3) then --->cvs init
    4) created a file /etc/xinetd.d/cvspserver and put the following


    service cvspserver
    {
    socket_type = stream
    wait = no
    user = root
    group = cvsgroup
    env = HOME=/cvsrepo # Fixes RHL 7.0 problem!
    server = /usr/bin/cvs # Or path to your cvs binary
    server_args = -f --allow-root=<your cvs ropos root> pserver
    disable = no
    }

    5) I did the following
    service xinetd stop
    service xinetd start

    Then I went to the cvs client (Eclipse) and configure it as the following

    -host: 192.168.1.101
    -repository bath: /home/cvs
    -user: me (sometime i used root too)
    -password: whatever
    -connection: pserver


    I got error message "communicat ion error" (could not connect to
    192.168.1.101)
    Any help would be very much appreciate it . Thank a lot.



  • Oliver Wong

    #2
    Re: Eclipse, cvs


    "esara123" <esara123@hotma il.com> wrote in message
    news:wJ49f.58$J 14.15522@news20 .bellglobal.com ...[color=blue]
    > Hi there
    > I have 2 computer, one is winxp and eclipse (java IDE) is install on that
    > machine (192.168.1.100) , and the other machine is Linux (fedora) -ip
    > 192.168.1.100) and the cvs installed there.. I did the following to
    > install cvs[/color]

    You list both computers here as having the same IP. That's probably a typo,
    but it's typo like these that are crucial to solving the problem.
    [color=blue]
    >[color=green]
    >>yum search cvs
    >>yum install cvs[/color]
    > Then I did the following configuration
    >
    > I logged on as a root
    > 1) went to /home and create a folder called cvs
    > 2) I did this --> export CVSROOT=:local:/home/cvs
    > 3) then --->cvs init
    > 4) created a file /etc/xinetd.d/cvspserver and put the following
    >
    >
    > service cvspserver
    > {
    > socket_type = stream
    > wait = no
    > user = root
    > group = cvsgroup
    > env = HOME=/cvsrepo # Fixes RHL 7.0 problem!
    > server = /usr/bin/cvs # Or path to your cvs binary
    > server_args = -f --allow-root=<your cvs ropos root> pserver
    > disable = no
    > }
    >
    > 5) I did the following
    > service xinetd stop
    > service xinetd start
    >
    > Then I went to the cvs client (Eclipse) and configure it as the following
    >
    > -host: 192.168.1.101
    > -repository bath: /home/cvs
    > -user: me (sometime i used root too)
    > -password: whatever
    > -connection: pserver
    >
    >
    > I got error message "communicat ion error" (could not connect to
    > 192.168.1.101)
    > Any help would be very much appreciate it . Thank a lot.[/color]

    Are you able to ping the Linux machine from the Windows machine?

    - Oliver


    Comment

    • Terry Milan

      #3
      Re: Eclipse, cvs

      [color=blue]
      > 2) I did this --> export CVSROOT=:local:/home/cvs[/color]
      Should this be localhost ? ^[color=blue]
      > env = HOME=/cvsrepo # Fixes RHL 7.0 problem![/color]
      Would this br /home/cvs rather that /cvsrepo

      Also you didn't mention adding a pserver port to /etc/services.


      Comment

      Working...