Skip to content

Commit

Permalink
test ready
Browse files Browse the repository at this point in the history
  • Loading branch information
djmin43 committed Jan 29, 2023
1 parent fa2822e commit e5f0535
Show file tree
Hide file tree
Showing 2,016 changed files with 553,526 additions and 9 deletions.
2 changes: 2 additions & 0 deletions h2/bin/h2.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@java -cp "h2-2.1.214.jar;%H2DRIVERS%;%CLASSPATH%" org.h2.tools.Console %*
@if errorlevel 1 pause
3 changes: 3 additions & 0 deletions h2/bin/h2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
dir=$(dirname "$0")
java -cp "$dir/h2-2.1.214.jar:$H2DRIVERS:$CLASSPATH" org.h2.tools.Console "$@"
2 changes: 2 additions & 0 deletions h2/bin/h2w.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@start javaw -cp "h2-2.1.214.jar;%H2DRIVERS%;%CLASSPATH%" org.h2.tools.Console %*
@if errorlevel 1 pause
7 changes: 7 additions & 0 deletions h2/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
if "%JAVA_HOME%"=="" echo Error: JAVA_HOME is not defined.
if "%1"=="clean" rmdir /s /q temp bin 2>nul
if not exist temp mkdir temp
if not exist bin mkdir bin
"%JAVA_HOME%/bin/javac" -sourcepath src/tools -d bin src/tools/org/h2/build/*.java
"%JAVA_HOME%/bin/java" -Djava.net.useSystemProxies=true -Xmx256m -cp "bin;%JAVA_HOME%/lib/tools.jar;temp" org.h2.build.Build %*
11 changes: 11 additions & 0 deletions h2/build.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/src/tools/org/h2/build">
<sourceFolder url="file://$MODULE_DIR$/src/tools/org/h2/build" isTestSource="false" packagePrefix="org.h2" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
18 changes: 18 additions & 0 deletions h2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
if [ -z "$JAVA_HOME" ] ; then
if [[ "$OSTYPE" == "darwin"* ]]; then
if [ -d "/System/Library/Frameworks/JavaVM.framework/Home" ] ; then
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
else
export JAVA_HOME=`/usr/libexec/java_home`
fi
fi
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Error: JAVA_HOME is not defined."
fi
if [ "$1" = "clean" ] ; then rm -rf temp bin ; fi
if [ ! -d "temp" ] ; then mkdir temp ; fi
if [ ! -d "bin" ] ; then mkdir bin ; fi
"$JAVA_HOME/bin/javac" -sourcepath src/tools -d bin src/tools/org/h2/build/*.java
"$JAVA_HOME/bin/java" -Xmx1g -cp "bin:$JAVA_HOME/lib/tools.jar:temp" org.h2.build.Build $@
Binary file added h2/docs/h2.pdf
Binary file not shown.
Loading

0 comments on commit e5f0535

Please sign in to comment.