Eclipse plugin installation/update issues - java

I've installed the following Team repository plugins (along with it's dependencies) for Eclipse Helios (using Eclipse updater).
MercurialEclipse 1.7.1
Subclipse 1.6.17
Subversive SVN
All of these are the latest in Eclipse Marketplace. My problem is when I go to Eclipse "Preferences", under "Team" I only see CVS but under Eclipse Marketplace, I can see that these plugins are installed (it gives me an option to uninstall it).
How do I configure my Team repositories to reflect under "Team" in Preferences?
Also, there is an update for "Eclipse IDE for Java EE developers, but when I try to update it, the following error occurs:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
Software currently installed: Shared profile 1.0.0.1276787175574 (SharedProfile_epp.package.jee 1.0.0.1276787175574)
Only one of the following can be installed at once:
toolingepp.package.jee.configuration 1.3.2.20110301-1807
toolingepp.package.jee.configuration 1.3.0.20100617-0521
Cannot satisfy dependency:
From: Shared profile 1.0.0.1276787175574 (SharedProfile_epp.package.jee 1.0.0.1276787175574)
To: toolingepp.package.jee.configuration [1.3.0.20100617-0521]
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
To: toolingepp.package.jee.configuration [1.3.2.20110301-1807]
How do I solve it? Yes, I've spent days Googling for this issue but none solved my problem.
Thanks in advance.

For the first question, if you go to Help -> About -> Installation Details -> plug-ins tab do you see, eg for Subversive:

Are you doing this on a Windows 7 machine? Try running Eclipse as an administrator and then do the update.

Answering the second point of your question. Try executing eclipse as root/Administrator.
I had the same problem and I solved it.

Related

Unable to install egit plugin in eclipse galileo

