Update EGit to 2.3 or higher in Spring Tool Suite 3.3.0 - eclipse

I've Spring Tool Suite 3.3.0 installed and it comes with EGit 2.2.0. Now I need EGit 2.3.0 or higher and so I have to uninstall the 2.2.0 to install 2.3.0. I can't install the new version because Eclipse detect a conflict with the older version.
The problem is that I can't follow the standard uninstall procedure (Help > About Eclipse > Installation Details), because, since EGit comes with Spring Tool Suite Package, the Uninstall button is disabled for it.
I also tried to delete feature and plugins (org.eclipse.egit, org.eclipse.egit.mylyn, org.eclipse.mylyn.github.feature) and then reboot eclipse with -clean option, but the conflict is still here.
How can I solve this?

I guess it happens because Spring Tool Suite 3.3.0 feature or one of its included/required feature probably references EGit feature as a requirement with mach rule 'equal' or 'equivalent'.
You can try install STS piece by piece instead of one root feature and see if it helps. You can see hierarchy for installed features in Help->About dialog.

I had the same problem with STS (3.6.1.RELEASE) and managed to solve following these steps:
close STS
remove all the features and plugins having git (also jgit)
edit the artifacts.xml in your STS installation and delete all the git artifacts
reboot STS with -clean option
open the "Help > Install new software" dialog and add the EGit main update site:
http://download.eclipse.org/egit/updates
in the "Help > Install new software" dialog select the newly added site in the "work with" selection list
select all the available items and install
restart eclipse.
At the end EGit was installed and since then it is working.

Related

How to install SVN Repository Exploring plugin for Eclipse

How to install SVN Repository Exploring plugin for Eclipse? My current Eclipse version is 2.6.1. it does not have SVN Repository Exploring Perspective.
Update your eclipse firstly.
Help --> Eclipse MarketPlace, search subclipse, click install, and then follow the instructions to finish up the installation process.
I highly advise you to update your Eclipse instead of trying to make the plugins work with the obsolete version of the IDE. You will encounter numerous issues in order to make the plugins work with older versions of the IDE since most of the plugins require atleast the 3.4 version of Eclipse to function properly. You will need to dig the archives to find older version of plugins and then some-how make them compatible with the older eclipse
My adivse, download (not update) the latest version of eclipse from the official website. I believe the latest version in use is 4.3.1.
Update : The latest version in use is now 4.4.1 (Luna)
Did you try Help -> Install New Software -> All Available sites
There you can select SVN plugin. try to install
You can add a particular site there, for example 'http://subclipse.tigris.org/' and select the SVN Version as per the Eclipse and trying referring it from 'Help > Install New Software > Add Site' .
Hope this helps.

How can I upgrade the eclipse version my STS is using?

I downloaded STS 3.2.0 with Juno 3.8 a month a go. Last week it updated my STS to 3.3.0 without automatically.
I've checked that Kepler 4.3 has come out and would like to upgrade my STS installation to use that. I don't want to just install the new package from the website as I loose all my configs and such when I do that.
Can anyone help?
Edit:
Or can anyone explain to how I can copy my settings etc. to a new installation of STS?
I don't know STS. In a normal Eclipse installation, you can run Help -> Install New Software, add the Kepler update site using the "Available sites" link, close the dialog, run Help -> Check for Updates and Eclipse will update everything it can find, under the condition of not breaking dependencies.
Your settings are not lost, if you use your old workspace with your new installation (as the majority of settings has workspace scope and is stored within it). Therefore you can also try the following: Install a newly downloaded version of Kepler besides your existing Eclipse. Then in the new installation run File -> Import -> Installation -> From existing to have it automatically copy plugins from the old installation to the new one. Afterwards install whatever is missing using the installation menus described at the top or using Help -> Marketplace.
I just upgraded my STS from 3.3 to 3.5. The following method worked fine.
Open STS > Help > Check for updates > Choose the latest version and install (lists all plugins available for upgrade as well as STS).
Open STS(Spring Tools Suite)-> Help -> Check for Updates -> it will automatically updates with latest version.
Version: STS 3.8.0 requires a JDK 8 to run on top of.
STS 3.9.0 requires a JDK 8 to run on top of.
STS 3.9.4 requires a JDK8/9/10 to run on top of.
STS 3.9.6 requires a JDK8/9/10/11 to run on top of.

