2018-08-09

8.7

设置JAVA_HOME

mac

  • 编辑.bash_profile文件:vim ~/.bash_profile
  • 添加以下内容: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home export PATH=JAVA_HOME/bin:PATH
  • 使修改的文件生效:source ~/.bash_profile
  • 打开Mac的终端,检查JDK是否安装成功:java -version

windows

  • windows配置java

mac配置sublime text3

ant的使用和安装

InstallAnywhere

  • 使用InstallAnywhere工具打包Java_Web程序

  • https://www.microway.com.au/installshield/InstallAnywhere2015_UserGuide.pdf

从Ant导入Gradle的Build

Gradle guides

svnant

External Tools and Tasks

Ant工具(一)

Ant工具(二)

Ant整合svnant(三)

  1. 从网上下载svnant 包,下载地址:
    svnant
    将下载好的svnant 解压将 lib目录下的所有jar复制到ant主目录中的 lib目录下。

groovy

官网

Install Binary

  • First, Download a binary distribution of Groovy and unpack it into some file on your local file system.

  • Set your GROOVY_HOME environment variable to the directory you unpacked the distribution.

  • Add GROOVY_HOME/bin to your PATH environment variable.

  • Set your JAVA_HOME environment variable to point to your JDK. On OS X this is /Library/Java/Home, on other unixes its often /usr/java etc. If you’ve already installed tools like Ant or Maven you’ve probably already done this step.

Gradle详解+Groovy
Building Groovy Libraries

Gradle Goodness: Running Groovy Scripts as Application

你可能感兴趣的:(2018-08-09)