Bug 15053 - Fragments not picked up on import
Summary: Fragments not picked up on import
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 22:43 EDT by Vlad Klicnik CLA
Modified: 2002-05-03 11:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.