How can I setup and access local repositories?
The IDE needs an external CVS server to access local repositories.
- On Unix machines ordinary CVS serves this purpose. No special setup needed if the CVS executable lies on the search path. Optionally, you can define a CVS_EXE environment variable to point to the executable.
- On Windows, manual setup is required because the standard CVS executable does not support server mode (it does not accept the server parameter). To work around this, you need CVSNT.
To install CVSNT and set up your local repositories in its GUI:
- Open the CVSNT control panel
- Select the Repository configuration panel
- Click Add - within this dialog a new repository will be created and initialized
- The "Name" column value is used as "your_path_to_repository" in the Checkout wizard
- Switch back to main panel and start CVSNT service
From here, you can set up local repository access in two ways:
- Connecting via :pserver:
- In Netbeans, use :pserver:your_username@localhost:/your_path_to_repository
- Connecting via :local:
- Start CVSNT locking service
- Set the CVS_EXE environment variable to point to CVSNT executable, e.g. C:\utils\CVSNT\cvs.exe
- In Netbeans, use :local:/your_path_to_repository
In both cases, you may need to also init (i.e. CVS init) your local repository with CVSNT.
Applies to: NetBeans 7.x, 6.x, 5.x
See also: NetBeans 4.1