Trying to install eclipse Bytecode Outline plugin, missing dependency - java

I'm trying to install this: http://asm.ow2.org/eclipse/index.html, but I get this error which makes zero sense to me.
I'm running eclipse Kepler Service Release 1, build id 20130919-0819.
Cannot complete the install because one or more required items could not be found.
Software being installed: Bytecode Outline 2.1.0 (de.loskutov.BytecodeOutline.feature.feature.group 2.1.0)
Missing requirement: Bytecode Outline 2.1.0 (de.loskutov.BytecodeOutline.feature.feature.group 2.1.0) requires 'org.eclipse.help.appserver 0.0.0' but it could not be found

After Eclipse 3.3 "org.eclipse.help.appserver" was removed. See: eclipse:help-appserver
Description: This bundle provided implementation of a Tomcat-based web server application for the Eclipse help system. This was replaced in Eclipse 3.3 with a Jetty-based application server. This bundle defines no API and has been unused in the Eclipse platform for many releases.

It seems that the Eclipse ASM Bytecode Outline plugin was not maintained for quite some time which results in all kind of compatibility problems. For newer versions of Eclipse I therefore recommend installing this alternate version instead.

Use the Eclipse marketplace to find a version for the current eclipse version.

Related

Eclipse Thym requires 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)' but it could not be found

I am trying to install Eclipse Thym plugin, but I'm getting the below error.
Cannot complete the install because one or more required items could not be found.
Software being installed: Hybrid Mobile Application Development Tools 2.0.0.201604091831 (org.eclipse.thym.feature.feature.group 2.0.0.201604091831)
Missing requirement: Hybrid Mobile App. Dev. Core 2.0.0.201604091831 (org.eclipse.thym.core 2.0.0.201604091831) requires 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)' but it could not be found
Cannot satisfy dependency:
From: Hybrid Mobile Application Development Tools 2.0.0.201604091831 (org.eclipse.thym.feature.feature.group 2.0.0.201604091831)
To: org.eclipse.equinox.p2.iu; org.eclipse.thym.core [2.0.0.201604091831,2.0.0.201604091831]
I dug through multiple forums, but no where it is clear on how to resolve this issue. How to resolve this issue?
My IDE is Eclipse Photon
Regards
You could install it on more recent versions of Eclipse by using the snapshot software repository url, eq. http://download.eclipse.org/thym/snapshots/
It looks like Eclipse Thym is not compatible with Eclipse Photon.
The key part of the error is
requires 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)'
which says that the org.eclipse.jgit plugin is required and must have a version of at least 3.0.0 and less than 5.0.0. The version of this plugin in Eclipse Photon is 5.0.0 so it is not compatible.
So it looks like you would have to use an older version of Eclipse to run this.

In Eclipse 4.4 RCP builds, "The service Plugin converter could not be acquired."

We began getting the build errors below for our RCP applications after updating to the recent Eclipse 4.4 IDE Eclipse for RCP and RAP developers. These occurred on multiple Windows and Mac platforms, in a vanilla Eclipse IDE install with no additional plug-ins.
generateFeature:
[eclipse.generateFeature] The service Plugin converter could not be acquired.
[eclipse.generateFeature] The service Plugin converter could not be acquired.
[eclipse.generateFeature] The service Plugin converter could not be acquired.
...
Builds in an Eclipse 4.3.2 IDE continue to succeed. The only thing that differs is the IDE. (The build is launched with "Run in the same JRE as the workspace", making the current IDE relevant.)
Googling for "Plugin converter could not be acquired" resulted in two links, neither of which was particularly helpful.
How can these errors be eliminated?
This took me awhile to track down. This answer is for the benefit of others.
Eclipse 4.4 removed built-in support for Eclipse 2.0 plug-ins without an OSGi bundle manifest. This is intended to encourage migration to OSGi bundles.
Migrating to OSGi bundles is the best approach.
Alternatively, a compatibility plug-in can be added to the IDE. To install it:
Help>Install New Software
Select the site The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.4
Expand the category Eclipse Tests, Examples, and Extras.
Check the item Eclipse 2.0 Style Plugin Support
Continue through the rest of the wizard.
References:
Eclipse 4.4 Plug-in Migration Guide, Incompatibilities between Eclipse 4.3 and 4.4: Removed built-in support for Eclipse 2.0 Plug-ins
Eclipse bugs:
Bug 407312 - Remove support for 2.0 old style plugin support
Bug 413006 - add org.eclipse.osgi.compatibility.plugins.feature to a Luna category
Bug 440156 - Identify 2.0-style plug-ins

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.

Is it possible to use the TestNG plugin with Netbeans 6.8?

I downloaded the TestNG NetBeans Plugin and tried to install it in my NetBeans 6.8. I'm running NetBeans IDE 6.8 (Build 200912041610).
When I click install, I get this message:
Some plugins require plugin External
Execution Support to be installed. The
plugin External Execution Support is
requested in version >= 1.19 but only
1.18.1 was found. The following plugin is affected:       TestNG
Support
Some plugins require plugin Common
Test Runner API to be installed. The
plugin Common Test Runner API is
requested in version >= 1.13 but only
1.12.1 was found. The following plugin is affected:       TestNG
Support
Some plugins require plugin Utilities
API to be installed. The plugin Utilities API is requested in version >= 8.0 but only 7.31.2.1 was found. The following plugin is affected:
      TestNG Support
Some plugins require plugin
org.openide.util.lookup to be
installed. The plugin
org.openide.util.lookup is requested
in version 8.0. The following plugin
is affected:       TestNG Support
Some plugins not installed to avoid
potential installation problems.
Is it possible to use the TestNG plugin with Netbeans 6.8?
The plugin manager doesn't even seem to know about any of the dependency plugins. Is the TestNG plugin build against a beta or experimental version? I have updated all of my plugins to the latest versions.
Update
I went ahead and built the module from the Netbeans 6.8 branch. It installs fine now. Unfortunately, when I run the tests, I can see the ant output, but the TestNG view says "No tests Executed." I'll keep fiddling with it to see if I can get it working.
I took a quick look at this. It appears that the nbm file that you can download from the wiki page that you referenced is compiled against the trunk of the NB sources, not the bits that are released as NetBeans 6.8.
I have sent a note to the developer about this.
You can build the NBM yourself, but it is pretty painful, since you have to get the contrib repository.
This is embarrassing not able to use either the old version of TestNG or new version of TestNG in NetBeans. Any one kindly create a correct TestNG plugin for version 6.8.
Unfortunately, I don't think anyone has been working on the TestNG Netbeans plug-in in a while, so I'm not surprised to hear you are running into difficulties. Try posting your question on their forums?
Otherwise, I continue to work actively on the Eclipse plug-in (new version released a few weeks ago) and TestNG is supported natively by IDEA...
Hope this helps.

Categories

Resources