Return-Path: X-Original-To: apmail-eagle-commits-archive@minotaur.apache.org Delivered-To: apmail-eagle-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 311E519FE5 for ; Wed, 13 Apr 2016 04:43:41 +0000 (UTC) Received: (qmail 94629 invoked by uid 500); 13 Apr 2016 04:43:41 -0000 Delivered-To: apmail-eagle-commits-archive@eagle.apache.org Received: (qmail 94593 invoked by uid 500); 13 Apr 2016 04:43:40 -0000 Mailing-List: contact commits-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list commits@eagle.incubator.apache.org Received: (qmail 94582 invoked by uid 99); 13 Apr 2016 04:43:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 04:43:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 55AFCC1445 for ; Wed, 13 Apr 2016 04:43:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.216 X-Spam-Level: X-Spam-Status: No, score=-3.216 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LIVE=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id KtlXrSfFG27x for ; Wed, 13 Apr 2016 04:43:38 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 290725F23F for ; Wed, 13 Apr 2016 04:43:36 +0000 (UTC) Received: (qmail 94565 invoked by uid 99); 13 Apr 2016 04:43:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 04:43:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3C96CDFA6F; Wed, 13 Apr 2016 04:43:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hao@apache.org To: commits@eagle.incubator.apache.org Message-Id: <1589057fcfcc4e4eacbf968fef396954@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-eagle git commit: EAGLE-248 Rename eagle-tutorial to eagle-docs Date: Wed, 13 Apr 2016 04:43:36 +0000 (UTC) Repository: incubator-eagle Updated Branches: refs/heads/master 7cfb19e59 -> 3b405cbf8 EAGLE-248 Rename eagle-tutorial to eagle-docs https://issues.apache.org/jira/browse/EAGLE-248 Closes #144 Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/3b405cbf Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/3b405cbf Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/3b405cbf Branch: refs/heads/master Commit: 3b405cbf821d96074c556cf0f2c6cb8374c0ee3b Parents: 7cfb19e Author: Hao Chen Authored: Wed Apr 13 12:39:19 2016 +0800 Committer: Hao Chen Committed: Wed Apr 13 12:43:10 2016 +0800 ---------------------------------------------------------------------- eagle-docs/SetupDevelopmentEnvOnMac.md | 122 ++++++++++++++++++++++++ eagle-tutorial/SetupDevelopmentEnvOnMac.md | 122 ------------------------ 2 files changed, 122 insertions(+), 122 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/3b405cbf/eagle-docs/SetupDevelopmentEnvOnMac.md ---------------------------------------------------------------------- diff --git a/eagle-docs/SetupDevelopmentEnvOnMac.md b/eagle-docs/SetupDevelopmentEnvOnMac.md new file mode 100644 index 0000000..b169ffe --- /dev/null +++ b/eagle-docs/SetupDevelopmentEnvOnMac.md @@ -0,0 +1,122 @@ + + +How to setup the Eagle development environment on Mac +=============================================== + +This tutorial is based Mac OS X. It can be used as a reference guide for other OS like Linux or Windows as well. To save your time of jumping back and forth between different web pages, all necessary references will be point out. + +Prerequisite +------- + +### - HomeBrew +Make sure you have HomeBrew installed on your mac. If not, please run: + +>\$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + +you can find more information about HomeBrew at http://brew.sh/ . + +### - Scala & SBT +Some core eagle modules are written with scala. To install Scala and SBT, just run: + +> $ brew install scala + +> $ brew install sbt + +### - npm + +Eagle-webservice module uses npm. To install it, run: + +> $ brew install npm + + +### - Maven +Eagle is built with maven: +> +> $ brew install maven + + +### - HomeBrew Cask +Install HomeBrew Cask: +> $ brew install caskroom/cask/brew-cask + +Next, install JDK via HomeBrew: + +> $ brew cask search java + +you will see all available JDK versions and you can install multiple JDK versions in this way. For eagle please choose java7 to install: + +> $ brew cask install java7 + +- +> **Note:** +> During this writing SBT has issue with JDK 8. This issue has been tested confirmed by using: +> -Java 1.8.0_66 +> -Maven 3.3.9 +> -Scala 2.11.7 +> -Sbt 0.13.9 + +you can find more information about HomeBrew Cask at http://caskroom.io/ . + +### - Jenv + +you can use Jenv to manage installed multiple Java versions. To install it: +> $ brew install https://raw.githubusercontent.com/entrypass/jenv/homebrew/homebrew/jenv.rb + +and make sure activate it automatically: + +> \$ echo 'eval "$(jenv init -)"' >> ~/.bash_profile + +- +> **Note:** +> There is a known issue at this writing: https://github.com/gcuisinier/jenv/wiki/Trouble-Shooting +> Please make sure JENV_ROOT has been set before jenv init: +> $ export JENV_ROOT=/usr/local/opt/jenv + +Now let Jenv manage JDK versions (remember In OSX all JVMs are located at /Library/Java/JavaVirtualMachines): + +> \$ jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/ +$ jenv add /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/ + +and + +> $ jenv rehash + +You can see all managed JDK versions: + +> $ jenv versions + +set global java version: + +> $ jenv global oracle64-1.8.0.66 + +switch to your eagle home directory and set the local JDK version for eagle: + +> $ jenv local oracle64-1.7.0.80 + +you can find more information about Jenv at https://github.com/rbenv/rbenv and http://hanxue-it.blogspot.com/2014/05/installing-java-8-managing-multiple.html. + +Build Eagle +----------- + +Go to Eagle home directory and run: + +> mvn -DskipTests clean package + +That's all. Now you have runnable eagle on your Mac. Have fun. :-) http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/3b405cbf/eagle-tutorial/SetupDevelopmentEnvOnMac.md ---------------------------------------------------------------------- diff --git a/eagle-tutorial/SetupDevelopmentEnvOnMac.md b/eagle-tutorial/SetupDevelopmentEnvOnMac.md deleted file mode 100644 index b169ffe..0000000 --- a/eagle-tutorial/SetupDevelopmentEnvOnMac.md +++ /dev/null @@ -1,122 +0,0 @@ - - -How to setup the Eagle development environment on Mac -=============================================== - -This tutorial is based Mac OS X. It can be used as a reference guide for other OS like Linux or Windows as well. To save your time of jumping back and forth between different web pages, all necessary references will be point out. - -Prerequisite -------- - -### - HomeBrew -Make sure you have HomeBrew installed on your mac. If not, please run: - ->\$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - -you can find more information about HomeBrew at http://brew.sh/ . - -### - Scala & SBT -Some core eagle modules are written with scala. To install Scala and SBT, just run: - -> $ brew install scala - -> $ brew install sbt - -### - npm - -Eagle-webservice module uses npm. To install it, run: - -> $ brew install npm - - -### - Maven -Eagle is built with maven: -> -> $ brew install maven - - -### - HomeBrew Cask -Install HomeBrew Cask: -> $ brew install caskroom/cask/brew-cask - -Next, install JDK via HomeBrew: - -> $ brew cask search java - -you will see all available JDK versions and you can install multiple JDK versions in this way. For eagle please choose java7 to install: - -> $ brew cask install java7 - -- -> **Note:** -> During this writing SBT has issue with JDK 8. This issue has been tested confirmed by using: -> -Java 1.8.0_66 -> -Maven 3.3.9 -> -Scala 2.11.7 -> -Sbt 0.13.9 - -you can find more information about HomeBrew Cask at http://caskroom.io/ . - -### - Jenv - -you can use Jenv to manage installed multiple Java versions. To install it: -> $ brew install https://raw.githubusercontent.com/entrypass/jenv/homebrew/homebrew/jenv.rb - -and make sure activate it automatically: - -> \$ echo 'eval "$(jenv init -)"' >> ~/.bash_profile - -- -> **Note:** -> There is a known issue at this writing: https://github.com/gcuisinier/jenv/wiki/Trouble-Shooting -> Please make sure JENV_ROOT has been set before jenv init: -> $ export JENV_ROOT=/usr/local/opt/jenv - -Now let Jenv manage JDK versions (remember In OSX all JVMs are located at /Library/Java/JavaVirtualMachines): - -> \$ jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/ -$ jenv add /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/ - -and - -> $ jenv rehash - -You can see all managed JDK versions: - -> $ jenv versions - -set global java version: - -> $ jenv global oracle64-1.8.0.66 - -switch to your eagle home directory and set the local JDK version for eagle: - -> $ jenv local oracle64-1.7.0.80 - -you can find more information about Jenv at https://github.com/rbenv/rbenv and http://hanxue-it.blogspot.com/2014/05/installing-java-8-managing-multiple.html. - -Build Eagle ------------ - -Go to Eagle home directory and run: - -> mvn -DskipTests clean package - -That's all. Now you have runnable eagle on your Mac. Have fun. :-)