Creating a Custom VCS Profile

The IDE comes with profiles for working with CVS, PVCS, and VSS on various operating systems. You can look at the list of profiles by choosing Versioning and choosing Mount Version Control and choosing Generic VCS and clicking the Version Control System Profile combo box. Additional VCS profiles are available from the NetBeans web site at http://vcsgeneric.netbeans.org/profiles/index.html.

If you want to investigate how a profile's commands and variables are configured, use the Edit Commands and Edit Variables buttons in the Advanced pane of the New Generic VCS wizard. If none of the available VCS profiles suits your version control system and operating system, you can create your own profile.

To create a profile for a VCS:

  1. Choose Versioning and choose Mount Version Control and choose Generic VCS to open the New Generic VCS wizard.
  2. Select the profile that most closely resembles the one you want to create from the Version Control System Profile combo box. If you want to build a profile from scratch, select one of the Empty profiles. Click Next to proceed.
  3. Use the Edit Commands and Edit Variables buttons to configure the profile's commands and variables.
  4. Click Back to return to the Profile pane of the wizard. Click Save As and type a file name and profile label for the profile. The new profile appears as an option in the Version Control System Profile combo box.

    The file name is given to an XML file where configuration information for the profile is stored. The profile label is used as the name of the profile in the Version Control System Profile combo box. The profile label is also used as the name of the profile's VCS commands submenu.

tip You can use the Generic VCS customizer to reconfigure your profile at any time. Right-click any filesystem mounted with the profile and choose Customize. After making the required changes, click Save As in the Profile tab and select the same profile name. If you do not save your changes to the profile, they are applied only to the individual filesystem.
See also
Mounting a Directory With Generic VCS Support
Mounting a CVS Filesystem
Calling Version Control Commands
Modifying VCS Command Parameters and Variables
VCS Command Properties
Writing a Refresh Command for Your VCS

Legal Notices