Creating a Custom VCS Profile

See Also

The IDE supports generic version control and uses a profile to interact with a version control system. 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 selecting the Version Control System Profile combo box. Additional VCS profiles are available from the web site at http://vcsgeneric.netbeans.org/profiles/index.html.

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. In the Profile pane, open Version Control System Profile combo box and select the profile that most closely resembles the one you want to create or select an Empty profile. Click Next.
  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.

To reconfigure a profile for a VCS:

  1. Right-click any filesystem mounted with the profile and choose Customize. The Generic VCS customizer is displayed.
  2. Make the changes you want.
  3. 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