error in installing mercurial plugin for eclipse - eclipse

I just installed a mercurial plugin for eclipse. The installation process went well. But after installing when I restarted eclipse an error was shown.
The error says:
Multiple Mercurial errors have occurred.
Please check the Error Log view for detailed information.
. Command line: hg -y debuginstall
I can't find any possible solution for this.

Try running hg -y debuginstall from the command line. It should show something like that:
Checking encoding (cp1252)...
Checking installed modules (D:\Kazan\mercurial\library.zip\mercurial)...
Checking templates...
Checking commit editor...
Checking username...
No problems detected
If it doesn't, it should give you an indication on what's the problem.
If the command is not found, install mercurial from https://www.mercurial-scm.org/wiki/Download or install tortoise-hg from http://tortoisehg.bitbucket.io/

The plugin, is just a user interface and uses the underlying Mercurial installation.
This error occurs primarily when Mercurial Plugin for Eclipse is installed without actually installing Mercurial earlier on your system.
To solve this problem, first:
Install Mercurial on your system using one of the installers that best suits you from
here.
Go to Window->Preferences->Team->Mercurial and in mercurial executable field, browse to the:
hg.exe
executable that was installed with the mercurial installation above.
Mercurial Plugin for Eclipse will work just fine now.

i have found the same problem... seems my update of the Nvidia driver deletes all my variables environments and Mercurial can find the notepad.exe i found the solution adding in the mercurial.ini locate in Users folder adding the path to notepad.exe directly.
[ui]
username=myusername
editor = c:\\Windows\\System32\\notepad.exe
ignore=....
i have found the solution here
i hope helps somebody

Best solution which I found:
Install eclipse Juno.
Goto: help -> eclipse marketplace -> enter 'mercurial' and do a search, select first option of mercurial.
Then go to Windows -> Preferences -> Team -> Mercurial select and copy path from Mercurial Executable.
Now open your previous eclipse (Luna or mars).
Go to same path. Windows -> Preferences -> Team -> Mercurialand paste that path in Mercurial Executable. Now it will work.

Related

Egit installed but not showing

Good day everyone. I'm using Eclipse Luna and trying to use EGit tools but, it isn't working anymore.
I only see apply patch in the "team" option:
Import -> git projects isn't showing as well :
I checked preferences, and I didn't see git as well
I tried to switch workspace, running eclipse with -clean parameter, but it didn't help. I also checked if egit and jgit are installed, and they're installed:
I checked the error Log and I found something:
I hope someone can help me "restore" the Git thingy. Thanks!
Try going to Windows -> Preferences -> General - Capabilities
Then click the ADVANCED button and you should see the GIT not marked
Why installing Git? All Eclipse 4.x versions do come with EGit already installed.

Eclipse: Installing Aptana Studio with EGit

I am trying to install Aptana 3 as a plugin to Eclipse Helios SR2. I am getting an Error which informs me that GIT cannot be located and that I should either install portable git or browse to the root directory of my GIT install.
I have installed the EGIT plugin (1.0.0.XX) which is working. But I cannot find the root directory of this GIT install. Could some one point out where it should be?
That dialog is looking for a command-line version of Git for three purposes:
Enable the scripting/commands infrastructure to download new plugins
Allow the terminal view to work
Enable git support in the IDE
Since you are already using EGit, #3 isn't important, but unfortunately even if you could point to EGit from that dialog, it would not enable terminal support. My suggestion is to install PortableGit--it's small, self contained (it's stored inside the workspace), and unobtrusive.

How do I stop the SVN window from opening on Eclipse startup?

As best as I know, I don't need the svn add-on, yet it keeps opening a window on eclipse startup asking for me to choose which svn I want to use. I close the window without cheking any options, and all is well. But this window is very annoying.
I think what has happened is that you have somehow installed the Subversive plugin (maybe it is included in your Eclipse distro by default somehow). The Subversive plugin requires an additional feature to be installed, and that feature is the actual SVN libraries to use. You have a choice of SVN libraries and that is what the dialog is likely asking you to install.
See here for a detailed description:
http://www.polarion.com/products/svn/subversive/download.php#svncon
You have 2 choices:
Install a subversion connector and the dialog will never come up again. This will not harm your system and one day if you choose to use SVN, you will already have the plugin configured.
Uninstall subversive. Go to: Help -> About Eclipse -> Installation Details. Scroll down to the Subversive entries. Select them all and click "Uninstall".
Uninstall the addon.
Help → Install New Software → What is already installed? → [uninstall your SVN plugin here]
Sometimes even though you uninstall subversion, there are still some plugins related to SVN that remaining. You can see them in [Installation details -> Plugins].
Go to your eclipse installation folder (e.g. C:\Eclipse on windows, /Applications/Eclipse on Mac OS X) then plugins folder and remove every file starting with "org.eclipse.team.svn"
You can see the list of the files that need to be removed from Plugins section of Installation details.
Try giving it a fake one and see if it goes away? :)

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.

