https://bugzilla.redhat.com/show_bug.cgi?id=1331470
Bug ID: 1331470
Summary: swt hello world tutorial does not work
Product: Fedora
Version: 23
Component: eclipse
Severity: medium
Assignee: akurtako(a)redhat.com
Reporter: rtc(a)helen.plasma.xg8.de
QA Contact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, andjrobins(a)gmail.com,
eclipse-sig(a)lists.fedoraproject.org,
jerboaa(a)gmail.com, krzysztof.daniel(a)gmail.com,
mat.booth(a)redhat.com, rgrunber(a)redhat.com
Description of problem:
The "Create a Hello World SWT application" fails to work as described; widget
classes are inaccessible.
Version-Release number of selected component (if applicable):
eclipse-platform-4.5.2-10.fc23.i686
How reproducible:
always
Steps to Reproduce:
1. run eclipse
2. On the welcome tutorial screen, select "Create a Hello World SWT
application"
3. do as instructed
Actual results:
"Organize imports" has no effect, which leads to the following compile errors:
Display cannot be resolved to a type
Display cannot be resolved to a type
Shell cannot be resolved to a type
Shell cannot be resolved to a type
Expected results:
imports for Display and Shell are added by the "Organize imports" command.
Additional info:
1. manually adding the necessary imports, like
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
has no effect; the compile errors about missing Display and Shell are still
present.
2. The workspace explorer shows some strange files in
org.eclipse.swt.gtk.linux.x86, like org/eclipse/swt/widges/*.orig and
library/*.orig. Should these files really be there? They look like leftover
files from a patch that was applied.
--
You are receiving this mail because:
You are on the CC list for the bug.