Bug 464960 - Hello World SWT Tutorial References Deprecated(?) 'Import Plug-ins and Fragments' && 'Click to Perform' Results in Error
Summary: Hello World SWT Tutorial References Deprecated(?) 'Import Plug-ins and Fragme...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 4.5 RC3   Edit
Assignee: Niraj Modi CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2015-04-19 16:05 EDT by Scott Anecito CLA
Modified: 2015-05-27 01:09 EDT (History)
6 users (show)

See Also:
lshanmug: review+
markus.kell.r: review+
noopur_gupta: review+


Attachments
Screenshot of lack of plug-in import (121.75 KB, image/png)
2015-04-19 16:05 EDT, Scott Anecito CLA
no flags Details
WORKS_FOR_ME (155.47 KB, image/png)
2015-04-20 05:05 EDT, Niraj Modi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Anecito CLA 2015-04-19 16:05:43 EDT
Created attachment 252519 [details]
Screenshot of lack of plug-in import

For the Hello World SWT Tutorial on the second step is says

"Open the Import wizard from the main menu via File > Import..., and select Plug-in Development > Plug-ins and Fragments. Click Next."

However the first level of the import menu doesn't reference anything with regard to plug-ins nor does using the search filter for 'plug' return any results.
Comment 1 Scott Anecito CLA 2015-04-19 16:48:16 EDT
'Click to perform' on the step results in:

"The command did not complete successfully. 
unknown wizard: org.eclipse.pde.ui.PluginImportWizard"
Comment 2 Niraj Modi CLA 2015-04-20 05:05:04 EDT
Created attachment 252530 [details]
WORKS_FOR_ME

Tried Eclipse-4.4.2 with the steps in comment 0, it works for me on Window7.

Can you try with any of latest eclipse 4.5 builds: http://download.eclipse.org/eclipse/downloads/

Is this problem Win8 specific ?
Comment 3 Lakshmi P Shanmugam CLA 2015-04-20 05:45:28 EDT
Looks like PDE (Plugin development Environment) is not installed/available in your eclipse. Please install the Eclipse Plugin Development Tools and try it out.
Comment 4 Scott Anecito CLA 2015-04-25 21:15:26 EDT
The solution ended up being installing SWT. Given a name like 'Standard Widget Toolkit' I thought it came packaged with Eclipse especially since the Hello World SWT tutorial is featured when opening up Eclipse. 

I believe from a user experience perspective a how to install SWT step should be included with the rest of the steps so that for those who don't have SWT already installed they don't have to navigate outside of Eclipse to figure out the source of the issue and find the solution as the issue won't happen in the first place. The only negative I can see is people who already have SWT installed having to click 'next step'.
Comment 5 Eclipse Genie CLA 2015-05-25 11:33:29 EDT
New Gerrit change created: https://git.eclipse.org/r/48548
Comment 6 Lakshmi P Shanmugam CLA 2015-05-26 07:56:46 EDT
+1, Changes look good.
Comment 7 Niraj Modi CLA 2015-05-26 08:24:35 EDT
(In reply to Eclipse Genie from comment #5)
> New Gerrit change created: https://git.eclipse.org/r/48548

Hi Dani/Markus,
Can you please push this gerrit patch to the JDT repo ?
Comment 8 Dani Megert CLA 2015-05-26 09:55:17 EDT
(In reply to Niraj Modi from comment #7)
> (In reply to Eclipse Genie from comment #5)
> > New Gerrit change created: https://git.eclipse.org/r/48548
> 
> Hi Dani/Markus,
> Can you please push this gerrit patch to the JDT repo ?

Noopur, please review for me, thanks.
Comment 10 Markus Keller CLA 2015-05-26 10:06:42 EDT
Thanks, I've fixed a few remaining issues and pushed the change.
Comment 11 Noopur Gupta CLA 2015-05-26 10:21:44 EDT
+1, with a minor change:

Verify that a SWT project...
=>
Verify that an SWT project...
Comment 12 Markus Keller CLA 2015-05-26 13:07:31 EDT
(In reply to Noopur Gupta from comment #11)
Thanks Noopur. Fixed with http://git.eclipse.org/c/jdt/eclipse.jdt.git/commit/?id=c59c45cfc44bed17caf875fcda4e439cbcb2e576
Comment 13 Niraj Modi CLA 2015-05-27 01:09:23 EDT
Thanks Markus/Noopur/Lakshmi for your quick inputs on this issue.
Verified the fix in today's I-build I20150526-2010