% brew cask alfred link
% brew cask install eclipse-ide
==> Downloading http://download.eclipse.org/technology/epp/downloads/release/kepler/SR1/e
######################################################################## 100.0%
==> Symlinking App 'Eclipse.app' to '/Users/ppyy/Applications/Eclipse.app'
==> Success! eclipse-ide installed to /opt/homebrew-cask/Caskroom/eclipse-ide/4.3.1
这里'brew cask alfred link'可以使homebrew cask安装的程序被Alfed搜索到,可以快速启动。
编辑文件'/.zshrc'或'/.bash_profile',加入:
export ECLIPSE_HOME=/opt/homebrew-cask/Caskroom/eclipse-ide/4.3.1/eclipse/
安装ant, maven, tomcat, jetty
brew install ant maven tomcat jetty
网友评论