提交 d4492a32 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 8f3e0887
@echo off @echo off
if "%JAVA_HOME%"=="" echo Error: JAVA_HOME is not defined.
if exist bin/org/h2/build/Build.class goto buildOK if exist bin/org/h2/build/Build.class goto buildOK
if not exist bin mkdir bin if not exist bin mkdir bin
javac -sourcepath src/tools -d bin src/tools/org/h2/build/*.java javac -sourcepath src/tools -d bin src/tools/org/h2/build/*.java
:buildOK :buildOK
java -cp "bin;%JAVA_HOME%/lib/tools.jar;target" org.h2.build.Build %1 java -cp "bin;%JAVA_HOME%/lib/tools.jar;target" org.h2.build.Build %1 %2 %3 %4 %5
\ No newline at end of file \ No newline at end of file
#! /bin/sh #! /bin/sh
if [ -z "$JAVA_HOME" ] ; then if [ -z "$JAVA_HOME" ] ; then
echo "Error: JAVA_HOME is not defined." echo "Error: JAVA_HOME is not defined."
exit 1
fi fi
if [ ! -f "bin/org/h2/build/Build.class" ] ; then if [ ! -f "bin/org/h2/build/Build.class" ] ; then
if [ ! -d "bin" ] ; then if [ ! -d "bin" ] ; then
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论