mac eclipse and version control - eclipse

I am looking for an svn client and host that I can easily set up to work on my mac in eclipse (plugin).
git recommendations will also be useful although i haven't tried it yet.
since there is only a small team of developers I would prefer a cheaper/free solution (advanced features like merging are not necessary)
Thanks

The interesting thing with Git is that you don't need to install anything:
Just download one of the latest Eclipse distributions, and you will have EGit plugin already included in that Eclipse.
Since it is a DVCS, there is no notion of "client" or "server": your repo will be local and will include the full history.

Related

How to create versions of projects in Eclipse

Just a quick, short question: I would like to find a way to create "versions" of the projects that I am working on so that I may make changes and revert back to older versions of the projects if those changes are unsatisfactory. Is there a way to do this inside of Eclipse IDE or must I download an addon of sorts?
As it's been said you need to use some version control software like Git or SVN. They let you to have different branches for the different versions. I'd recommend you Git, as long is more modern and flexible. There are thousands of tutorials over there.
Eclipse has built-in support for Git. If you choose SVN you'll have to install the subclipse plug-in.

Saving code online (Java Eclipse)

Currently I'm saving an online copy of my code on dropbox. I was wondering if there is any other convenient option, such as an Eclipse plugin (that can maybe do this automatically?).
Note: The project's code is private and I'm thus looking for an option that doesn't make it public.
have you considered putting your code in an online repository? BitBucket gives you free unlimited Git or Mercurial repositories and they both work with Eclipse. You can also use SVN, and eclipse has a plugin for it with the name of Subclipse. and it works perfect.
There are several free source management systems out there.
However - if you want to use them freely you'll need to opensource your code.
Check out github or googlecode for example.
You are looking for a SCM tool (Source Control Management). GIT or Subversion are the things you are looking for. Have a look at Github.com or Google Code (ups sorry I didn't notice that you're looking for a private solution). BitBouquet is probably the best public server for closed source. If you have your own server (i.e. on a cloud), or you may install GitBlit or Gitosis tools; for subversion you can set up your own server following my tutorial.
Eclipse supports CVS and Subversion built-in, afaik. Maybe latest versions also have git; by the way there is Egit eclipse plugin to support Git.

Locally saved revisions with eclipse

I was searching for a plugin for Eclipse that will help me save revisions of my code, locally on my computer. All I found was subversion plugins.
Thnx,
Royi
I recommend eGit, it does not require any server-side infrastructure in its smallest setup. I use it for my personal stuff as well.
Eclipse does indeed save versions as Local History, but it's not as advanced as Subversion (SVN) or CVS.
If you are really interested, you can Setup an SVN Server on your own machine

How do i create a local CVS repository in Eclipse Helios?

And also how do versioning can help me manage my project ?
You create a CVS repository outside of Eclipse. Subversion and Git are newer source code version control systems you might want to consider.
A source code version control system maintains more than one version of your source code. This is useful when you want to have software versions, as well as when you want to back out a change you made to an earlier version.
As far as installation instructions, here's an online CVS manual.

version control projects in Eclipse

Say I have Eclipse installed in office and home. Both are Eclipse version 3.5 but may have slightly difference, like plugins version. I'd like to commit the code to online repo when get off work and then checkout at home.
What would be a possible solution? github? sourceforge? Are they free?
Would those slightly difference in Eclipse cause any problem? Since I might commit whole project folder which consist some configurations.
Can the community explain a bit or suggest some keywords? I will look up more online. Thanks.
There are a number of places that provide free source control hosting for open source projects. If this is a commercial project, you will need to either host your repository yourself and make it available both in the office and from home, or use a commercial source control hosting service.
Personally I use Subversion and the wush.net subversion hosting service. Wush has been around for a long time and are not too expensive, but a google search e.g. "subversion hosting" will turn up many other options.
Small differences in the subversion plugin version for Eclipse can cause problems. Make sure you're using the same plugin version. Small differences in Eclipse version should not matter.
There are a number of free SCM's available to open source projects.
If you were to choose a CVS or SVN based one, then the slight difference in your plugin versions shouldn't make a difference.
However if you were to go for one of the increasingly popular DCVS solutions such as git, mercurial or bazaar, then your local copy has a full copy of all of the history, so you could get by with creating a local repo on a memory stick making more commits at home and then synching it when your are connected to the office or the internet depending on where you decide to host your central repo.