On Wed, Dec 2006 08:21:16 +0100, Daniel Megert wrote:
I followed your instructions ... feedback below.
> Since You has the Eclipse SDK downloaded let's do it the easy-to:
>
> 1. Start your workspace
> 2. File > Import ... > Plug-ins and Fragments
> 3. Click ' Next '
> 4. Verify the top most checkboxes are checked and that
> Points to your Eclipse installation
It did. No problems so far.
> If not:got to the PDE Target preference page and reset the settings
> 5. Select ' Binary project '
> 6. Click ' Next '
> 7. On the left side select ORG.ECLIPSE.SWT
> 8. Click ' Add '
> 9. Click ' Required plug-ins '
> 10. Click ' Finish '
> 11. Now check the that these steps worked:
> Use ctrl+shift+t to open an SWT type (e.g. Display) and verify
> that source was shown in the editor
This does isn't work. If I highlight Display, I get:
The source attachment does not contain the source for the file
Display.class. Can change the source attachment by clicking Change
Attached Source below.
> 12. Open your Java project ' s Build Path property page
project->properties-> Java Build Path
> 13. Make sure there is NO Swt.jar under ' Libraries '
SWT is there and under it is org.eclipse.swt.gtk.linux.x86. and under
Native Library Location It has.../workspace/org.eclipse.swt.gtk.linux.x86/
-Non modifiable.
> 14. On the ' Projects ' tab, add all the org.eclipse.swt* Projects.
> Imported under Step 10.
"Build path contains duplicate entry: ' Org.eclipse.swt.gtk.linux.x86 ' for
Project test "So I removed it here.
> 15. Click ' OK '
>
> You should now is setup correctly. In the need to switch
> To a new SWT version simply install the new version and repeat steps 1-10.
It works now.
FWIW, I has never had to manually add anything to does with SWT to my
Projects before.
Thanks for your help.