Bug 66314 - [README] Cannot import SWT as source project
Summary: [README] Cannot import SWT as source project
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC4   Edit
Assignee: PDE-UI-Inbox CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
: 64068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-09 11:12 EDT by Markus Keller CLA Friend
Modified: 2004-06-22 22:53 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA Friend 2004-06-09 11:12:16 EDT
200406090800

- new workspace, File > Import > External Plugins and Fragments
- Import As: Projects with source folders
- import org.eclipse.swt and required plug-ins
=> neither og.eclipse.swt nor org.eclipse.swt.win32 contain .java files
Comment 1 Pascal Rapicault CLA Friend 2004-06-10 08:53:40 EDT
This is normal and has always been like that.
PDE does not have the info to figure out the funky setup that SWT requires (in 
the repo all the code is in the plugin, and it is then redistributed over the 
fragments at build time), therefore it automatically imports it as binary 
instead on importing something that it could not get to compile and let you 
struggle with the compile errors.

Moving to pde-ui.
Comment 2 Wassim Melhem CLA Friend 2004-06-10 08:57:06 EDT
Correct.  With the way swt is shipped, its code is spread across the plug-in 
and fragments and they reference each other.  So it will result in circular 
dependencies among projects, and these are at minimum marked as warnings by 
the compiler.  To avoid these headaches, we always import swt as binary.
Will be a README in 3.0.
Comment 3 Wassim Melhem CLA Friend 2004-06-10 17:12:49 EDT
will use this defect to track README for org.apache.ant, org.eclipse.osgi.util 
and org.eclipse.osgi.services as well.
Comment 4 Wassim Melhem CLA Friend 2004-06-11 04:32:29 EDT
*** Bug 64068 has been marked as a duplicate of this bug. ***
Comment 5 Wassim Melhem CLA Friend 2004-06-22 22:53:56 EDT
Entered a readme entry for 3.0