Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1356462
Summary: | eclipse-findbugs not working | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | evaristojosec |
Component: | eclipse-findbugs | Assignee: | Richard Fearn <richardfearn> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | richardfearn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | eclipse-findbugs-3.0.1-7.fc24 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 18:55:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
evaristojosec
2016-07-14 07:57:47 UTC
I have seen that all eclipse plugins in FC24 are installed in /usr/share/eclipse/droplets but eclipse-finbugs is installed under /usr/share/eclipse/dropins and I guess that could the root of the problem (In reply to evaristojosec from comment #1) > I have seen that all eclipse plugins in FC24 are installed in > /usr/share/eclipse/droplets but eclipse-finbugs is installed under > /usr/share/eclipse/dropins and I guess that could the root of the problem Thanks for the report. Indeed I think the use of droplets is the problem. If I start Eclipse with debugging turned on, I see: !ENTRY org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.257 !MESSAGE Problems resolving provisioning plan. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.257 !MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt.core 0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.257 !MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt.ui 0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.258 !MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt.launching 0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.259 !MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt 0.0.0. The JDT plugins are in the droplets folder: $ ls -1 /usr/share/eclipse/droplets/eclipse-jdt/eclipse/plugins/ org.eclipse.ant.launching_1.1.200.v20160511-1000.jar org.eclipse.ant.ui_3.6.200.v20160511-1000.jar org.eclipse.jdt_3.12.0.v20160511-1000.jar org.eclipse.jdt.annotation_1.1.100.v20160511-1000.jar org.eclipse.jdt.annotation_2.1.0.v20160511-1000.jar org.eclipse.jdt.apt.core_3.4.100.v20160511-1000.jar org.eclipse.jdt.apt.pluggable.core_1.1.100.v20160511-1000.jar org.eclipse.jdt.apt.ui_3.4.100.v20160511-1000.jar org.eclipse.jdt.compiler.apt_1.2.100.v20160511-1000.jar org.eclipse.jdt.compiler.tool_1.1.100.v20160511-1000.jar org.eclipse.jdt.core_3.12.0.v20160511-1000.jar org.eclipse.jdt.core.manipulation_1.7.0.v20160511-1000.jar org.eclipse.jdt.debug_3.10.0.v20160511-1000 org.eclipse.jdt.debug.ui_3.7.200.v20160511-1000.jar org.eclipse.jdt.doc.user_3.12.0.v20160511-1000.jar org.eclipse.jdt.junit_3.9.0.v20160511-1000.jar org.eclipse.jdt.junit4.runtime_1.1.600.v20160511-1000.jar org.eclipse.jdt.junit.core_3.8.0.v20160511-1000.jar org.eclipse.jdt.junit.runtime_3.4.600.v20160511-1000.jar org.eclipse.jdt.launching_3.8.100.v20160511-1000.jar org.eclipse.jdt.ui_3.12.0.v20160511-1000.jar org.hamcrest.core_1.3.0.v201303031735.jar org.junit_4.12.0.jar This page: http://wiki.eclipse.org/Equinox/p2/P2_Fragments says: P2 director WILL NOT BE ABLE to install things that are in the fragments. This is a limiation of runnable repositories mechanism (so if you have a bunle named a_1.0.0.jar, installed via a fragment, you will not be able to install any a_1.0.0.jar using that installation director. which I think is saying that plugins in the dropins folder (like FindBugs) can't depend on plugins in the droplets folder (like JDT plugins). Yes, the fix would be to move findbugs to droplets. Building right now: http://koji.fedoraproject.org/koji/taskinfo?taskID=14898640 The F24 build has finished (http://koji.fedoraproject.org/koji/taskinfo?taskID=14898640) so could install the new package from there. I also need to update eclipse-findbugs-contrib before submitting an update for F24. findbugs-contrib-6.6.1-2.fc24 eclipse-findbugs-3.0.1-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-43cd70e410 I downloaded the rpm and tested it and works fine. Thanks for the fast support You're welcome! Can I check one thing though - do some of the icons in the FindBugs views show up as red blocks for you? eclipse-findbugs-3.0.1-7.fc24, findbugs-contrib-6.6.1-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-43cd70e410 It is true what you mention that some of the icons in the findbugs are shown as red blocks instead of using the normal icons Thanks for confirming. I just wanted to check it's the same for you as it is for me. I don't think the functionality is affected by this though. I'll get the icons fixed in a subsequent update. eclipse-findbugs-3.0.1-7.fc24, findbugs-contrib-6.6.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |