Running GAE apps on MAC terminal

1. Set up JAVA_HOME on PATH

export JAVA_HOME="Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home"
export PATH=$JAVA_HOME/bin:$PATH

2. Set up MAVEN on PATH

export PATH=/Users/amitphatak/Documents/apache-maven-3.2.1/bin:$PATH

3. execute following commands -

  • mvn clean install
  • navigate to "-ear" directory
  • mvn appengine..

 

Reference:

  1. http://stackoverflow.com/questions/19533528/installing-java-on-os-x-10-9-mavericks
Advertisements