Bug 15053

Summary: Fragments not picked up on import
Product: [Eclipse Project] PDE Reporter: Vlad Klicnik <klicnik>
Component: UIAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Vlad Klicnik CLA 2002-05-01 22:43:14 EDT
20020501 Win2K

I was setting up my workspace (doing it "my way" of course). So I started with 
new workspace, turned off building, added my projects from repo, went to Import 
plugins from external, selected Update UI, Add all prereqs and [Finish].

Binary projects got imported, BUT the fragments (for SWT, other?) did not. I 
ended up with a bunch of errors that a normal user would find confusing. 

So, I went back and manually imported the fragments for resources.win32 and 
swt.win32. Imported OK, but errors did not get fixed.

The import needs to collect any fragments that are referencing a plugin that is 
being imported.

After I did all this, I could not get the update.ui and update.ui.forms projects 
to compile ... complaining about SWT classes missing.
Comment 1 Vlad Klicnik CLA 2002-05-01 22:54:43 EDT
So I gave up after 15 minutes of futility, deleted all projects from workspace, 
went to Import plugins, did "Select All", finish, delete the binaries for 
update, loaded projects from repo, and all was well.

The moral of the story is that "my way" does not work. The other way does. Need 
to fix if we are going to support self-hosting without importing all.
Comment 2 Dejan Glozic CLA 2002-05-02 09:21:21 EDT
I will update the import wizard to include fragments in required plug-ins 
computation.

In the mean time, select SWT plug-in and recompute its classpath to make it 
compile.
Comment 3 Dejan Glozic CLA 2002-05-03 11:54:28 EDT
Updated Import wizard to add fragments that belong to a plug-in in dependency 
computation.

Also fixed Preference page 'Not in Workspace' button to include fragments.