Bug 751707

Summary: Eclipse lost Java perspective after update
Product: [Fedora] Fedora Reporter: Artemy Kapitula, Mail.Ru Cloud Solutions <dalt74>
Component: eclipseAssignee: Sami Wagiaalla <swagiaal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: akurtako, mmcgrath, overholt, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-08 05:00:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Eclipse "Perspectives" preferences none

Description Artemy Kapitula, Mail.Ru Cloud Solutions 2011-11-07 09:05:26 UTC
Created attachment 531993 [details]
Eclipse "Perspectives" preferences

Description of problem:

After update from Fedora 15 to Fedora 16, Eclipse "lost" Java perspective

Version-Release number of selected component (if applicable):

$ rpm -qa| grep eclipse
tomcat5-jasper-eclipse-5.5.31-3.fc15.noarch
eclipse-jdt-3.7.0-1.3.fc16.x86_64
eclipse-platform-3.7.0-1.3.fc16.x86_64
eclipse-swt-3.7.0-1.3.fc16.x86_64
eclipse-rcp-3.7.0-1.3.fc16.x86_64
icu4j-eclipse-4.4.2-2.fc16.x86_64

Actual results:

No Java perspective

Expected results:

Java perspective needs to be in a list

Comment 1 Alexander Kurtakov 2011-11-07 09:17:12 UTC
Sami, 
I bet this is another dropins issue. Please take a look.

Comment 2 Artemy Kapitula, Mail.Ru Cloud Solutions 2011-11-08 05:00:07 UTC
That was a my mistake.

I just tested /usr/lib64/eclipse with rpm:
  rpm -qf `find /usr/lib64/eclipse -type f` 2>&1 | grep not
and found lots of files not owned by any package.

After removal them all Eclipse is now working right.

Comment 3 Sami Wagiaalla 2011-11-08 14:47:19 UTC
My favourite kind of bug is one that closes itself :)
I am glad that fixed it for you although in my reproducer that does not seem to work:

$ rpm -qf `find /usr/lib64/eclipse -type f` | sort | uniq
eclipse-jdt-3.7.0-1.3.fc16.x86_64
eclipse-platform-3.7.0-1.3.fc16.x86_64
eclipse-rcp-3.7.0-1.3.fc16.x86_64
eclipse-swt-3.7.0-1.3.fc16.x86_64
icu4j-eclipse-4.4.2-2.fc16.x86_64

There are no orphaned files.

I'll continue to look at my reproducer.
Thanks for the feedback!