Cannot install Mercurial on Eclipse Juno

Attempting to install Mercurial on Eclipse Java EE IDE Juno from
http://cbes.javaforge.com/update in the Install new software...
but,
"Cannot complete the install because one or more required items could not be found. Software being installed: codeBeamer Eclipse Studio (with Mylyn) 3.1.0.v201011161842 (org.codebeamer.eclipse.mylyn_feature.feature.group 3.1.0.v201011161842) Missing requirement: codeBeamer Eclipse Studio (with Mylyn) 3.1.0.v201011161842 (org.codebeamer.eclipse.mylyn_feature.feature.group 3.1.0.v201011161842) requires 'org.eclipse.mylyn_feature.feature.group 3.3.0' but it could not be found
I tried on Windows 7_64 and ubuntu 12.04_64. I even installed mylyn using the latest stable releases from http://download.eclipse.org/mylyn/releases/latest
Any Ideas?
Already browsed web and this site.
You could also try the update URL from the Google Code repository instead, which installs only MercurialEclipse.
+1 to installing from Google Code Repository.
Initially Eclipse wouldn't start because of problems with the older version of the plugin so to get past this simply removed the jar com.vectrace.MercurialEclipse_1.9.1.v201111302231.jar from the Eclipse plugins directory then uninstalled the existing plugin and re-installed from the link in smooth reggae's post.
All seems good so far.
The problem is, that the codeBeamer Eclipse Studio requires an older version of Mylyn (3.3.0), which isn't available for Juno.
But AFAIK you don't need the whole CBES, if you only need the Mercurial features. Try to select only MercurialEclipse, it should also be available in that update site.

Proper way to install SVNKit 1.7.x in Eclipse?

Folks,
I am a bit confused on how to get SVNKit 1.7 Beta 3 to work under Eclipse Indigo.
Using the Eclipse update site mentioned at http://svnkit.com/download.php, I installed new software from http://eclipse.svnkit.com/1.7.x. I selected both the items on the list, the core SVNKit Library and optional JNA Library.
The installation seems to have succeeded. When I look at the list of installed software, I see SVN Library 1.70 Beta 3 in the list.
However, Eclipse still does not recognized that my projects are source controlled.
When I go to Preferences, all I see is SVNKit 1.3.6-v1. I do not see SVNKit 1.7.
Is there some other step that I am missing? How do I get Subversive to recognized my Subversion 1.7 based projects?
Thank you in advance for your help.
Regards,Peter
To install SVNKit as an Eclipse plugin or to make sure that you have the latest version installed, use http://eclipse.svnkit.com/1.7.x/ as an update site location in Eclipse Update Manager.
List item In Eclipse menu select Help->Software Updates
List item Then choose 'Available Software' tab
List item Click 'Add Site...' button
List item Type http://eclipse.svnkit.com/1.7.x/ in the 'Location' field and press 'OK'.
List item Check the new site (it should appear in the list of update sites) and follow further steps as prompted by Eclipse.
Use http://eclipse.svnkit.com/1.3.x/ as an update site location to get older version of SVNKit (1.3.8).
In order to install SVNKit 1.7.x for Subversive I've opened Eclipse > Help > Install new software and used the link from http://www.polarion.com/products/svn/subversive/download.php page:
http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ – [required] Subversive SVN Connectors
After that new connector appeared under Eclipse Preferences.
Just for the records, as of March 2013, Subversive does seem to work with SVNKit 1.7.
I installed both (SVNKit 1.7.8 and then Subversive Service Release 1.0.1) on Eclipse Indigo and haven't run into any problems so far.
If you want to give it a try, just make sure to uninstall the previous version first, as the Subversive latest releases page points out:
Subversive 0.7 to 1.0 Upgrade Notes
If need to update Subversive from 0.7.x to the 1.0.0 version,
uninstall the previously installed Subversive 0.7.x plug-in version
first. Otherwise during the installation process you'll be blocked by
the old connectors version that is incompatible with the 1.0.0 release
and couldn't be installed simultaneously with the main plug-in due to
the installation UI restrictions.
Regards
Yes, it works with Subclipse, but not Subversive.

subclipse: Unable to load default SVN Client

I am constantly getting this error when working with eclispe and the subclipse plugin:
Unable to load default SVN Client
I have already installed both the SVNKit and the JavaHL provider, but it can't be found in the preferences:
I am using eclipse for win64bit
I had this problem after installing the latest eclipse and installing subclipse from the marketplace. To resolve you can follow these steps:
Click Help >> Install New Software...
Set Work with: Subclipse 1.10.x Update Site - http://subclipse.tigris.org/update_1.10.x
Ensure Hide items that are already installed is checked.
Click Select All.
Click Next.
Complete the remainder of the installation as usual.
For ubuntu 12.04 amd64
sudo apt-get install libsvn-java
add this to eclipse.ini after -vmargs:
-vmargs
-Djava.library.path=/usr/lib/jni:/usr/lib/x86_64-linux-gnu/jni
...
What JavaHL provider have you installed? It sounds like you need 64 bit JavaHL support. Have you tried SlikSVN?
I solved this with easiest way:
sudo apt-get install libsvn-java
sudo cp /usr/lib/jni/* /usr/lib
Faced the same problem after installed subclipse 1.8 from eclipse marketplace and resolved thru following steps:
1. Install subversion client (required)
2. Install Subversion JavaHL Native Library Adapter (required)
And it works now.
P/S: Eclipse Indigo
I don't know about JavaHL but to make the SVNKit appear on the list of SVN interfaces, you need to install the "SVN Client Adapter" and the "SVNKit Adapter" as well.
You can find those on the update site of Subclipse (*http://subclipse.tigris.org/update_1.8.x*).
I have a similar problem with Subclipse 1.8. Due to licenses limitations, SVN client aren't bundled with SVN any more. So I find the message "Unable to load default SVN Client".
My solutions is to install SVN client. It can't be easier. Go to Eclispe Marketplace, type Subclipse and click to install Subclipse again, select all options. When restarting Eclipse, it will prompt us to install an SVN client, choose SVNKit or JavaHL (I choose JavaHL). After restarting one more time, it all works.
In fedora 16 on x64 i meet also, i solved by downloading subversion 1.7 from here and installing:
yum install subversion-javahl-1.7.1-1.fc16.x86_64.rpm subversion-libs-1.7.1-1.fc16.x86_64.rpm subversion-1.7.1-1.fc16.x86_64.rpm
Install SVN on Eclipse Juno using the update site at http://subclipse.tigris.org/update_1.8.x
Go to Help -> Install new software, then Add update site.
Zend Studio 9 if you upgrade/update to 9.0.3 you will get this error as well. You need to uninstall all subEclipse and JavaHL stuff then follow the install procedures again and restart Zend studio.
Build 20120625 in Zend Version 9.0.3
If you are using the Subversive plugin (which is newer than the Subclipse one, and the two are easily confused with one another), you might run into problems finding the library even after configuring the library path in eclipse.ini. To fix the entire problem, you might need to add this setting to the file as well:
-Dsubversion.native.library=C:/SlikSVN_JavaHL/libsvnjavahl-1.dll
Read http://www.eclipse.org/subversive/installation-instructions.php for more help, it's a good-quality explanation of everything.
I had same problem with Spring STS 3.5.1 and Sub eclipse version 1.6. Upgraded to version 1.10 of subeclipse and everything is working fine.
The above problem arises with custom eclipse installation and due to updated version of subclipse.
You have to install the older version of subclipse manually.
For this i have done as following:
Under Help menu click "Install New Software..."
Select "http://subclipse.tigris.org/update_1.6.x" from the drop down menu
If URL of any other advanced version of are available change it to look as above.
Check the options selected are sensible e.g. "Hide items that are already installed"
Click "Select All"
Click Next/Finish through to completion.
After finishing the installation,under windows menu go to preferences,click on Team and on SVN.
Now change the client from Java HL to SVN pure kit.
That's it.
This resolved problem for me
Eclipse Java EE IDE for Web Developers.
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200
I solved this problem as follows
1) Install Subversive - SVN Team Provider 4.0.5 from marketplace
2) Team -> SVN -> SVN Connectors and set SVNKit 1.8.14
3) Restart eclipse
All works well