You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/07/27 16:19:15 UTC

[royale-asjs.wiki] branch master updated: Created Apache Royale OS X development environment in five minutes (markdown)

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new b69179e  Created Apache Royale OS X development environment in five minutes (markdown)
b69179e is described below

commit b69179e497d47092a15dc03803bd55bec3a2a271
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Jul 27 18:19:14 2018 +0200

    Created Apache Royale OS X development environment in five minutes (markdown)
---
 ...OS-X-development-environment-in-five-minutes.md | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/Apache-Royale-OS-X-development-environment-in-five-minutes.md b/Apache-Royale-OS-X-development-environment-in-five-minutes.md
new file mode 100644
index 0000000..6c157b0
--- /dev/null
+++ b/Apache-Royale-OS-X-development-environment-in-five-minutes.md
@@ -0,0 +1,53 @@
+# Five Steps
+
+This is a guide step by step on how to install build a development environment on Mac OS X High Sierra since is the latest official version. The tools used in this guide for build Apache Royale is Maven.
+
+1. **Download and Install Xcode** from Apple Mac Store, since this will be required in the next step.
+
+2. **Install Homebrew**. This will software make very easy to install/uninstall the rest of required software pieces.
+
+`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
+
+Note: this step will download and install latest Xcode Command Line Tools
+
+3. **Install Java**. Latest Java version is 10, but you need 7 or later. For Java 8 you need to do:
+
+`brew tap caskroom/versions
+brew cask install java8`
+
+4. **Install Maven** (latest at the time I write this is 3.5.4)
+
+`brew install maven`
+
+5. **Install Git** (latest at the time I write this is 2.18.0)
+
+`brew install git`
+
+From this point you can start cloning Apache Royale repositories. You need at least "compiler", "typedefs" and "asjs" and build in that order. You can go to step 4 in this url:
+
+https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven
+
+# Optional
+
+Following steps are not required but will make your life easier:
+
+6. **Install Jenv** (http://www.jenv.be). This tool make easy to manage different Java versions
+
+`brew install jenv`
+
+7. **Check Java versions**
+
+`jenv versions`
+
+In my case: 
+* system (set by _/Users/<your-user>/.jenv/version_)
+(installed on _/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk_)
+If you install more java versions the list is populated with all versions and the one in use will show * to the left.
+
+8. Check $JAVA_HOME
+
+`jenv exec bash`
+
+`echo $JAVA_HOME`
+
+this outputs: _/Users/<your-user>/.jenv/versions/system_
\ No newline at end of file