Adding a File to CVS
Before you can add a file to CVS, you must have already put your project
under CVS source control. This is described in Configuring
JDeveloper to Use CVS.
When you create a new file, for example a new class, it has to be added
to source control before you can use the other CVS operations on it. The
file is added to source control locally, and the CVS repository is not
updated. The file is identified in the Navigator pane by the icon
.
To add new files in a project to CVS:
- With the project selected in the navigator, choose
Source Control | Add from the
context menu. JDeveloper finds all the files that are candidates for adding
to CVS, and they are listed in the Add to CVS dialog.
- You can add all the listed files to CVS by clicking
OK, or you can first remove some of them from
the list. To remove a file from the list, select it and click Remove.
The file is grayed out. If you have removed a file from the list in error,
you can add it again by selecting it and clicking Add.
- When you click OK the files
in the list are copied to the relevant module in the CVS repository.
To add one file to CVS:
- Select the file in the navigator and choose Source Control | Add. The Add to CVS
dialog is displayed with the file listed.
- When you click OK the file
is copied to the relevant module in the CVS repository.
This file will be added to the CVS repository when the next commit is
performed.
Related Topics
Using Concurrent Versions System (CVS)
With JDeveloper