Can't manage to integrate with CVS

I am new to CVS (migrating from VSS) and I want to test the integration with IDEA. It does not seem to work. Here is what I did.

Imported my project in repositary.
Gives me: C:/CVS/CVSROOT/myproject, where myproject is the project root directory.
Have root project directory C:/dev/myproject
Have set parameters for CVS in IDEA:
-path to CVS client 1.11.5
-local rep root set to: c:/cvs
-advanced: defaults

In CVS pane, I see my project tree with a question mark beside each file. The only CVS option I have in Tools menu and context menu is "checkout" but it does nothing. Other options are greyed out.

Obviously, IDEA can't find the repositary. What am I doing wrong? It must be a simple thing I am missing.

Thank you.

Jean-Robert Haddad

8 comments

Just a thought: After importing your project into the repository, you need to check it out again; have you done that?

Regards,
Jens

0

No I did not.

Do I really need to? I did not delete the working files either. So I assume I am in the state where all my files are read-only and waiting to be checked-out individually for editing. I wonder why I can't checkout any file from IDEA directly.

Why would I need to check everything out? Is it soemthing necessary for the working directory to be initialized with CVS system files?

0

Looks to me like your root directory should be c:/cvs/cvsroot

0

I tried that. But when I do, if I try to checkout a file then, in the checkout dialog, I try to select modules, I get an error message saying that directory c:/cvs/cvsroot/cvsroot does not exist. So I assumed it's the parent directory that must be specified.

0

Forgot to mention that besides the error message, it produces the same results: all files have "?" in the tree and the only available menu item in the CVS menu is Checkout.

0

I am sorry, I made a mistake in my initial post. The directory structure under c:/CVS in incorrect.

It is in fact:

c:\CVS
c:\CVS\CVSROOT
c:\CVS\myproject


Jean-Robert

0

Jean-Robert Haddad wrote:

No I did not.

Do I really need to? I did not delete the working files either. So I assume I am in the state where all my files are read-only and waiting to be checked-out individually for editing. I wonder why I can't checkout any file from IDEA directly.

Why would I need to check everything out? Is it soemthing necessary for the working directory to be initialized with CVS system files?


Importing a project into CVS does not add CVS system files to the
working directory. You must checkout the project from CVS to be able to
perform other CVS operations on it.

Ciao,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka (now part of Quest Software)
"Performance is Mission Critical"

0

Now it works.

I checked out everything and now I can acces the files in the CVS pane and menu options are available.

Thank you very much Gordon.

0

Please sign in to leave a comment.