CVS requires you to keep all of the project module files it maintains inside one directory tree. Therefore, the file you want to add must be inside the project directory in your workspace before CVS can recognize and respond to the file.
Adding a file to a project module in the CVS repository is a three-stage process.
First, you must add it to the project directory so that CVS can access it. Do this before you add the file to the project:
Next, you must add the file to the project so that JBuilder can recognize it. Do this after you have moved the file into the project directory:
Once the file is inside the project directory and in the project, you must add it to the CVS module. You can do this in either of two ways:
The file addition must be committed, in order to tell CVS that it happened. JBuilder can do this automatically. As soon as the file is added, you will be prompted to commit the change and to provide a comment describing what you did.
If you are having trouble adding a file to CVS, remove the file from the project and start the process of adding it from the very first step above.