Revision: 895
Author: heuermh
Date: Fri Nov 27 12:25:18 2009
Log: Created wiki page through web user interface.
http://code.google.com/p/piccolo2d/source/detail?r=895

Added:
  /wiki/BuildSWTOnMacOSX.wiki

=======================================
--- /dev/null
+++ /wiki/BuildSWTOnMacOSX.wiki Fri Nov 27 12:25:18 2009
@@ -0,0 +1,146 @@
+#summary One-sentence summary of this page.
+
+= Introduction =
+
+Add your content here.
+
+== MacOSX 10.6.x, Apple JDK 1.6.x, x86_64 ==
+
+todo
+
+== MacOSX 10.5.x, Apple JDK 1.5.x, x86_64 ==
+
+The Piccolo2D build works fine with on Intel Macs (x86_64) with MacOSX  
10.5.x and Apple JDK 1.5.x.
+
+Running the SWT examples requires the {{{-XstartOnFirstThread}}} JDK  
command line option or the java process will hang.
+
+For example, here is a complete walkthrough on MacOSX 10.5.8 with Apple  
JDK 1.5.0_20-b02-315.  First, diagnosis information:
+
+{{{
+$ java -version
+java version "1.5.0_20"
+Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02-315)
+Java HotSpot(TM) Client VM (build 1.5.0_20-141, mixed mode, sharing)
+
+$ mvn -version
+Apache Maven 2.2.0 (r788681; 2009-06-26 06:04:01-0700)
+Java version: 1.5.0_20
+Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
+Default locale: en_US, platform encoding: MacRoman
+OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix"
+
+$ mvn enforcer:display-info
+[INFO] [enforcer:display-info {execution: default-cli}]
+[INFO] Maven Version: 2.2.0
+[INFO] JDK Version: 1.5.0_20 normalized as: 1.5.0-20
+[INFO] OS Info: Arch: i386 Family: unix Name: mac os x Version: 10.5.8
+
+$ mvn help:active-profiles
+[INFO] [help:active-profiles {execution: default-cli}]
+[INFO] Active Profiles for  
Project 'org.piccolo2d:piccolo2d-parent:pom:1.3-SNAPSHOT':
+[INFO]   There are no active profiles.
+[INFO] Active Profiles for  
Project 'org.piccolo2d:piccolo2d-core:bundle:1.3-SNAPSHOT':
+[INFO]   There are no active profiles.
+[INFO] Active Profiles for  
Project 'org.piccolo2d:piccolo2d-extras:bundle:1.3-SNAPSHOT':
+[INFO]   There are no active profiles.
+[INFO] Active Profiles for  
Project 'org.piccolo2d:piccolo2d-swt:bundle:1.3-SNAPSHOT':
+[INFO]   The following profiles are active:
+[INFO]     - macosx_carbon (source: pom)
+[INFO] Active Profiles for  
Project 'org.piccolo2d:piccolo2d-examples:jar:1.3-SNAPSHOT':
+[INFO]   There are no active profiles.
+[INFO] Active Profiles for  
Project 'org.piccolo2d:piccolo2d-swt-examples:bundle:1.3-SNAPSHOT':
+[INFO]   There are no active profiles.
+[INFO] Active Profiles for  
Project 'org.piccolo2d:piccolo2d-complete:pom:1.3-SNAPSHOT':
+[INFO]   There are no active profiles.
+}}}
+
+and then the actual install:
+
+{{{
+$ mvn install
+[INFO] Scanning for projects...
+[INFO] Reactor build order:
+[INFO]   Piccolo2D Parent
+[INFO]   Piccolo2D Core
+[INFO]   Piccolo2D Extras
+[INFO]   Piccolo2D SWT
+[INFO]   Piccolo2D Examples
+[INFO]   Piccolo2D SWT Examples
+[INFO]   Piccolo2D
+[INFO]  
------------------------------------------------------------------------
+[INFO] Building Piccolo2D Parent
+[INFO]    task-segment: [install]
+[INFO]  
------------------------------------------------------------------------
+[INFO] Installing parent/pom.xml to  
~/.m2/repository/org/piccolo2d/piccolo2d-parent/1.3-SNAPSHOT/piccolo2d-parent-1.3-SNAPSHOT.pom
+[INFO]  
------------------------------------------------------------------------
+[INFO] Building Piccolo2D Core
+[INFO]    task-segment: [install]
+[INFO]  
------------------------------------------------------------------------
+[INFO] Installing core/target/piccolo2d-core-1.3-SNAPSHOT.jar to  
~/.m2/repository/org/piccolo2d/piccolo2d-core/1.3-SNAPSHOT/piccolo2d-core-1.3-SNAPSHOT.jar
+[INFO] Installing  
org/piccolo2d/piccolo2d-core/1.3-SNAPSHOT/piccolo2d-core-1.3-SNAPSHOT.jar
+[INFO]  
------------------------------------------------------------------------
+[INFO] Building Piccolo2D Extras
+[INFO]    task-segment: [install]
+[INFO]  
------------------------------------------------------------------------
+[INFO] Installing extras/target/piccolo2d-extras-1.3-SNAPSHOT.jar to  
~/.m2/repository/org/piccolo2d/piccolo2d-extras/1.3-SNAPSHOT/piccolo2d-extras-1.3-SNAPSHOT.jar
+[INFO] Installing  
org/piccolo2d/piccolo2d-extras/1.3-SNAPSHOT/piccolo2d-extras-1.3-SNAPSHOT.jar
+[INFO]  
------------------------------------------------------------------------
+[INFO] Building Piccolo2D SWT
+[INFO]    task-segment: [install]
+[INFO]  
------------------------------------------------------------------------
+Downloading:  
http://repo1.maven.org/maven2/org/eclipse/swt/carbon/macosx/3.3.0-v3346/macosx-3.3.0-v3346.pom
+
+Downloading:  
http://repo1.maven.org/maven2/org/eclipse/swt/carbon/macosx/3.3.0-v3346/macosx-3.3.0-v3346.jar
+[INFO] Installing swt/target/piccolo2d-swt-1.3-SNAPSHOT.jar to  
~/.m2/repository/org/piccolo2d/piccolo2d-swt/1.3-SNAPSHOT/piccolo2d-swt-1.3-SNAPSHOT.jar
+[INFO] Installing  
org/piccolo2d/piccolo2d-swt/1.3-SNAPSHOT/piccolo2d-swt-1.3-SNAPSHOT.jar
+[INFO]  
------------------------------------------------------------------------
+[INFO] Building Piccolo2D Examples
+[INFO]    task-segment: [install]
+[INFO]  
------------------------------------------------------------------------
+[INFO] Installing examples/target/piccolo2d-examples-1.3-SNAPSHOT.jar to  
~/.m2/repository/org/piccolo2d/piccolo2d-examples/1.3-SNAPSHOT/piccolo2d-examples-1.3-SNAPSHOT.jar
+[INFO]  
------------------------------------------------------------------------
+[INFO] Building Piccolo2D SWT Examples
+[INFO]    task-segment: [install]
+[INFO]  
------------------------------------------------------------------------
+[INFO] Installing  
swt-examples/target/piccolo2d-swt-examples-1.3-SNAPSHOT.jar to  
~/.m2/repository/org/piccolo2d/piccolo2d-swt-examples/1.3-SNAPSHOT/piccolo2d-swt-examples-1.3-SNAPSHOT.jar
+[INFO] Installing  
org/piccolo2d/piccolo2d-swt-examples/1.3-SNAPSHOT/piccolo2d-swt-examples-1.3-SNAPSHOT.jar
+[INFO]  
------------------------------------------------------------------------
+[INFO] Building Piccolo2D
+[INFO]    task-segment: [install]
+[INFO]  
------------------------------------------------------------------------
+[INFO] Installing pom.xml to  
~/.m2/repository/org/piccolo2d/piccolo2d-complete/1.3-SNAPSHOT/piccolo2d-complete-1.3-SNAPSHOT.pom
+[INFO]
+[INFO]
+[INFO]  
------------------------------------------------------------------------
+[INFO] Reactor Summary:
+[INFO]  
------------------------------------------------------------------------
+[INFO] Piccolo2D Parent ...................................... SUCCESS
+[INFO] Piccolo2D Core ........................................ SUCCESS
+[INFO] Piccolo2D Extras ...................................... SUCCESS
+[INFO] Piccolo2D SWT ......................................... SUCCESS
+[INFO] Piccolo2D Examples .................................... SUCCESS
+[INFO] Piccolo2D SWT Examples ................................ SUCCESS
+[INFO] Piccolo2D ............................................. SUCCESS
+[INFO]  
------------------------------------------------------------------------
+[INFO]  
------------------------------------------------------------------------
+[INFO] BUILD SUCCESSFUL
+[INFO]  
------------------------------------------------------------------------
+}}}
+
+== MacOSX 10.5.x, Apple JDK 1.5.x, ppc ==
+
+The Piccolo2D build works fine with on PowerPC Macs (ppc) with MacOSX  
10.5.x and Apple JDK 1.5.x.
+
+Running the SWT examples requires the {{{-XstartOnFirstThread}}} JDK  
command line option or the java process will hang.
+
+For example, here is a complete walkthrough on MacOSX 10.5... with Apple  
JDK 1.5.0....  First, diagnosis information:
+
+{{{
+todo
+}}}
+
+and then the actual install:
+
+{{{
+todo
+}}}

-- 
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en

Reply via email to