Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
8b1510e3
提交
8b1510e3
authored
14 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
The Ant build script has been removed because it is no longer up to date.
上级
4c241336
无相关合并请求
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
0 行增加
和
154 行删除
+0
-154
build.xml
h2/build.xml
+0
-154
没有找到文件。
h2/build.xml
deleted
100644 → 0
浏览文件 @
4c241336
<project
name=
"h2"
default=
"all"
basedir=
"."
>
<target
name=
"all"
depends=
"jar"
>
</target>
<target
name=
"clean"
depends=
"init"
>
<mkdir
dir=
"bin"
/>
<mkdir
dir=
"docs"
/>
<delete
includeemptydirs=
"true"
>
<fileset
dir=
"."
includes=
"*.sql,*.txt,*.lock,**/*.db,node*"
/>
<fileset
dir=
"bin"
includes=
"**/*"
excludes=
"**/*.bat,**/*.sh"
/>
<fileset
dir=
"docs"
includes=
"**/*"
/>
</delete>
</target>
<target
name=
"compile"
depends=
"switchSourceAuto, resources, download"
>
<javac
destdir=
"bin"
debug=
"true"
debuglevel=
"lines,source"
>
<classpath
location=
"ext/servlet-api-2.4.jar"
/>
<classpath
location=
"ext/lucene-core-2.2.0.jar"
/>
<classpath
location=
"ext/slf4j-api-1.5.0.jar"
/>
<classpath
location=
"ext/org.osgi.core-1.2.0.jar"
/>
<src
path=
"src/main"
/>
<src
path=
"src/test"
/>
<src
path=
"src/tools"
/>
</javac>
<copy
todir=
"bin"
overwrite=
"true"
>
<fileset
dir=
"src/main"
includes=
"META-INF/services/*"
/>
<fileset
dir=
"src/installer"
includes=
"*.bat"
/>
<fileset
dir=
"src/installer"
includes=
"*.sh"
/>
<fileset
dir=
"src/test"
excludes=
"**/*.java,**/package.html"
/>
</copy>
</target>
<target
name=
"compileCoverage"
depends=
"compile"
>
<copy
todir=
"bin"
overwrite=
"true"
>
<fileset
dir=
"src/main"
/>
</copy>
<java
classname=
"org.h2.test.coverage.Coverage"
classpath=
"."
dir=
"bin"
fork=
"true"
>
<arg
line=
"-r org/h2"
/>
</java>
<javac
srcdir=
"bin"
destdir=
"bin"
debug=
"true"
debuglevel=
"lines,source"
includes=
"org/h2/**"
/>
</target>
<target
name=
"download"
depends=
"init"
unless=
"ext.present"
>
<get
dest=
"ext/servlet-api-2.4.jar"
src=
"http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar"
/>
<get
dest=
"ext/lucene-core-2.2.0.jar"
src=
"http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.2.0/lucene-core-2.2.0.jar"
/>
<get
dest=
"ext/slf4j-api-1.5.0.jar"
src=
"http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar"
/>
<get
dest=
"ext/org.osgi.core-1.2.0.jar"
src=
"http://repo1.maven.org/maven2/org/apache/felix/org.osgi.core/1.2.0/org.osgi.core-1.2.0.jar"
/>
</target>
<target
name=
"init"
>
<mkdir
dir=
"ext"
/>
<condition
property=
"ext.present"
>
<and>
<available
file=
"ext/servlet-api-2.4.jar"
/>
<available
file=
"ext/lucene-core-2.2.0.jar"
/>
<available
file=
"ext/slf4j-api-1.5.0.jar"
/>
<available
file=
"ext/org.osgi.core-1.2.0.jar"
/>
</and>
</condition>
</target>
<target
name=
"jar"
depends=
"compile, manifest"
>
<manifest
file=
"bin/META-INF/MANIFEST.MF"
mode=
"update"
>
<attribute
name=
"Main-Class"
value=
"org.h2.tools.Console"
/>
</manifest>
<jar
jarfile=
"bin/h2.jar"
basedir=
"bin"
manifest=
"bin/META-INF/MANIFEST.MF"
>
<include
name=
"**/*.*"
/>
<exclude
name=
"org/h2/build/**/*.*"
/>
<exclude
name=
"org/h2/dev/**/*.*"
/>
<exclude
name=
"org/h2/samples/**/*.*"
/>
<exclude
name=
"org/h2/test/**/*.*"
/>
<exclude
name=
"**/*.bat"
/>
<exclude
name=
"**/*.sh"
/>
<exclude
name=
"**/*.txt"
/>
</jar>
</target>
<target
name=
"manifest"
>
<mkdir
dir=
"bin/META-INF"
/>
<manifest
file=
"bin/META-INF/MANIFEST.MF"
>
<attribute
name=
"Implementation-Title"
value=
"H2 Database Engine"
/>
<attribute
name=
"Implementation-URL"
value=
"http://www.h2database.com"
/>
<attribute
name=
"Build-Jdk"
value=
"${java.specification.version}"
/>
</manifest>
</target>
<target
name=
"resources"
depends=
"clean"
>
<mkdir
dir=
"bin/org/h2/util"
/>
<zip
destfile=
"bin/org/h2/util/data.zip"
basedir=
"src/main"
compress=
"false"
excludes=
"**/*.java,**/package.html,**/java.sql.Driver"
/>
</target>
<target
name=
"switchSourcePrepare"
depends=
"clean"
>
<javac
source=
"1.5"
srcdir=
"src/tools"
destdir=
"bin"
debug=
"true"
debuglevel=
"lines,source"
includes=
"org/h2/build/code/SwitchSource.java"
/>
</target>
<target
name=
"switchSourceAndroid"
depends=
"switchSourcePrepare"
>
<java
classname=
"org.h2.build.code.SwitchSource"
classpath=
"bin"
>
<arg
line=
"-version 1.3 -AWT -dir src/main/org/h2"
/>
</java>
</target>
<target
name=
"switchSourceAuto"
depends=
"switchSourcePrepare"
>
<java
classname=
"org.h2.build.code.SwitchSource"
classpath=
"bin"
>
<arg
line=
"-auto -dir src/main/org/h2"
/>
</java>
</target>
<target
name=
"switchSourceJdk13"
depends=
"switchSourcePrepare"
>
<java
classname=
"org.h2.build.code.SwitchSource"
classpath=
"bin"
>
<arg
line=
"-version 1.3 +AWT -dir src/main/org/h2"
/>
</java>
</target>
<target
name=
"switchSourceJdk14"
depends=
"switchSourcePrepare"
>
<java
classname=
"org.h2.build.code.SwitchSource"
classpath=
"bin"
>
<arg
line=
"-version 1.4 +AWT -dir src/main/org/h2"
/>
</java>
</target>
<target
name=
"switchSourceJdk16"
depends=
"switchSourcePrepare"
>
<java
classname=
"org.h2.build.code.SwitchSource"
classpath=
"bin"
>
<arg
line=
"-version 1.6 +AWT -dir src/main/org/h2"
/>
</java>
</target>
<target
name=
"test"
depends=
"compile"
>
<java
classname=
"org.h2.test.TestAll"
fork=
"true"
>
<classpath>
<pathelement
location=
"ext/servlet-api-2.4.jar"
/>
<pathelement
location=
"ext/lucene-core-2.2.0.jar"
/>
<pathelement
location=
"ext/slf4j-api-1.5.0.jar"
/>
<pathelement
location=
"ext/org.osgi.core-1.2.0.jar"
/>
<pathelement
path=
"bin"
/>
</classpath>
</java>
</target>
<target
name=
"testCoverage"
depends=
"compileCoverage"
>
<java
classname=
"org.h2.test.TestAll"
fork=
"true"
classpath=
"."
dir=
"bin"
>
<arg
line=
"codeCoverage"
/>
</java>
</target>
</project>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论