Troubleshooting CVS
If you are having any difficulty using CVS or AutoCVS with this class, then
please follow these steps precisely to try and get things working again.
After each step, check if CVS is working. If not, try the next step.
To check if CVS is working follow these two steps:
- Select your project
- Right click and execute Team->Update
There should be a progress bar which should go away with no errors.
- Right click and execute Team->Commit. Click OK when asked
for a comment. There should be a progress bar which should go
away with no errors.
Troubleshooting Steps:
- Make sure you have the current version of software installed (Eclipse
3.0M7, AutoCVS 0.0.5 and Dr Java Eclipse plug-in 0.9.3). If you are
using a previous version of software, reinstall as follows:
- Within Eclipse in the Dr Java perspective, select your project and
execute File->Refresh. Then execute Project->Rebuild Project.
- If you are still having trouble, the next approach is to Re-checkout the
project from CVS and replace the new files with your local solution and then
check those back in. Do this as follows (for these examples, I'll
assume your project is named 'hw6', but it could be for any project:
- Select your project in the Dr Java Perspective (i.e., 'hw6')
- Right click and execute Refactor->Rename and rename the project to
end in '-old' (i.e., 'hw6-old')
- Switch to CVS perspective
- Check out the existing project (i.e., 'hw6')
- Switch back to Dr Java perspective
- For each file in your original solution that you want to keep, copy
the contents of that file into the newly checked out project. Do
this by opening the original file in Eclipse (i.e., Puzzle.java in
hw6-old) select all (control-A) and copy it (control-C). Then,
open the new file in Eclipse (i.e., Puzzle.java in hw6), select all
(control-A) and paste (control-V).
- If CVS still isn't working, then the final approach is to make an
entirely new workspace and import your old files into the new workspace.
Do this as follows:
- Exit Eclipse
- Rename your workspace directory to 'workspace-old'
- Run Eclipse (this will give you a clean slate with no projects or
files)
- Configure CVS and check out your project
- Replace the checked out files with the ones from your old workspace
as follows:
- Select the project (i.e., 'hw6')
- Execute File->Import
- In the "Select an import source" dialog window, select "File
system"
- In the "Import" dialog window, click Browse, and select the
matching project in the old workspace directory (i.e.,
'workspace-old/hw6')
- In the right window with the list of files, check the checkboxes
of the .java files you want to import
- Click Finish