Bug 24450 - Import UI components broken
Summary: Import UI components broken
Status: RESOLVED DUPLICATE of bug 18212
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Wassim Melhem CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-07 09:52 EDT by Andrew Irvine CLA
Modified: 2002-10-08 14:09 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 Andrew Irvine CLA 2002-10-07 09:52:43 EDT
Eclipse 20021001
Platform Windows 2000

1/ New install
2/ Import external plugins and fragments, binary 
3/ Select all org.eclipse.ui.* components 
4/ Click on Add Required plugins
5/ import
6/ Open CVS Repository view, select modules
7/ import platform-ui

Note the compile errors, the components being complained about are present.
This methodology worked prior to the UI reorganization.
Comment 1 Wassim Melhem CLA 2002-10-08 12:55:19 EDT
The problem you encountered is not a result of a PDE bug.  However, you could 
have used PDE's 'Update Classpath' function to fix the problem.

Before you checked out the org.eclipse.ui.* projects from CVS, the exising ones 
that you imported using PDE's import were binary and had references to .jar 
files.  Then, you checked out multiple cross-referencing projects from CVS 
without deleting the binary counterparts first.  Upon check out, the multiple 
projects in your workspace are overwritten, not deleted and recreated.  The 
Java Model, as a result, got confused and the errors that you see in the Tasks 
view are still looking for the jar files which no longer exist after checking 
out the source projects.

You can do one of two things:
1. Delete existing binary projects from your workspace before checking out 
their source counterparts from CVS, or
2. Do what you did, but use PDE's 'Update Classpath' to fix your problem after 
the check out is done.

The reason why you never ran into the problem before the split of 
org.eclipse.ui is because you were dealing with one project, as opposed to the 
current multiple cross-referencing projects.

PDE should only be held responsible if the import operation of the binary 
projects computed the wrong classpath, or if the 'Update Classpath' action 
resulted in erroneous behavior.  Both functions are working properly.
Comment 2 Wassim Melhem CLA 2002-10-08 14:08:54 EDT
Re-opening, in order to mark it as duplicate of bug 18212
Comment 3 Wassim Melhem CLA 2002-10-08 14:09:38 EDT

*** This bug has been marked as a duplicate of 18212 ***