mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
16 lines
374 B
Batchfile
16 lines
374 B
Batchfile
@ECHO OFF
|
|
IF NOT DEFINED JAVA_HOME GOTO MISSING
|
|
FOR %%X in (java.exe ant.bat android.bat) do (
|
|
SET FOUND=%%~$PATH:X
|
|
IF NOT DEFINED FOUND GOTO MISSING
|
|
)
|
|
cscript %~dp0\create.js %*
|
|
GOTO END
|
|
:MISSING
|
|
ECHO Missing one of the following:
|
|
ECHO JDK: http://java.oracle.com
|
|
ECHO Android SDK: http://developer.android.com
|
|
ECHO Apache ant: http://ant.apache.org
|
|
EXIT /B 1
|
|
:END
|