美文网首页
2018-08-09

2018-08-09

作者: Summer_828d | 来源:发表于2018-08-10 10:27 被阅读0次

    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

    mac配置sublime text3

    ant的使用和安装

    InstallAnywhere

    从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

          本文链接:https://www.haomeiwen.com/subject/vzlqbftx.html