CVS Help

Ok, I've been watching the CVS development with interest, and I've been working on a small project that has not been placed into any source control yet. It is time to put it into CVS, but I am really a novice with CVS, and I'm having a hard time.

In the past, I've just set my authentication mode (pserver), my path (/usr/local/cvsroot), my host (let's just say XXX) and my user name (tjuday) and I get a CVSROOT string that seems to work. For example, tjuday@XXX:/usr/local/cvsroot. Once I had that, I could use CVS. Now with Aurora, the integration has changed and I'm not sure what to do.

In Project Properties -> VCS Support, everything looks ok. There is a .cvspass file where it is looking (I just don't know what is supposed to be in that file). Then, under Tools -> Edit CVS Roots when I click the Add button, I don't know what to type in the Cvs root box. Anything I've tried so far ends up with a Wrong method error dialog box.

Any help anyone wants to give would be greatly appreciated. Thank you very much, I am very interested in getting to all the neat CVS features I've been hearing about (and sharing them with my co-workers).

Tobin

12 comments
Comment actions Permalink

Did you enter a cvsroot like :pserver:tjuday@XXX:/usr/local/cvsroot ?
From the CVSROOT you wrote in the second paragraph, it seems you omited the
:pserver:

G.


Tobin Juday wrote:

Ok, I've been watching the CVS development with interest, and I've been
working on a small project that has not been placed into any source
control yet. It is time to put it into CVS, but I am really a novice with
CVS, and I'm having a hard time.

In the past, I've just set my authentication mode (pserver), my path
(/usr/local/cvsroot), my host (let's just say XXX) and my user name
(tjuday) and I get a CVSROOT string that seems to work. For example,
tjuday@XXX:/usr/local/cvsroot. Once I had that, I could use CVS. Now
with Aurora, the integration has changed and I'm not sure what to do.

In Project Properties -> VCS Support, everything looks ok. There is a
.cvspass file where it is looking (I just don't know what is supposed to
be in that file). Then, under Tools -> Edit CVS Roots when I click the
Add button, I don't know what to type in the Cvs root box. Anything I've
tried so far ends up with a Wrong method error dialog box.

Any help anyone wants to give would be greatly appreciated. Thank you
very much, I am very interested in getting to all the neat CVS features
I've been hearing about (and sharing them with my co-workers).

Tobin


0
Comment actions Permalink

Great, thanks! That worked, now I can get a successful connection to the server.

I have turned on VCS in Project Properties now, so all my files are brown. I assume I still need to add them to CVS like in 3.0. The only options I have, though, are Commit Project and Update Project, and neither one seems to do what I want (commit project just says there is nothing to commit). How can I add files?

The other question, then, is do I need to do any work on the CVS side? Right now, there is no repository or module or anything in CVS for this project. From my CVSROOT, you can see that I've got /usr/local/cvsroot on the server side. Ideally, what I'd like to do is have my directory be /usr/local/cvsroot/rightcare/bolt and then in bolt are all my files. Can I do all this from IDEA, or do I need to set some initial things up in CVS? Thanks for your help!

Tobin

0
Comment actions Permalink


I also have a problem with CVS

path to pass file: ~/.cvspass
rsh: ssh
priv key: ~/.ssh/rsh

cvs root: :ext:user@server.net:/data/venus1/cvs

doing commit on project already chek-outed from cvs i'm getting following messages:


from cvs output:

/home/alice/ALICE_projects/app commit -f -R -m "no message"
alice_app.war/WEB-INF/src/alice/app/dao/searchengine/SearchEngineDAOOracle.java

cvs errors:
Error: Valid request expected!

Am I doing something wrong ? I cannot also check out project from cvs

Ariadna 3.0.5 is working (almost) perfect




thx 4 help
drP.

0
Comment actions Permalink

cvs errors:
Error: Valid request expected!


I feel your pain. I've had exactly the same problem with this and the last two builds. My setup is a touch different (I'm using putty instead of ssh), but I get the same behaviour.

I've posted this question after each of the last two builds without any luck. Can anyone give us a pointer as to what this means?

-- Marty Andrews

0
Comment actions Permalink

If your project is not under CVS you can import it with IDEA ("Import to
CVS" on selected folder).
Import project with enabled "Checkout after import" option.
At the moment all files in the selected folder will be imported (excluded
and ignored files too) so you should delete files that shouln't be imported.

If your project is already under CVS checkout it using File->Check Out
Project from CVS.



--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Tobin Juday" <no_mail@jetbrains.com> wrote in message
news:19649900.1057778908562.JavaMail.javamailuser@localhost...

Great, thanks! That worked, now I can get a successful connection to the

server.
>

I have turned on VCS in Project Properties now, so all my files are brown.

I assume I still need to add them to CVS like in 3.0. The only options I
have, though, are Commit Project and Update Project, and neither one seems
to do what I want (commit project just says there is nothing to commit).
How can I add files?
>

The other question, then, is do I need to do any work on the CVS side?

Right now, there is no repository or module or anything in CVS for this
project. From my CVSROOT, you can see that I've got /usr/local/cvsroot on
the server side. Ideally, what I'd like to do is have my directory be
/usr/local/cvsroot/rightcare/bolt and then in bolt are all my files. Can I
do all this from IDEA, or do I need to set some initial things up in CVS?
Thanks for your help!
>

Tobin



0
Comment actions Permalink

Olesya Smirnova wrote:

> If your project is not under CVS you can import it with
> IDEA ("Import to CVS" on selected folder).


Is there a way to specify and create a new module to import the project
into?

Alain

0
Comment actions Permalink

No, right now you can import folder as topmost directory only.


--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Alain Ravet" <alain.ravet.list@wanadoo.be> wrote in message
news:bejd5c$jr6$1@is.intellij.net...

Olesya Smirnova wrote:

>

> If your project is not under CVS you can import it with
> IDEA ("Import to CVS" on selected folder).

>
>

Is there a way to specify and create a new module to import the project
into?

>

Alain

>


0
Comment actions Permalink

Olesya Smirnova wrote:

>No, right now you can import folder as topmost directory only.

>
Should I file a request for it?

Alain

0
Comment actions Permalink

It would be quite good.

--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Alain Ravet" <alain.ravet.list@wanadoo.be> wrote in message
news:bejlh8$8l6$1@is.intellij.net...

Olesya Smirnova wrote:

>

>No, right now you can import folder as topmost directory only.
>
>
Should I file a request for it?

>

Alain

>


0
Comment actions Permalink

Ok, I got it! Thanks for all your help, I'm really excited about exploring the CVS integration.

Here's a question, my project directory structure typically looks like the attached screenshot. So when I add bolt (the project directory) to CVS, I now have all my classes, source, project files, and config files in CVS. Typically, I would only put my source and config files in CVS. Will there be an option to exclude files/directories from CVS at some point? And in the meantime, does having the project files (ipr, iml, iws) or classes in CVS present any type of challenges, or is it really pretty harmless? Thanks again for all your help.

Tobin

0
Comment actions Permalink

Rats, forgot to include the pic.



Attachment(s):
dir struct.bmp
0
Comment actions Permalink

Importing excluded and ignored files is the bug and will be fixed.

--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Tobin Juday" <no_mail@jetbrains.com> wrote in message
news:22952850.1057841788310.JavaMail.itn@is.intellij.net...

Ok, I got it! Thanks for all your help, I'm really excited about

exploring the CVS integration.
>

Here's a question, my project directory structure typically looks like the

attached screenshot. So when I add bolt (the project directory) to CVS, I
now have all my classes, source, project files, and config files in CVS.
Typically, I would only put my source and config files in CVS. Will there
be an option to exclude files/directories from CVS at some point? And in
the meantime, does having the project files (ipr, iml, iws) or classes in
CVS present any type of challenges, or is it really pretty harmless? Thanks
again for all your help.
>

Tobin



0

Please sign in to leave a comment.