Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Common Build Infrastructure/Virtual Server Setup/MacOSX"
(→Install software) |
(→TODO) |
||
(13 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | This page documents how | + | This page documents how to set up a Mac OS X box for use in EclipseCon 2009's [http://www.eclipsecon.org/2009/sessions?id=302 Hands-On: Using the new Common Builder for Push-Button PDE Builds] tutorial. |
− | == | + | == Run a build in Eclipse == |
− | * | + | * download and unpack Eclipse 3.4.2, then double-click the application icon. |
− | * | + | * choose a workspace without spaces or a lengthy path, such as <code>~/Documents/workspace</code> |
− | * | + | * download [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.dash/athena/org.eclipse.dash.commonbuilder/org.eclipse.dash.commonbuilder.releng/psf/gef.psf?root=Technology_Project&view=co gef.psf]. |
− | + | * import the psf into Eclipse using File > Import > Team > Project Set File. You should end up with three workspace projects, org.eclipse.releng.basebuilder, org.eclipse.dash.common.releng, and org.eclipse.gef.releng. | |
− | * | + | * download [http://downloads.sourceforge.net/ant-contrib/ant-contrib-1.0b3-bin.zip ant-contrib.jar] into ~/Documents/workspace/org.eclipse.dash.common.releng/lib/ |
− | * open | + | * open gef.releng, configure build.properties to correct java and Eclipse platform settings. For example |
− | + | dependencyURLs=http://download.eclipse.org/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-SDK-3.5M5-macosx-carbon.tar.gz | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | dependencyURLs=http://download.eclipse.org/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-SDK-3.5M5- | + | |
− | JAVA_HOME=/ | + | JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home |
− | JAVA14_HOME=/ | + | JAVA14_HOME=/System/Library/Frameworks/JavaVM.framework/Home |
− | JAVADOC14_HOME=/ | + | JAVADOC14_HOME=/System/Library/Frameworks/JavaVM.framework/Home/bin |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | * select build.xml, right-click and Run as > Ant Build | |
− | + | ||
− | + | ||
− | + | ::[[Image:Run-CBI-on-MacOSX10.5.png|200px]] | |
− | + | * to kill a stuck process or bad build in progress, open a terminal (Finder > Go > Applications > Utilities > Terminal) and run | |
− | + | ||
− | + | ps ax | grep java | grep N200903 | |
− | + | * then kill the associated process | |
− | + | kill -9 <processid> | |
− | |||
− | + | == TODO == | |
− | + | + | + {{bug|268420}} - tests do not run - need to solve issues w/ headless X connection & carbon vs. cocoa dependencies |
− | + | [[Category:Athena Common Build]] |
Latest revision as of 01:33, 27 November 2009
This page documents how to set up a Mac OS X box for use in EclipseCon 2009's Hands-On: Using the new Common Builder for Push-Button PDE Builds tutorial.
Run a build in Eclipse
- download and unpack Eclipse 3.4.2, then double-click the application icon.
- choose a workspace without spaces or a lengthy path, such as
~/Documents/workspace
- download gef.psf.
- import the psf into Eclipse using File > Import > Team > Project Set File. You should end up with three workspace projects, org.eclipse.releng.basebuilder, org.eclipse.dash.common.releng, and org.eclipse.gef.releng.
- download ant-contrib.jar into ~/Documents/workspace/org.eclipse.dash.common.releng/lib/
- open gef.releng, configure build.properties to correct java and Eclipse platform settings. For example
dependencyURLs=http://download.eclipse.org/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-SDK-3.5M5-macosx-carbon.tar.gz JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home JAVA14_HOME=/System/Library/Frameworks/JavaVM.framework/Home JAVADOC14_HOME=/System/Library/Frameworks/JavaVM.framework/Home/bin
- select build.xml, right-click and Run as > Ant Build
- to kill a stuck process or bad build in progress, open a terminal (Finder > Go > Applications > Utilities > Terminal) and run
ps ax | grep java | grep N200903
- then kill the associated process
kill -9 <processid>
TODO
+ bug 268420 - tests do not run - need to solve issues w/ headless X connection & carbon vs. cocoa dependencies