Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do I get CVS working?
How do I get CVS working? [message #706270] Sun, 31 July 2011 03:33 Go to next message
glyphx Mising name is currently offline glyphx Mising nameFriend
Messages: 6
Registered: February 2011
Junior Member
I am having problems getting CVS working. I get an error that it could not run SSH.

Not sure if I really need CVS. I am just learning java. All I want is to be able to easily have a copy of every 'version' of a program I am working on... but version I just mean every time I save the file.

I am working on little school beginner projects. And I just want to easily have a copy of the program state every time I save the file, so I can refactor it, and know I can always easily get back to where I was.

Any suggestions?
(no subject) [message #706353 is a reply to message #706270] Sun, 31 July 2011 05:59 Go to previous messageGo to next message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
Hi

Source control management systems, of which CVS is one, allow you to
store versions of your project. However, they do not commit (add a
new version) whenever you save a file but rather when you deliberately
decide to do so by doing a commit operation.

File history is an unrelated issue. Eclipse keeps a (limited) file
history of each file including every change. However, to limit workspace
sizes and keep the performance at an acceptable level, the history gets
pruned - meaning only the newest entries of the history are kept. This
pruning can be configured, but I would not rely on it.

In the UI these two types of history are displayed in the same history
view and that's possibly the confusing part of the story for beginners.

I suggest
- learn a bit more about source control management systems (SCM) (using
Wikipedia)
- use a SCM, even for local projects so you are getting used to them
- decide on an SCM
- learn about that SCM (use google to find a tutorial)
- learn about Eclipse integration of that SCM (there are tutorials for
almost every SCM - just use google)

Michael
Re: (no subject) [message #707465 is a reply to message #706353] Mon, 01 August 2011 17:36 Go to previous messageGo to next message
glyphx Mising name is currently offline glyphx Mising nameFriend
Messages: 6
Registered: February 2011
Junior Member
Thanks!
Re: (no subject) [message #707661 is a reply to message #707465] Mon, 01 August 2011 23:06 Go to previous messageGo to next message
afatase is currently offline afataseFriend
Messages: 4
Registered: August 2011
Junior Member
Yes, good answer, Michael. Keep all your revisions handy, just in case, somehow. CVS is not the state of the art in SCM. Use it if other people around you are using it. At work we use SVN (for which there is an Eclipse plugin), but there are even better ones lately, such as Mercurial (hg) and Bazaar (BZR).
Re: (no subject) [message #708555 is a reply to message #707661] Tue, 02 August 2011 23:42 Go to previous message
Julio  is currently offline Julio Friend
Messages: 2
Registered: August 2011
Junior Member
thanks
Previous Topic: ClassNotFoundException
Next Topic:Trouble adding Resin web Server to eclipse Helios - 3.6.2
Goto Forum:
  


Current Time: Sat Apr 20 03:09:17 GMT 2024

Powered by FUDForum. Page generated in 0.08194 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top