Eclipse CVS client
Updated 05 Apr 2018
|
Upper levels: - QuArK Information Base - 4. The Source Code - 4.1. The code repository at So... |
4.1.1. Eclipse CVS client |
[ | - - ]
This is Rowdy's guide to configuring Eclipse to access the QuArK CVS repository. This is at best a short introduction in Eclipse, but it should be enough to get you going, and teach you the basics of usage. |
Index |
Installation |
Rowdy / cdunde / DanielPharos - 05 Apr 2018 | [ Top ] |
First, you will need to download and install the Java Runtime Environment (JRE) (http://www.java.com/) (currently Version 6 Update 20), since Eclipse needs this. The JRE basically installs itself, so no configuration instructions are really needed here. Then download and install Eclipse (http://www.eclipse.org/downloads/). You only need one file, the "Eclipse Classic" one. (Currently version 3.6.0, with the filename of eclipse-SDK-3.6-win32.zip (for Windows 32 bit)). It is a zip file so you might need a utility like WinZip to unpack it (note: keep the directory structure!). The default and generally recommended directory to extract it to is c:\eclipse. For the rest of this article, we'll assume that's the Eclipse install directory. |
Configuration |
Rowdy / cdunde / DanielPharos - 05 Apr 2018 | [ Top ] |
|
Downloading Files |
Rowdy / cdunde / DanielPharos - 05 Apr 2018 | [ Top ] |
|
Uploading Files |
Rowdy / cdunde / DanielPharos - 05 Apr 2018 | [ Top ] |
|
Comparing Files |
DanielPharos - 05 Apr 2018 | [ Top ] |
When there is a conflict between files, you'll need to compare them and import changes from the remote files into your local files. You can compare them in Eclipse from the resource perspective (right-click the item and from the submenu select "Synchronize with Repository...") or in the team synchronizing perspective (right-click the item and select "Open In Compare Editor"). That will compare your files with those in the repository, and show you any changes you have made that are outgoing, changes other people have committed that are incoming, and any conflicts (where someone has committed a file that you have also modified). However, I suggest you do it differently. If you keep your work-copy of the files separated from the Eclipse-workspace (as in, you work in a copy of those files), you can first update your workspace-files and then use your favorite compare-program to import your new changes, and merge the files. Don't forget to check if the newly imported changes don't break yours! If you then refresh your workspace in Eclipse, there should be no conflict between files whatsoever, and you can upload your files. |
Terminology |
DanielPharos - 05 Apr 2018 | [ Top ] |
Here's a small list of some of the terms used by CVS and in this description about Eclipse: Check out a file/directory - Downloading a file/directory from the CVS into your Workspace-directory. Committing a file/directory - Uploading a file/directory from your Workspace-directory to the CVS. Conflict - When there are changes made to the remote file, and conflicting changes in the local file. CVS - Concurrent Versions System. The system used to store the online files on SourceForge. Local file - A file in your Workspace-directory. Perspective - The current 'view' you're working in. Every perspective has its own functions, allowing you to do different things with the files. Remote file - A file located in the repository, on the CVS. Repository - The online site where the files are actually kept. Updating a file/directory - Downloading changes from the CVS into your Workspace-directory. Workspace - The directory in which Eclipse stores the local files. |
Copyright (c) 2022, GNU General Public License by The QuArK (Quake Army Knife) Community - https://quark.sourceforge.io/ |
[ Top - ] | -