SVN not working in Eclipse

One day I pressed in Eclipse Help -> Check for Updates (and I learnt that I should Never Ever update a software which works fine.)
Then in a project that I used with SVN the whole submenu of "Team" and the little icons that showed that some files weren't commited, they all dissapeared.
I tried everything:
revert from Instalation History tab
uninstall from Installed Software tab
replaced the folder eclipse in Program Files with a new one downloaded from eclipse website and tried to install again
searched how to install it on the net
But in none of the cases above if I press Ctrl+N There is no SVN group;
If i right click on a project and select Team -> Share project, a window with CVS appears, but no SVN.
If I choose File -> Import I can't find SVN anywhere.
If I go to Help -> About Eclipse -> Instalation details I see at Instalation History in 25.06.2009, 09:59:08 GMT+03:00 (when SVN worked)
Eclipse IDE for Java EE Developers 1.2.0.20090621-0820
Subclipse (Required) 1.6.2
Subversion JavaHL Native Library Adapter (Required) 1.6.3
SVNKit Library 1.3.0.5847
In the Installed Software tab I have now installed
Eclipse IDE for Java EE Developers 1.2.0.20090621-0820 epp.package.jee
Subclipse (Required) 1.6.5 org.tigris.subversion.subclipse.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.6 org.tigris.subversion.clientadapter.javahl.feature.feature.group
SVNKit Library 1.3.1.6109 org.tmatesoft.svnkit.feature.group
How can I make SVN to work?
Where does eclipse store its files, because when I changed the eclipse directory with a new one all my stuff was there (the ones that I installed with no success: SVN, Subversive, Subclipse, SVNKit, ...)
Subversive is my favorite SVN implementation in Eclipse because it works better than the others and it integrates neatly into the UI.
I suggest you follow these steps:
Download the most recent version of Eclipse (currently Galileo) and extract it to your desired installation location
Prior to running Eclipse, make sure you delete (or rename/relocate) your default workspace (under Windows this is workspace in your user directory)
Install the Subversive SVN Team Provider (as instructed by the Eclipse incubation website) using Eclipse's software installer:
Choose Help, then Install New Software...
Create a new download location and specify the following download URL: http://download.eclipse.org/releases/galileo
Locate Collaboration, expand it, then check Subversive SVN Team Provider (Incubation)
Proceed through the installation and accept the TOS
Restart Eclipse and Subversive should prompt you to select a SVN Connector. Reading the symptoms you describe, it sounds like you don't have a connector installed, or it isn't communicating with your team provider. The Polarion website has a guide for choosing the connector best suited for you.
If you aren't prompted to install a connector, you can always do so from the preferences screen:
If the above doesn't work for you, it seems that your workspace isn't cleaned out. Locate your default workspace and try getting things working without any projects before you continue.
You could then also try deleting the .eclipse directory in your user directory. And starting over from step 3.
The problem I had was that svn icons where not showing in the package explorer.
The solution for me was to delete the .metadata folder in the workspace folder (which will reset all your workspace including preferences and repository configurations)
After that all the icons appeared.
I had same issue when SVN connector was not able to connect SVN repository in Eclipse.
Then, I do the following step's :-
Right click on Project under Eclipse.
Go to Team -> share Project.
It's working :)
I found a problem related to installing plugins here. I also could not get the SVN stuff to show up in the preferences because of some bug with the software updater updating the Mylin plugins. You'll likely have to get your Eclipse installation straightened out first and you can do this by just using a new workspace. You don't have to blow away the .metadata folder if you point Eclipse temporarily at a new workspace folder. When the Eclipse installation is clean, you can start installing plugins again, but make sure to uncheck the box labeled Contact all update sites during install to find required software
Eclipse uses local SVN libraries that are part of an installed plugin for SVN support, be it SVNkit or JavaHL. Netbeans uses SVN libraries that are installed independently.
I have had this happen before with Eclipse and the various SVN plugins that it supports. The SVN plugin, for some reason, sometimes looses the SVN connection. Your best bet is to simply delete the project and re-check it out of svn. If you have changes that need to be committed you can use the command line.
Another problem you may have is that your plugin and your repository are out of sync in terms of version numbers. I have had problems before using a plugin designed for svn 1.6.x and a repository that was still at svn 1.4 or 1.5.
Just delete all projects from eclipse and Re-Import the all projects again.
It is working for me.
Just try it
If you want to completely start over with eclipse, you need to delete your workspace as well (the path you see when you first start eclipse). Just re-installing the eclipse files and pointing to the same default workspace will not change anything for you.
Your best bet is to remove eclipse and your workspace and start over because you probably inadvertently broke some other parts of the plug in while you were trying to fix your initial problem.
Even if you install everything as it is said, Subversive and SVN Connector (svnkit 1.x.x), in the project you may not see svn working. In my case I had to remove the project from workspace and import it again. Then it appears. (Refresh, clean did not worked).