Eclipse Plugin for Git - EGIT vs Aptana - eclipse

I am new to GIT and I have been looking for a GIT plugin for Eclipse.
I came across this on SO .
How stable is the git plugin for eclipse? and also http://www.quora.com/Whats-the-best-Eclipse-plugin-to-manage-git
But these have worsened my confusion over using EGIT or Aptana.
I just want to know
1)Why should one use EGIT and why should one use Aptana.
2)What are the differences in performance and stability in both ?
3) Which one is better right now with their latest releases?
Kindly, please answer these questions. Thanks you.

It looks like aptana and egit are different, aptana is a whole ide based on eclipse with a custom git plugin, and egit is a git plugin for eclipse.
I'm using egit with git console and so far, it fit my needs :)
You should start using one, then if you're not happy with it, try another one.
The git command line is really great, because it does exactly what you tell it to do. At first it's not really user friendly but it's learning efficient and you know what you do. sometimes plugin do other things that are not expected (not in the wrong way but it can cause problems)

Related

How is EGit used by Eclipse Developers

I want to know how the eclipse developers use git ? Do they use the command line or do they use EGit plugin GUI ? If EGit GUI is used, then how do they manage it, since eclipse has one repository per plugin structure.
Take a look at the getting started here, then navigate through to answer your question.

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.

Using EGit and git simultaneously

Currently I'm developing on Windows with Java using Eclipse and EGit installed and everything works fine. However, I'd like to try the IntelliJ IDEA where the IDE required the git.exe to work with Git. Thus, I installed git v1.9.2 from http://git-scm.com/. Everything works fine in IDEA, but in Eclipse some file are marked as "changed" (having the ">" symbol prepended) although there is absolutely nothing that changed. My bet is that there is that EGit and git interfere with each other. But unfortunately I have no clue how to fix this.
Apparently, the two should not interfere with each other.
See the answer here:
Will installing Egit interfere with existing Git installation?

How to see egit console output

I want to see the output of the egit (eclipse plugin for git) when doing some operations like pulling, pushing in eclipse, just like the SVN plugin. Anyone knows how to do it?
I'm using Elcipse Kepler which already contains egit.
Thanks in advance.
You can install additional tool from opensource contribution
http://rherrmann.github.io/gonsole/repository/
Look at post http://www.codeaffine.com/2014/07/09/gonsole-weeks-a-git-console-for-eclipse/
The simple answer is that this is not yet implemented in EGit, see bug 349551.

Subclipse plugin doesn't work in Eclipse?

even though there was no error when installing Subclipse in Eclipse. I won't see the SVN perspective at all?
I have tried with "Eclipse Classic 3.5.1" and with "Eclipse for PHP Developers".
After downloading and unzipping the packages I used Eclipse's "Install Software" mechanism to install Subclipse 1.6.x. I followed the steps described here: http://www3.math.tu-berlin.de/jreality/mediawiki/index.php/Subclipse_installation_in_eclipse_galileo.
But after Eclipse re-starts I don't get any SVN Repository perspective? I have tried to un-install/re-install all the software components many times now. Finally after 3 hours of trying I am giving up. Does anyone have any hint what I am missing?
Thanks!
Peter
I had the same problem. I use Windows 7 64 bits OS. I clean read-only flag of eclipse folder in C:\Program Files (x86) and give full access right to all users on my PC. I reinstalled it from update site and it works.
This is a known bug with subclipse: http://subclipse.tigris.org/issues/show_bug.cgi?id=992
EDIT For anyone keeping track of this, it looks like Eclipse Helios SR1 may have fixed the issue. I haven't tested it myself yet, but by the sounds of the discussion at https://bugs.eclipse.org/bugs/show_bug.cgi?id=322929 it should now be working.
I just had this same issue with Ubuntu. It turned out to be permissions. Once I gave write permissions to everywhere in my eclipse installation and then reinstalled subclipse, its views and so forth appeared, just like magic.
I don't know what you are looking for. But after installing the Subclipse plugin, you should have a new entry in the File | New | Project dialog. Something along the lines of "Checkout project from SVN"
Then when you hit continue, you can enter your SVN repository details, check the branch you are interested in, etc. After checking out a project, you can right click on it and go to the "Team" submenu to get the features provided by Subclipse like check in code, diff, merge, etc.
I ran into the exact same problem too. I installed both Subclipse and GWT/GAE plugins and couldn't find any evidence of them after installation.
I'm on Windows 7 and had installed Eclipse 3.5 SR2 into C:\Program Files (x86)\eclipse-3.5. I also put my workspace in C:\Program Files (x86)\eclipse-3.5\workspace. When I was checking things I noticed there was a lock icon on the C:\Program Files (x86)\eclipse-3.5\workspace.
I reinstalled Eclipse to C:\dev\eclipse and the workspace to C:\dev\eclipse\workspace. After that the installation of the plugins went without a hitch and I could see the SVN Repository Exploring perspective (no idea why some of the other posters claim this perspective doesn't exist). I suspect it was some sort of permissions problem on the directories.
Another way to check and see if the whole thing was installed correctly is to go to the SVN Repositories view. Go to Window -> Show View -> Other, and then search for SVN. If you see a bunch of SVN views like "Repositories," Subclipse is installed.
I had this problem due to some kind of incompatibility between Subclipse and Android ADT plugins. One answer suggested yoxos which gives you all your eclipse plugins from one central repository.
Had the same problem. I work on Linux, and when I installed eclipse in /usr/local/eclipse, Subclipse did not show up. The solution was to install Eclipse locally, e.g. in /home/user/eclipse. Now Subclipse (and other plugins too) worked!
Edit: guess it could be the same on Windows.
I think this is due to some incompatibilities between the packages of subclipse and the gwt 2.x plugin and android... as this started happen to me after I upgrade to v 2.0 of gwt back in the day.
The same issue repeats both on Mac and Windows... and it seems no fix has been released.
Now the only way I've found to move on with my work is to remove subclipse and install the latest subversive plugin instead.
http://www.eclipse.org/subversive/
I know this ain't subclipse but it works very similar and no issues with gwt nor android plugins.
it worked for me and so I hope it works for you in the mean time.
cheers,
G.