RAD/RSA/Eclipse and CVSNT

A colleague in ISSW was having problems getting Rational Software Architect v6.0.0.1 to talk to CVSNT.

Some people talk of me as "a CVS guru", although I'm not sure I'd go that far.

There has been a long-running issue with Eclipse not fully supporting CVSNT (or maybe it is the other way round!). CVSNT is a fork of the UNIX CVS code, integrated more closely with Windows, and it doesn't quite work the same as vanilla CVS. When an issue arose way back in the mists of time between Eclipse and CVSNT, the Eclipse project decided to stop supporting CVSNT. I'm not claiming to know the history here, but I do know that there were Eclipse bugs raised – go have a look in bugzilla at eclipse.org.

So we are now in a situation where, if you try to connect Eclipse 3.x (RAD, RSA etc.) to a CVSNT repository, you get told "CVSNT does not always properly communicate resource paths in this mode resuliting in failure of some specialized Eclipse CVS operations. The use of a repository prefix should be disabled if the full functionality of the Eclipse CVS client is desired."

However – it can be made to work – and I've personally found no issues.
There are three options (listed here in decreasing order of difficulty, so go with option 3 and work backwards!)

  1. Obtain one of the earlier version of CVSNT. Until recently, I used 2.0.51d. There are archived versions at http://www.cvsnt.org/archive/ – but it looks like the earliest version now available is 2.0.58. If you run one of these versions you will still see the error, but there is a CVSNT option "Act like a Unix server". If you set that option, the error will disappear.
  2. Instead of using the "Act like a Unix server" option, you can set the Repository name and location (both fields) to have the drive prefix (like "C:/cvsrepository"). CVSNT will issue a warning, but Eclipse will work fine. I believe that this works in both 2.0.51 and the latest, 2.5.0.1.1076.
  3. Set the "Respond as cvs 1.11.2 to version request" option on the Compatibility tab in CVSNT 2.5.0.1.1076. You should also ensure that "Emulate '-n checkout' bug" is set (which it usually is by default).

Hope that this information helps someone out there.

Advertisements

5 responses to “RAD/RSA/Eclipse and CVSNT

  1. Gregg Bendtsen

    We are using RAD with Bowstreet and CVSNT. We have created a new project, which has been syncrhonized to the CVSNT server. We followed our documented process for another developer (which is me, by the way) to create a project and synchronize it to CVSNT, receiving the new project that the other developer (let’s call him Justin Morneau, for argument’s sake) created and synchronized to CVSNT.

    I am not having luck doing this. After attempting to Override and Update, I get these messages. Any ideas? I don’t remember having this issue before and am having trouble resolving.

    MESSAGE RESOURCE
    Project version does not match Designer version
    The project cannot be built until build path errors are resolved
    Unable to read ‘.classpath’ file of project

    Like

  2. I can’t comment in detail, as I’ve not used Bowstreet. However, one thing I would note is that it is really important to add hidden files like .project and potentially .classpath to CVS when you do the initial commit. Might be useful? I’m not sure otherwise…

    Like

  3. Thank you.. Now it’s work…

    Like

  4. Hi, I am not able to see the files i checked in CVSNT through RAD. Any ideas what might be the reason. CVSNT v 2.5.03.2382. I can see all the folders but i cannot see the files in them.

    Like

  5. Really great solution….

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s