Working with Subversion in NetBeans
NetBeans has Subversion features integrated into the IDE.
Prerequisites
The team manager must have given you permission to access your Trac
project.
The configuration manager must have done the
initial repository setup.
Login to your team Trac site with your Cal Poly username/password. Click the
Browse Source tab. Observe the folders in the repository.
In the
directions below,
TRACNAME
should be
replaced by the name of your Trac project that was issued to you by the
instructor.
Checkout your team project
- Start NetBeans.
- From the menubar select Versioning > Subversion > Checkout.
In the Checkout dialog, enter
Repository URL: https://wiki.csc.calpoly.edu/svn/TRACNAME/trunk
User/Password.
- Click Next. (Observe "connecting to Subversion Repository"
progress bar).
- In the Folders to Checkout dialog, enter
Repository folder: trunk
Check the box: Skip "trunk" and checkout only its content
Verify Local Folder: /path/to/folder/NetBeansProjects
Click Finish.
- Checkout Completed dialog will appear. Click Open Project.
- Now you can modify, update, and commit files using the typical
Subversion workflow. The Subversion commands are available from
the context menu.
- If you want to delete your project and start over, follow these
steps.
- Start NetBeans.
- Right-click on the project node and select Delete.
- In the confirmation dialog, click Yes.
- Exit NetBeans.
- Use the File Manager to manually delete the project folder.
(In the confirmation dialog, you may have noticed the option to "Also Delete Sources", but it doesn't work
for a project under verson control.)
- Perform the Checkout procedure above.