Friends of Eclipse,
Eclipse is an open source community that benefits millions of developers around the world each and every day! During the month of September, we are asking you to give back to our wonderful open source community. All donations will be used to improve Eclipse technology. Your contribution counts!
We thank you for this gesture, and for giving back to our community.
Most of the platform interface and C code used by SWT on the Mac/Cocoa port is generated by the MacGeneratorUI class included in the SWT Tools plugin available on the SWT Tools Update Sites. This page describes how to use this tool when fixing bugs or adding features to SWT for cocoa.
On Eclipse 3.5.1 and newer releases:To compile the code, right-click on the build.xml file in the tasks directory, and choose "Run As -> Ant Build...". Select the JRE tab, and check "Run in the same JRE as the workspace". Select the Targets tab, and check build_cocoa_x86_and_ppc or build_cocoa_x86_64 according to platform you wish to target. See the instructions at the beginning of the build.xml file for more information.
On Eclipse 3.5 and older releases:To compile the code, right-click on the build.xml file in the Eclipse SWT PI/cocoa/library directory, and choose "Run As -> Ant Build...". Select the JRE tab, and check "Run in the same JRE as the workspace". Select the Refresh tab, and check "Refresh resources upon completion" to refresh your workspace after running the build to ensure Eclipse picks up the fresh binaries. Now select the "Run" button.
Back to the top