Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
c5fd0351
提交
c5fd0351
authored
8月 13, 2015
作者:
Thomas Mueller Graf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MVStore build: create the javadoc and source jar
上级
d0e6ac0c
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
62 行增加
和
0 行删除
+62
-0
release.txt
h2/src/installer/release.txt
+1
-0
Build.java
h2/src/tools/org/h2/build/Build.java
+61
-0
没有找到文件。
h2/src/installer/release.txt
浏览文件 @
c5fd0351
...
@@ -32,4 +32,5 @@ Update statistics
...
@@ -32,4 +32,5 @@ Update statistics
Sign files and publish files on Maven Central
Sign files and publish files on Maven Central
http://central.sonatype.org/pages/ossrh-guide.html
http://central.sonatype.org/pages/ossrh-guide.html
http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html
http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html
gpg -u "Thomas Mueller Graf <thomas.tom.mueller@gmail.com>" -ab maven-*
gpg -u "Thomas Mueller Graf <thomas.tom.mueller@gmail.com>" -ab h2-*
gpg -u "Thomas Mueller Graf <thomas.tom.mueller@gmail.com>" -ab h2-*
h2/src/tools/org/h2/build/Build.java
浏览文件 @
c5fd0351
...
@@ -582,6 +582,23 @@ public class Build extends BuildBase {
...
@@ -582,6 +582,23 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/jts-1.13.jar"
,
File
.
pathSeparator
+
"ext/jts-1.13.jar"
,
"-subpackages"
,
"org.h2"
,
"-subpackages"
,
"org.h2"
,
"-exclude"
,
"org.h2.test.jaqu:org.h2.jaqu"
);
"-exclude"
,
"org.h2.test.jaqu:org.h2.jaqu"
);
mkdir
(
"docs/javadocImpl3"
);
javadoc
(
"-sourcepath"
,
"src/main"
,
"-noindex"
,
"-tag"
,
"h2.resource"
,
"-d"
,
"docs/javadocImpl3"
,
"-classpath"
,
System
.
getProperty
(
"java.home"
)
+
"/../lib/tools.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.6.0.jar"
+
File
.
pathSeparator
+
"ext/servlet-api-3.0.1.jar"
+
File
.
pathSeparator
+
"ext/lucene-core-3.0.2.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.core-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.enterprise-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/jts-1.13.jar"
,
"-subpackages"
,
"org.h2.mvstore"
,
"-exclude"
,
"org.h2.mvstore.db"
);
System
.
setProperty
(
"h2.interfacesOnly"
,
"false"
);
System
.
setProperty
(
"h2.interfacesOnly"
,
"false"
);
System
.
setProperty
(
"h2.javadocDestDir"
,
"docs/javadocImpl"
);
System
.
setProperty
(
"h2.javadocDestDir"
,
"docs/javadocImpl"
);
javadoc
(
"-sourcepath"
,
"src/main"
+
javadoc
(
"-sourcepath"
,
"src/main"
+
...
@@ -694,6 +711,50 @@ public class Build extends BuildBase {
...
@@ -694,6 +711,50 @@ public class Build extends BuildBase {
"-DartifactId=h2"
,
"-DartifactId=h2"
,
"-DgroupId=com.h2database"
));
"-DgroupId=com.h2database"
));
// generate the h2-mvstore-*-sources.jar file
files
=
files
(
"src/main"
);
copy
(
"docs"
,
files
,
"src/main"
);
files
=
files
(
"docs"
).
keep
(
"docs/org/h2/mvstore/*"
).
exclude
(
"docs/org/h2/mvstore/db/*"
).
keep
(
"*.java"
);
files
.
addAll
(
files
(
"docs"
).
keep
(
"docs/META-INF/*"
));
manifest
=
new
String
(
readFile
(
new
File
(
"src/installer/source-manifest.mf"
)));
manifest
=
replaceAll
(
manifest
,
"${version}"
,
getVersion
());
writeFile
(
new
File
(
"docs/META-INF/MANIFEST.MF"
),
manifest
.
getBytes
());
jar
(
"docs/h2-mvstore-"
+
getVersion
()
+
"-sources.jar"
,
files
,
"docs"
);
delete
(
"docs/org"
);
delete
(
"docs/META-INF"
);
// deploy the h2-mvstore-*-source.jar file
execScript
(
"mvn"
,
args
(
"deploy:deploy-file"
,
"-Dfile=docs/h2-mvstore-"
+
getVersion
()
+
"-sources.jar"
,
"-Durl=file:///data/h2database/m2-repo"
,
"-Dpackaging=jar"
,
"-Dclassifier=sources"
,
"-Dversion="
+
getVersion
(),
"-DartifactId=h2-mvstore"
,
"-DgroupId=com.h2database"
// ,"-DgeneratePom=false"
));
// generate and deploy the h2-mvstore-*-javadoc.jar file
javadocImpl
();
files
=
files
(
"docs/javadocImpl3"
);
jar
(
"docs/h2-mvstore-"
+
getVersion
()
+
"-javadoc.jar"
,
files
,
"docs/javadocImpl3"
);
execScript
(
"mvn"
,
args
(
"deploy:deploy-file"
,
"-Dfile=docs/h2-mvstore-"
+
getVersion
()
+
"-javadoc.jar"
,
"-Durl=file:///data/h2database/m2-repo"
,
"-Dpackaging=jar"
,
"-Dclassifier=javadoc"
,
"-Dversion="
+
getVersion
(),
"-DartifactId=h2-mvstore"
,
"-DgroupId=com.h2database"
// ,"-DgeneratePom=false"
));
// generate and deploy the h2-mvstore-*.jar file
// generate and deploy the h2-mvstore-*.jar file
jarMVStore
();
jarMVStore
();
pom
=
new
String
(
readFile
(
new
File
(
"src/installer/pom-mvstore-template.xml"
)));
pom
=
new
String
(
readFile
(
new
File
(
"src/installer/pom-mvstore-template.xml"
)));
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论