CVS Version Control System Configuration for JDeveloper

This post shows the steps to install and configure CVS version control system with JDeveloper. Jdeveloper is used to develop all kinds on java application as
well as single tool to develop oracle's popular ADF framework application. Here are the step by step guide for CVS configuration with Jdeveloper.

Installation of CVS

1. Download Open Source free Version Control System ‘Concurrent Versions System’ or ‘CVS’ [(CVSNT 2.x)] in your computer. [You do not need any additional software.]

2. You need the CVSNT – version 2.x – for running the CVS server itself on your windows box. If you have a Linux-server, then ignore this step and look up ordinary CVS on Linux setup guides.

You can download this from the following location:

3. Install CVS. Don’t forget to install the services (actual CVS server services running in the background) Make sure you reboot your system or you will face some errors when creating your repository.

Check out the Developers’ document of CVS for better understanding of services installation and configuring repository. I am giving an example to demonstrate creation of a basic repository:

1. After rebooting the machine, you will have a panel ‘CVS for NT’ in your Control Panel.

Open it.      
2. Stop the service in the CVS for NT panel as shown below.

3. Create a directory ‘repository0’ in C drive.

4. In the ‘Repository Configuration’ tab under CVSNT click on ‘Add’ button. Make a note of the server name.

5. Enter the repository name and other values as shown below ->

Configuring Administrator Password

Open the command prompt. Type the following set of commands for configuring Administrator password for repository0.

Logging in to :sspi:@:2401:/ repository0

[CVS supports many different types of configurations of repositories. Further developments are possible as source codes are for free. For the full command sets and advanced configuration, please see the CVS document. It is available in the link].

JDeveloper Repository setup
Install the version control plug-in in JDeveloper.

1. After restarting JDeveloper you can see a menu called ‘Versioning’

2. Navigate to the menu ‘Versioning>Select Version System> CVS’

3. Click on ‘View>CVS navigator’ or press Ctrl + Shift + G.

4. Right click on CVS Navigator root and select ‘New CVS Connection’.

5. Give repository path as your pre-configured repository ‘/repository0’.

[May be you need to change the host name as you have given in CVS NT].

Check the Server connection string.

6. Click Test Connection. Give the user name and password as your configured machine password. Click Ok.

7. You can see that your repository has been configured as evident from the screenshot below:

8. Now select any JDeveloper project from the structure window.
    Click on ‘versioning>Import Module’.

9. The import process will take some time. After completion, you can view the CVS enabled project as shown below ->

10. The repository structure screenshot is given below ->

Finally, the CVS version control system is fully configured in JDeveloper. Now you can maintain the versions of your ADF, BPEL or ESB code and also store them in multiple repositories.

1 comment :

Anonymous said...

Is there any way to get a new file from CVS without updating the entire project folder?