Removing files from version control

This is a feature of JBuilder Enterprise.

This command is available from the Team menu for the file that's active in the content pane and from the context menu in the project pane for all selected files.

This command is automatically offered as an option when you delete a file from the project pane's context menu and the deleted file is under version control.

This feature uses dialog boxes in the CVS and Visual SourceSafe integrations.

For a glossary of generic version control terms, please see the Version handling glossary in "Comparing files and versions" in Building Applications with JBuilder.

CVS

In CVS, every command you use must reflect conditions in your workspace. Therefore, in order to remove a file from CVS, it must be removed from your workspace. JBuilder does this for you. When you invoke the Remove File from within JBuilder, the file is deleted from the project directory, removed from the project, and removed from the current version of the CVS module. Historical information on the file will still exist in the repository, but no further development on that line is possible.

Before a removal is permanent in CVS, it must be committed. This is a separate process. If you remove a file but don't commit the fact that it's removed, CVS will maintain the file in the repository and return it to your workspace the next time you update the project. If you want to keep a file removed, commit it after you remove it.

Removing a file from the repository removes it from team development and version control. Before you remove a file from the repository, be absolutely certain that it's no longer needed. If it's removed and later added back in, it's returned to team development but all of the information on prior changes is lost.

Visual SourceSafe

The Remove File command removes the file from the database. In order to keep the file removed and not have it returned to your work area the next time you update the project, you must check it in after removing it. This makes the change in the file's status more permanent in Visual SourceSafe. Checking it in is a separate step. The Check In File is available from the Team and context menus, and will be active after you use the Remove command.

When you remove a file from the VSS database, it's removed from VSS Explorer and marked as deleted, but it can still be retrieved from within VSS using the Recover command.