标签: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
标签:lib eclipse env repos off -- UNC cmd dt.jar
原文地址:https://www.cnblogs.com/lanqie/p/9205450.html