Bug 462871 - 32bit cocoa is no longer a supported platform for SWT
Summary: 32bit cocoa is no longer a supported platform for SWT
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P2 major (vote)
Target Milestone: 3.16   Edit
Assignee: Mat Booth CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2015-03-23 12:34 EDT by Mat Booth CLA
Modified: 2015-04-30 17: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 Mat Booth CLA 2015-03-23 12:34:34 EDT
In Mars (4.5), SWT has dropped support for 32bit Cocoa, so if specify this platform as a "target environment" in your pom.xml, for example:

                  <os>macosx</os>
                  <ws>cocoa</ws>
                  <arch>x86</arch>

Then your build is likely to fail with error similar to:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.23.0-SNAPSHOT:compile (default-compile) on project org.eclipse.mylyn.context.ui: Compilation failure: Compilation failure:
[ERROR] /home/mbooth/workspace-mylyn/org.eclipse.mylyn.context/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/AbstractInterestManipulationAction.java:
[ERROR] /*******************************************************************************
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.Color cannot be resolved. It is indirectly referenced from required .class files
Comment 1 Mat Booth CLA 2015-03-23 12:35:29 EDT
Please consider applying the following patch:

https://git.eclipse.org/r/44393
Comment 2 Sam Davis CLA 2015-03-23 14:39:47 EDT
Thanks, we'll take a look at this during the next release cycle.
Comment 3 Sam Davis CLA 2015-04-30 17:09:55 EDT
The changes have been merged. Thanks very much for the contribution!