Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
57e341e4
提交
57e341e4
authored
12月 15, 2006
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
264 行增加
和
0 行删除
+264
-0
build.xml
h2/build.xml
+264
-0
没有找到文件。
h2/build.xml
0 → 100644
浏览文件 @
57e341e4
<project
name=
"h2"
default=
"all"
basedir=
"."
>
<property
name=
"version.name"
value=
"1.0"
/>
<property
name=
"jdk"
value=
"1.3"
/>
<property
name=
"javac"
value=
"javac"
/>
<path
id=
"benchmark.drivers.path"
>
<!-- jar files required by the benchmark -->
<pathelement
location=
"bin"
/>
<pathelement
path=
"${java.class.path}/"
/>
<fileset
dir=
"D:/data/java"
>
<include
name=
"**/*.jar"
/>
</fileset>
</path>
<target
name=
"all"
depends=
"jar,javadoc,docs"
>
<delete
includeemptydirs=
"true"
verbose=
"true"
>
<fileset
dir=
"bin"
includes=
"**/*.txt"
/>
<fileset
dir=
"bin"
includes=
"h2-test.exe"
/>
<fileset
dir=
"bin"
includes=
"systray4j.jar"
/>
<fileset
dir=
"bin"
includes=
"org/**/*"
/>
<fileset
dir=
"bin"
includes=
"org"
/>
<fileset
dir=
"bin"
includes=
"snoozesoft/**/*"
/>
<fileset
dir=
"bin"
includes=
"snoozesoft"
/>
<fileset
dir=
"bin"
includes=
"META-INF/**/*"
/>
<fileset
dir=
"bin"
includes=
"META-INF"
/>
<fileset
dir=
"docs/html"
includes=
"onePage.html"
/>
</delete>
</target>
<target
name=
"benchmark"
depends=
"compile"
>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-init -db 1"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-db 2"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-db 3 -out pe.html"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-init -db 4"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-db 5"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-db 6"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-db 7"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-db 8"
/></java>
<java
fork=
"true"
classname=
"org.h2.test.bench.TestPerformance"
classpathref=
"benchmark.drivers.path"
dir=
"."
maxmemory=
"128m"
><arg
line=
"-db 9 -out ps.html"
/></java>
</target>
<target
name=
"clean"
>
<mkdir
dir=
"bin"
/>
<mkdir
dir=
"odbc"
/>
<mkdir
dir=
"docs"
/>
<delete
includeemptydirs=
"true"
>
<fileset
dir=
"."
includes=
"*.sql,*.txt,*.lock,**/*.db,node*"
/>
<fileset
dir=
"bin"
includes=
"**/*"
excludes=
"**/*.bat,**/*.sh"
/>
<fileset
dir=
"odbc"
includes=
"*.a,*.def,"
/>
<fileset
dir=
"odbc"
includes=
"*.def,h2odbcTest.exe"
/>
<fileset
dir=
"docs"
includes=
"**/*"
/>
</delete>
</target>
<target
name=
"codeswitch_prepare"
>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/tools"
debug=
"true"
includes=
"org/h2/tools/code/CodeSwitch.java"
/>
</target>
<target
name=
"codeswitch_jdk13"
depends=
"codeswitch_prepare"
>
<java
classname=
"org.h2.tools.code.CodeSwitch"
fork=
"true"
dir=
"src/tools"
>
<arg
line=
"-JDK14 -JDK16 ../main/org/h2"
/>
</java>
</target>
<target
name=
"codeswitch_jdk14"
depends=
"codeswitch_prepare"
>
<java
classname=
"org.h2.tools.code.CodeSwitch"
fork=
"true"
dir=
"src/tools"
>
<arg
line=
"+JDK14 -JDK16 ../main/org/h2"
/>
</java>
</target>
<target
name=
"codeswitch_jdk16"
depends=
"codeswitch_prepare"
>
<java
classname=
"org.h2.tools.code.CodeSwitch"
fork=
"true"
dir=
"src/tools"
>
<arg
line=
"+JDK16 +JDK14 ../main/org/h2"
/>
</java>
</target>
<target
name=
"compileResources"
depends=
"clean"
>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/main"
destdir=
"bin"
debug=
"true"
includes=
"org/h2/util/Resources.java"
/>
<java
fork=
"true"
classname=
"org.h2.util.Resources"
classpath=
"bin"
dir=
"."
/>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"bin"
destdir=
"bin"
debug=
"true"
includes=
"org/h2/util/ResourceData.java"
/>
<delete>
<fileset
dir=
"bin"
includes=
"org/h2/util/ResourceData.java"
/>
</delete>
</target>
<target
name=
"compile"
depends=
"compileResources"
>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/main"
destdir=
"bin"
debug=
"true"
/>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/test"
destdir=
"bin"
debug=
"true"
/>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/tools"
destdir=
"bin"
debug=
"true"
/>
<unzip
src=
"src/systray/systray4j.jar"
dest=
"bin"
/>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/systray"
destdir=
"bin"
debug=
"true"
/>
<copy
todir=
"bin"
overwrite=
"true"
>
<fileset
dir=
"src/main"
includes=
"META-INF/**/*"
/>
<fileset
dir=
"src/systray"
includes=
"**/*.ico"
/>
<fileset
dir=
"src/installer"
includes=
"*.bat"
/>
<fileset
dir=
"src/test"
includes=
"**/*.txt"
/>
<fileset
dir=
"src/test"
includes=
"**/*.properties"
/>
</copy>
</target>
<target
name=
"createPatch"
depends=
"clean"
>
<delete
file=
"../h2-patch.*"
/>
<tar
destfile=
"../h2-patch.tar"
basedir=
"."
includes=
"src/**/*.java,build.xml"
/>
<bzip2
destfile=
"../h2-patch.tar.bz2"
src=
"../h2-patch.tar"
/>
<delete
file=
"../h2-patch.tar"
/>
</target>
<target
name=
"docs"
depends=
"clean,javadoc,compile"
>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/tools"
destdir=
"bin"
debug=
"true"
includes=
"**/*"
/>
<copy
todir=
"docs"
>
<fileset
dir=
"src/docsrc"
includes=
"index.html"
/>
<fileset
dir=
"src/docsrc"
includes=
"html/*"
excludes=
"**/*.jsp"
/>
</copy>
<java
classname=
"org.h2.tools.code.CheckTextFiles"
classpath=
"bin"
/>
<java
classname=
"org.h2.tools.doc.GenerateDoc"
classpath=
"bin"
>
<arg
line=
"-in src/docsrc/html -out docs/html"
/>
</java>
<java
classname=
"org.h2.tools.indexer.Indexer"
classpath=
"bin"
>
<arg
line=
"-dir docs -destDir docs/html"
/>
</java>
<java
classname=
"org.h2.tools.doc.MergeDocs"
classpath=
"bin"
/>
<java
classname=
"org.h2.tools.doc.LinkChecker"
classpath=
"bin"
>
<arg
line=
"-dir docs"
/>
</java>
</target>
<target
name=
"gcj"
depends=
"compileResources"
>
<copy
todir=
"bin"
>
<fileset
dir=
"src/main"
/>
<fileset
dir=
"src/test"
/>
</copy>
<replace
file=
"bin/org/h2/util/StringUtils.java"
token=
"//#GCJHACK"
value=
""
/>
<exec
dir=
"bin"
executable=
"cmd"
>
<arg
line=
"/c dir /b /s *.java >files.txt"
/>
</exec>
<exec
dir=
"bin"
executable=
"gcj"
>
<arg
line=
"-O1 -c --classpath=. -o db.o @files.txt"
/>
</exec>
<!-- -g0 -fomit-frame-pointer -fno-bounds-check -fno-store-check -O2 -->
<exec
dir=
"bin"
executable=
"gcj"
>
<arg
line=
"--main=org.h2.tools.Server -s -o h2-server.exe db.o"
/>
</exec>
<exec
dir=
"bin"
executable=
"gcj"
>
<arg
line=
"--main=org.h2.test.TestAll -s -o h2-test.exe db.o"
/>
</exec>
<delete
includeemptydirs=
"true"
>
<fileset
dir=
"bin"
includes=
"**/*.java"
/>
<fileset
dir=
"bin"
includes=
"**/*.o"
/>
</delete>
</target>
<target
name=
"jar"
depends=
"compile"
>
<mkdir
dir=
"bin/META-INF"
/>
<manifest
file=
"bin/META-INF/MANIFEST.MF"
>
<!--
<attribute name="Bundle-Activator" value="org.h2.osgi.Activator"/>
-->
<attribute
name=
"Main-Class"
value=
"org.h2.SysTray"
/>
</manifest>
<jar
jarfile=
"bin/h2.jar"
basedir=
"bin"
manifest=
"bin/META-INF/MANIFEST.MF"
>
<include
name=
"**/*.*"
/>
<exclude
name=
"org/h2/tools/code/**/*.*"
/>
<exclude
name=
"org/h2/tools/doc/**/*.*"
/>
<exclude
name=
"org/h2/tools/doclet/**/*.*"
/>
<exclude
name=
"org/h2/tools/indexer/**/*.*"
/>
<exclude
name=
"org/h2/test/**/*.*"
/>
<exclude
name=
"org/h2/samples/**/*.*"
/>
<exclude
name=
"**/*.bat"
/>
<exclude
name=
"**/*.txt"
/>
</jar>
<copy
todir=
"bin"
file=
"src/systray/systray4j.dll"
/>
</target>
<target
name=
"jarClient"
depends=
"compileResources"
>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/main"
destdir=
"bin"
debug=
"true"
>
<include
name=
"org/h2/*"
/>
<include
name=
"org/h2/jdbc/**"
/>
<include
name=
"org/h2/jdbcx/**"
/>
</javac>
<jar
jarfile=
"bin/h2client.jar"
basedir=
"bin"
>
<include
name=
"**/*.*"
/>
<exclude
name=
"**/*.bat"
/>
</jar>
</target>
<target
name=
"jarDb"
depends=
"compileResources"
>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/main"
destdir=
"bin"
debug=
"true"
>
<include
name=
"org/h2/*"
/>
<include
name=
"org/h2/engine/**"
/>
<include
name=
"org/h2/jdbc/**"
/>
<include
name=
"org/h2/jdbcx/**"
/>
</javac>
<jar
jarfile=
"bin/h2db.jar"
basedir=
"bin"
>
<include
name=
"**/*.*"
/>
<exclude
name=
"**/*.bat"
/>
</jar>
</target>
<target
name=
"javadoc"
>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/test"
destdir=
"bin"
debug=
"true"
includes=
"org/h2/test/bnf/*.java"
/>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"src/tools"
destdir=
"bin"
debug=
"true"
includes=
"org/h2/tools/doclet/*.java"
/>
<mkdir
dir=
"docs/javadoc"
/>
<javadoc
sourcepath=
"src/main"
packagenames=
"org.h2.jdbc.*,org.h2.tools.*,org.h2.api.*"
doclet=
"org.h2.tools.doclet.Doclet"
docletpath=
"bin"
/>
<copy
todir=
"docs/javadoc"
>
<fileset
dir=
"src/docsrc/javadoc"
includes=
"**/*"
/>
</copy>
</target>
<target
name=
"mavenUploadLocal"
depends=
"jar"
>
<exec
executable=
"mvn.bat"
>
<arg
value=
"install:install-file"
/>
<arg
value=
"-Dversion=1.0-SNAPSHOT"
/>
<arg
value=
"-Dfile=bin/h2.jar"
/>
<arg
value=
"-DgroupId=org.h2database"
/>
<arg
value=
"-DartifactId=h2"
/>
<arg
value=
"-Dpackaging=jar"
/>
<arg
value=
"-DpomFile=src/installer/pom.xml"
/>
</exec>
</target>
<target
name=
"test"
depends=
"compile"
>
<java
classname=
"org.h2.test.TestAll"
fork=
"true"
classpath=
"bin"
/>
</target>
<target
name=
"testCoverage"
depends=
"compile"
>
<copy
todir=
"bin"
overwrite=
"true"
>
<fileset
dir=
"src/main"
/>
</copy>
<java
classname=
"org.h2.test.coverage.Coverage"
classpath=
"bin"
dir=
"bin"
fork=
"true"
>
<arg
line=
"-e org/h2/web -e org/h2/server/Odbc -e org/h2/jdbcx -e org/h2/bnf -r org/h2"
/>
</java>
<javac
target=
"${jdk}"
source=
"${jdk}"
executable=
"${javac}"
srcdir=
"bin"
destdir=
"bin"
debug=
"true"
includes=
"org/h2/**"
/>
<java
classname=
"org.h2.test.TestAll"
fork=
"true"
classpath=
"bin"
dir=
"bin"
>
<arg
line=
"codeCoverage"
/>
</java>
</target>
<target
name=
"testProf"
depends=
"compile"
>
<java
classname=
"org.h2.test.TestAll"
fork=
"true"
classpath=
"bin"
>
<jvmarg
value=
"-Xrunhprof:cpu=samples,depth=8"
/>
<!-- <jvmarg value="-agentlib:hprof=help"/> -->
</java>
</target>
<target
name=
"zip"
>
<zip
destfile=
"../h2.zip"
>
<fileset
dir=
".."
includes=
"h2/build.xml"
/>
<fileset
dir=
".."
includes=
"h2/bin/**/*"
/>
<fileset
dir=
".."
includes=
"h2/docs/**/*"
/>
<fileset
dir=
".."
includes=
"h2/odbc/**/*"
/>
<fileset
dir=
".."
includes=
"h2/service/**/*"
/>
<fileset
dir=
".."
includes=
"h2/src/**/*"
/>
</zip>
</target>
</project>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论