Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 | if "%JAVA_HOME%"=="" (
|
---|
4 | echo Please set JAVA_HOME before running release kit
|
---|
5 | goto end
|
---|
6 | )
|
---|
7 | if "%RK3_HOME%"=="" (
|
---|
8 | echo Please set RK3_HOME before running release kit
|
---|
9 | goto end
|
---|
10 | )
|
---|
11 | set ANT_HOME=%RK3_HOME%\core\ant
|
---|
12 |
|
---|
13 | set CMD=cmd.exe /c %RK3_HOME%\core\ant\bin\ant.bat -f "%RK3_HOME%\ant-scripts\build.xml" -addressing "-Drk3.home=%RK3_HOME%"
|
---|
14 | set CMD=%CMD% "-Dbasedir=%CD%"
|
---|
15 | set PIPETO="%RK_HOME%\windows\utils\tee.exe" "%CD%\rk3.out"
|
---|
16 |
|
---|
17 | echo %CMD%
|
---|
18 | %CMD% %1 %2 %3 %4
|
---|
19 | ::| %PIPETO%
|
---|
20 |
|
---|
21 | :end |
---|
Note:
See
TracBrowser
for help on using the repository browser.