I have an git URI and I want to import that project into Eclipse.
From this post I learned that we need to need to install the egit software in Eclipse.
But when I try to install this software I get the following error messages:
I am just thinking is the repository for egit moved to other place or are there any compatibility issues? I am totally not sure.
I am using Eclipse Galileo Platform Version: 3.5.2 Build id: M20100211-1343.
Is anybody there who encountered the same problem??
UPDATE -- This is the full error message
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse Git Team Provider 4.2.0.201601211800-r (org.eclipse.egit.feature.group 4.2.0.201601211800-r)
Missing requirement: Eclipse Git Team Provider 4.2.0.201601211800-r (org.eclipse.egit.feature.group 4.2.0.201601211800-r) requires 'org.eclipse.core.runtime [3.7.0,4.0.0)' but it could not be found
The key part of the error is
requires 'org.eclipse.core.runtime [3.7.0,4.0.0)'.
This is saying that the org.eclipse.core.runtime plugin must be at least version 3.7.0 (and below 4.0.0).
The version of org.eclipse.core.runtime in Eclipse Galileo is 3.5.0 so this version of EGit cannot be installed on Galileo. Either move to a newer Eclipse or try and find an older EGit (I don't know if a suitable version exists).

How do I update Eclipse CVS Client feature in Eclipse Luna

We require some bespoke changes to support our eclipse dev environment.
We have modified the plugin:
org.eclipse.team.cvs.ui
...and the feature:
org.eclipse.cvs-feature
...that references this plugin with our version
We then created an update site with this feature.
This approach works with no problems when worked with the plugins/features in Helios.
The same approach does not work in Luna. The error I get when I try and install the update site is:
Your original request has been modified.
"Eclipse CVS Client" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse CVS Client 1.4.101.kirona (org.eclipse.cvs.feature.group 1.4.101.kirona)
Software currently installed: Eclipse IDE for Eclipse Committers 4.4.1.20140925-1820 (epp.package.standard 4.4.1.20140925-1820)
Only one of the following can be installed at once:
CVS Team Provider UI 3.3.601.kirona (org.eclipse.team.cvs.ui 3.3.601.kirona)
CVS Team Provider UI 3.3.600.v20130514-1224 (org.eclipse.team.cvs.ui 3.3.600.v20130514-1224)
Cannot satisfy dependency:
From: Eclipse IDE for Eclipse Committers 4.4.1.20140925-1820 (epp.package.standard 4.4.1.20140925-1820)
To: org.eclipse.epp.package.standard.feature.feature.group [4.4.1.20140925-1820]
Cannot satisfy dependency:
From: Eclipse CVS Client 1.4.100.v20140925-0400 (org.eclipse.cvs.feature.group 1.4.100.v20140925-0400)
To: org.eclipse.team.cvs.ui [3.3.600.v20130514-1224]
Cannot satisfy dependency:
From: Eclipse CVS Client 1.4.101.kirona (org.eclipse.cvs.feature.group 1.4.101.kirona)
To: org.eclipse.team.cvs.ui [3.3.601.kirona]
Cannot satisfy dependency:
From: Eclipse CVS Client Resources 1.4.100.v20140925-0400 (org.eclipse.cvs.source.feature.group 1.4.100.v20140925-0400)
To: org.eclipse.cvs.feature.group [1.4.100.v20140925-0400]
Cannot satisfy dependency:
From: EPP Eclipse IDE for Eclipse Committers Feature 4.4.1.20140925-1820 (org.eclipse.epp.package.standard.feature.feature.group 4.4.1.20140925-1820)
To: org.eclipse.cvs.source.feature.group 0.0.0
As you can see we are basically trying to update the plugin from:
CVS Team Provider UI 3.3.600.v20130514-1224 (org.eclipse.team.cvs.ui 3.3.600.v20130514-1224)
to:
CVS Team Provider UI 3.3.601.kirona (org.eclipse.team.cvs.ui 3.3.601.kirona)
I do not understand why we cannot update this CVS feature?? It appears the software "Eclipse IDE for Eclipse Committers" that references this CVS feature is causing a conflict?
Any ideas how we can resolve this issue??
Thanks in advance.

Installing EGit on eclipse causes problems

I've tried installing the EGit plugin on Eclipse with this link: http://download.eclipse.org/egit/updates
I chose both, the Eclipse Git Team Provider and JGit and hit on next. Then, the window says The operation cannot be completed. See the details..
This is the window:
The error lines say:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Git Team Provider 3.0.3.201309161630-r (org.eclipse.egit.feature.group 3.0.3.201309161630-r)
Software currently installed: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800)
Only one of the following can be installed at once:
Team Support Core 3.7.0.v20130514-1224 (org.eclipse.team.core 3.7.0.v20130514-1224)
Team Support Core 3.5.0.I20090527-0620 (org.eclipse.team.core 3.5.0.I20090527-0620)
Team Support Core 3.5.1.r35x_20100113-0800 (org.eclipse.team.core 3.5.1.r35x_20100113-0800)
Team Support Core 3.6.0.I20110525-0800 (org.eclipse.team.core 3.6.0.I20110525-0800)
Cannot satisfy dependency:
From: Eclipse Git Team Provider 3.0.3.201309161630-r (org.eclipse.egit.feature.group 3.0.3.201309161630-r)
To: org.eclipse.egit.ui [3.0.3.201309161630-r]
Cannot satisfy dependency:
From: Git Team Provider UI 3.0.3.201309161630-r (org.eclipse.egit.ui 3.0.3.201309161630-r)
To: bundle org.eclipse.team.core [3.6.100,4.0.0)
Cannot satisfy dependency:
From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q)
To: org.eclipse.team.core [3.6.0.I20110525-0800]
Cannot satisfy dependency:
From: Eclipse Project SDK 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8 (org.eclipse.sdk.feature.group 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8)
To: org.eclipse.platform.feature.group [3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q]
Cannot satisfy dependency:
From: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800)
To: org.eclipse.sdk.feature.group [3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8]
I really don't know what is going on, but I want to get this to work so badly. Thanks in advance for everyone's support!
From the error message it looks like you are using Eclipse 3.7 (which is about 2 years old at the time of writing this answer).
EGit 3.0 requires at least Eclipse 3.8.2 or Eclipse 4.2.2, see What versions of Eclipse does EGit target? in the FAQ.
So the solution is to upgrade to a recent version of Eclipse, see Eclipse downloads.
Alternatively, if you need to stick to Eclipse 3.7.2 for some reason, you can use EGit version 1.3. This is the best update site to use in that case: eclipse indigo update site. If you filter by "git" you will get the correct plugins to install.

