CVS Integration in JWS8

I'm running JSW8 and trying to get it integrated with CVS.

I've set up CVS and tested it in command mode to confirm it's working.

I then started JWS8 and created a Versioning Manager, pointing it at my CVS repository. I then clicked "Versioning" -> "CVS" -> "Init Local Repository" and the command ran successfully.

I then created an "index.html" file in the Web Pages folder.

I'm now trying to check in this file, but cannot see a way to do it. According to the documentation, when I'm in File view and I right click on the "index.html" file, the popup menu should include a "CVS" -> "Add" option. However, no "CVS" option appears in the popup menu.

If I go to the "Versioning" -> "CVS" menu, there is a "check out" option, but no "check in" option.

Has anyone been able to get CVS integrated with JWS8?

If so, is there a simple step (or steps) that I've missed?

[932 byte] By [shoddysoftware] at [2007-11-26 9:11:26]
# 1

Hi,

try Versioning -> CVS -> Import... (this command will lead you to CVS checkout) or you can checkout empty repository into specific directory and create your files there after that. The command "CVS Add" works only inside checkout-ed directory structure. But this is an attribute of CVS not JWS8.

PetrG at 2007-7-6 23:31:34 > top of Java-index,Development Tools,Java Tools...
# 2

Thanks for the advice. I've now got CVS integrated with JWS8.

Coming from the Eclipse and Websphere world, I have to say that setting up CVS in JWS8 is a bit more difficult and not as intuative...

Here's how it's done:

1. Create a project. Choose your project folder. (ex. "c:\myProject")

2. Create a new, empty folder to be used as the repository. (ex. "C:\myProject_rep")

3. In your CVS server, create a new entry, and point it to the repository folder (ex. "/cvs_myProject" --> "c:\myProject_rep")

4. Choose "Versioning" -> "Versioning Manager" and create a new CVS versioning manager, using the CVS path (ex. "/cvs_myProject").

5. If your CVS server does not initialize the repository by default, click on the "Versioning" -> "CVS" -> "Init Local Repository" and initialize the repository.

6. Choose "Versioning" -> "CVS" -> "Import", and do a CVS 'import' to bring the project folder into CVS. (ex. import "c:\myProject" into "/cvs_myProject")

* If you check the "Perform Checkout After Import" box, all your files will be checked out.

* If you leave this box blank, you'll need to manually check your files. This can be done by right-clicking the file name, and from the popup menu, choose "CVS" -> "Add" to add the file to CVS version control the first time, then doing a "CVS" -> "Commit".

7. You can now perform CVS functions on any file in the project by right-clicking on it, and choosing "CVS" from the popup menu.

shoddysoftware at 2007-7-6 23:31:34 > top of Java-index,Development Tools,Java Tools...
# 3
I'm happy that my advice helped to you. BTW I have come from the CVS command line world and I see good parallel between CVS commands and steps in SJSE so maybe it is just different point of view ;-) .
PetrG at 2007-7-6 23:31:34 > top of Java-index,Development Tools,Java Tools...