Bug 462871

Summary: 32bit cocoa is no longer a supported platform for SWT
Product: z_Archived Reporter: Mat Booth <mat.booth>
Component: MylynAssignee: Mat Booth <mat.booth>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2 Keywords: contributed
Version: unspecified   
Target Milestone: 3.16   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

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!