jUnit on eclipse Indigo

I installed Eclipse IDE for JavaScript Web Developers, Version: Indigo Service Release 1
Build id: 20110916-0149, in 2011 and use it for java development now but can see no menu about jUnit when I right click on a java class.
Actually jUnit appears nowhere in the menus.
After going around forums, I tried to install JDT, as I understood this is where jUnit is contained. But installation failed because of a conflict with something already installed...
Can you help please ?
FRED
Conflict details :
I get : Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
Software currently installed: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
Only one of the following can be installed at once:
Java Development Tools Launching Support 3.5.0.v20090527 (org.eclipse.jdt.launching 3.5.0.v20090527)
Java Development Tools Launching Support 3.6.0.v20110509 (org.eclipse.jdt.launching 3.6.0.v20110509)
Java Development Tools Launching Support 3.6.1.v20110803_r371 (org.eclipse.jdt.launching 3.6.1.v20110803_r371)
Java Development Tools Launching Support 3.5.1.v20100108_r352 (org.eclipse.jdt.launching 3.5.1.v20100108_r352)
Java Development Tools Launching Support 3.6.1.v20111006_r372 (org.eclipse.jdt.launching 3.6.1.v20111006_r372)
Cannot satisfy dependency:
From: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
To: org.eclipse.jdt.launching [3.6.1.v20110803_r371]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
To: org.eclipse.jdt.launching [3.6.1.v20111006_r372]
This looks pretty odd. Some background:
The plugin "Java Development Tools Launching Support" doesn't like to have different versions of itself installed in Eclipse. Eclipse 3.7.2 comes with version 3.6.1.v20111006_r372.
It seems that you still have old versions from 3.5 and 3.6 installed. Did you upgrade from an old version to 3.7?
Problems like that are usually only solvable by installing Eclipse again. Deleting the plugin on the disk won't help because p2 remembers which plugins are installed and doesn't care whether the plugin still exists. You probably also can't delete the plugin because some other plugin will depend on it.

Problems integrating Maven with Eclipse Kepler

I am totally new to working with Maven in Eclipse. I am using the latest verion of Eclipse (Kepler). According other posts, as well as Eclipse's help page http://help.eclipse.org/kepler/index.jsp?topic=//org.eclipse.platform.doc.user/tasks/tasks-127.htm , I am supposed to try to install new software within Eclipse IDE.
However, when I try to Add Eclipse's recommended m2e release, Eclipse gives me an error:
Unable to read repository at http://download.eclipse.org/technology/m2e/releases.
download.eclipse[...]releases is not a valid repository location.
Essentially I run into the same problem no matter which approach I take outlined on the Eclipse help page. Is there some other/better way to integrate Maven with Eclipse? Are there steps I should have taken before this? All I have done so far is install Eclipse. How can I successfully get Maven running?
EDIT: Now I am using Java EE and still run into problems when making a Maven project. I get a "Could not resolve archetype error" could this be because I'm behind a proxy?
Most convenient option:
The reason you're getting that error is because that repo is deprecated, and it has been moved. Example of how the new repo looks:
http://download.eclipse.org/technology/m2e/releases/1.0/1.0.0.20110607-2117
Copy that in the Install New Software view, and you will see that it works.
Other options:
Install the Maven Integration from Eclipse Marketplace (Help -> Eclipse Marketplace)
Download the EE version of Kepler (comes with m2e)
Choose your own release (bottom of the page) and use the Install New Software view.
I had the same issue here and the above answer didnt work for me. Although Maven is installed I cane update my dependencies on my folder the way I used to be able to do on Juno. What I did was used the pom.xml from my current project and pasted it into the pom of my new project I created specifically in Eclipse using new project->Maven.
This was eclipse knows its a Maven project and allows my all the benefits of being one.
To install maven properly for eclipse you should set the correct repos as follow:
Help=>install=>
then work with
http://download.eclipse.org/releases/
example of eclipse version : mars or kepler ..

Categories

Resources