码迷,mamicode.com
首页 > 其他好文 > 详细

gradle记录

时间:2018-06-20 21:29:40      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:lib   eclipse   env   repos   off   --   UNC   cmd   dt.jar   

set-env.bat

set "JAVA_HOME=G:\jdk"
set "CLASSPATH=%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar"

set "GRADLE_HOME=G:\IDE\gradle-4.3"
set "PATH=%JAVA_HOME%\bin;%GRADLE_HOME%\bin;%PATH%"

set "JETTY_HOME=G:\installPackages\jetty-distribution-9.3.13.v20161014"

rem change dist dir
rem set "BUILD_DIST=D:\svn-repos\dev-novatar\2-framework\CODE\novatar\build\dist"
@echo JAVA_HOME : %JAVA_HOME%

gradle-eclipse.bat

@echo off
@echo =======================================
@echo ======  novatar build with gradle  ====

call set-env.bat

@echo ======  start  ========================

cmd /c gradle clean cleanEclipse eclipse eclipseJettyLaunch

@echo ======  done  =========================
@echo =======================================

@pause

gradle-build.bat

@echo off
@echo =======================================
@echo ======  novatar build with gradle  ====

call set-env.bat

@echo ======  build start  ==================

cmd /c gradle clean build warAndWebappXml --stacktrace

@echo ======  build done  ===================
@echo =======================================

@pause

gradle记录

标签:lib   eclipse   env   repos   off   --   UNC   cmd   dt.jar   

原文地址:https://www.cnblogs.com/lanqie/p/9205450.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!