build.bat 336 Bytes
Newer Older
1
@echo off
2
if "%JAVA_HOME%"=="" echo Error: JAVA_HOME is not defined.
3
if "%1"=="clean" rmdir /s /q temp | rmdir /s /q bin
4
if not exist temp mkdir temp
5
if not exist bin mkdir bin
6
javac -sourcepath src/tools -d bin src/tools/org/h2/build/*.java
7
"%JAVA_HOME%/bin/java" -Xmx256m -cp "bin;%JAVA_HOME%/lib/tools.jar;temp" org.h2.build.Build %*