Team menu
The Team menu provides access to version control configuration and the most common CVS commands. Once you have CVS installed on your machine, you have full access to JBuilder's CVS interface. For information on installing and configuring CVS in JBuilder, see "Installing and configuring CVS."
You can configure JBuilder to interface with other version control software through the OpenTools API.
You must have a project open in order to access JBuilder's Team menu.
Note: The menus and toolbars for CVS are automatically installed.
All of the CVS commands available in JBuilder are available from the Team menu. When you choose a Team menu item, the operation you select is performed on the currently active file in the content pane. Click a file tab at the top of the content pane to make an open file active. Double-click a file in the project pane to open and activate that file.
These are the commands available on the Team menu:
- Configure Version Control
Sets up connections to the version control system's repository. You must configure your connection to the repository before the other CVS commands can be used.
- CVS Update (Merge)
Merges what is currently in the repository with what you have. This allows you to get the latest changes to the file you are working on from the repository without overwriting your local changes.
- CVS Commit
Applies the saved changes in a file to the CVS repository, prompting you to enter a comment when it does so.
- CVS File Status
Tells you the status of a selected file in CVS.
- CVS Add
Adds the active file to the repository, then prompts you to commit the file to post the change to the repository. Before you do this, you must first put the file inside your project directory and then add the file to your project. Then you can add it to CVS successfully.
- CVS Remove
Removes the active file from the repository, then prompts you to commit the file in order to post the change to the repository. This deletes the file from your project directory and removes it from CVS. To remove the file from your project, select it in the project pane and click the Remove From Project icon
.
- CVS Project Update
Updates the entire project and all the files in it, posting the latest changes from the repository to your local versions of those files.
- CVS Project Commit
Commits the entire project and all the files in it, posting the latest changes from your local versions to the repository. It can also sort your view of the file list for your entire project and display the differences between the most recent versions of each file.
- CVS Project Create Module
Creates a module in the repository to hold your project. CVS requires you to keep all the files in a module in a single directory tree, so be sure all the files in your project are in your project directory in order to include them in the module. See CVS Add to learn how to add more files after you have created the project module.
- CVS Project Checkout
Brings in a project from a module on the repository and puts it into your workspace. You check out a project module into an empty project. To make an empty project, select File|New Project, set the paths as usual, and click OK. You only need to check a project out once; after that, keep it synchronized by committing and updating it.
For more information on these menu options, select the menu option then press F1 or click the Help button in the option's dialog box. For more information about CVS in JBuilder, see "Team development in JBuilder."