Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Common Build Infrastructure/Virtual Server Setup/MacOSX"

(Install software)
Line 9: Line 9:
 
* update to 10.4.5 using [http://support.apple.com/downloads/Mac_OS_X_Update_10_4_5_Combo Mac OS X 10.4.5 Combo Update]. (I tried this and it failed.)
 
* update to 10.4.5 using [http://support.apple.com/downloads/Mac_OS_X_Update_10_4_5_Combo Mac OS X 10.4.5 Combo Update]. (I tried this and it failed.)
  
==Install software ==
+
== Run a build in Eclipse ==
  
* find a terminal under Finder > Go > Applications > Utilities > Terminal, and drag it into the desktop or launcher bar for convenience.
+
* download and unpack Eclipse 3.4.2, then double-click the application icon.
  
* open Safari and go to http://support.apple.com/downloads/Java_2_SE_5_0_Release_1. Download and install.
+
* choose a workspace without spaces or a lengthy path, such as <code>~/Documents/workspace</code>
  
* get Eclipse 3.4.2: http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/
+
* 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].
  
* unpack into ~/Desktop, then drag the eclipse/ folder into Finder > Go > Applications (/Applications dir).
+
* 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.
  
* run Eclipse - hopefully you won't see this: http://imagebin.ca/view/X0k13i1x.html
+
* 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/
 
+
 
''At this point I'm stuck, as I can't run Eclipse or Hudson. Suggestions welcome.''
+
* 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-win32.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
 +
 
 +
::[[Image: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
 +
 
 +
pkill -f N200903

Revision as of 21:53, 11 March 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.

Create or acquire virtual server image

  • depending on where you are on the planet, this may be considered taboo. You may be able to create your own image using VMWare Converter.
  • the details below apply to the "deadmoo" Mac OS X 10.4.1 image; using something newer, YMMV.

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
  • 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-win32.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
200px
  • to kill a stuck process or bad build in progress, open a terminal (Finder > Go > Applications > Utilities > Terminal) and run
pkill -f N200903

Back to the top