Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
a2e4f74c
提交
a2e4f74c
authored
10月 04, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
bee262fa
全部展开
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
310 行增加
和
277 行删除
+310
-277
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+95
-89
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+95
-89
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+92
-90
buildRelease.bat
h2/src/installer/buildRelease.bat
+1
-1
h2.nsi
h2/src/installer/h2.nsi
+2
-2
h2w.bat
h2/src/installer/h2w.bat
+2
-0
Build.java
h2/src/tools/org/h2/build/Build.java
+10
-5
BuildBase.java
h2/src/tools/org/h2/build/BuildBase.java
+12
-0
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
a2e4f74c
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
a2e4f74c
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
a2e4f74c
差异被折叠。
点击展开。
h2/src/installer/buildRelease.bat
浏览文件 @
a2e4f74c
...
...
@@ -31,7 +31,7 @@ call build -quiet spellcheck javadocImpl jarClient
echo %time:~0,8% JDK 1.4
call java14 >nul 2>nul
call build -quiet compile
call build -quiet c
lean c
ompile
call build -quiet installer mavenDeployCentral
rem call build -quiet compile benchmark
...
...
h2/src/installer/h2.nsi
浏览文件 @
a2e4f74c
...
...
@@ -116,7 +116,7 @@ Section "All"
SetOutPath "$INSTDIR\src"
File /r /x CVS /x .cvsignore /x .svn ..\..\src\*.*
SetOutPath "$INSTDIR\bin"
File /x CVS /x .cvsignore ..\..\bin\h2
.
*
File /x CVS /x .cvsignore ..\..\bin\h2*
SetOutPath "$INSTDIR\docs"
File /r /x CVS /x .cvsignore ..\..\docs\*.*
SetOutPath "$INSTDIR\service"
...
...
@@ -139,7 +139,7 @@ Section "All"
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
SetOutPath "$INSTDIR\bin"
CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\H2 Console.lnk" "
javaw" "-cp $\"$INSTDIR\bin\h2.jar;%H2DRIVERS%;%CLASSPATH%$\" org.h2.tools.Console
" "$INSTDIR\src\installer\favicon.ico" 0 SW_SHOWMINIMIZED "" "Start the Console"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\H2 Console.lnk" "
cmd" "/c h2w.bat
" "$INSTDIR\src\installer\favicon.ico" 0 SW_SHOWMINIMIZED "" "Start the Console"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\H2 Console (Command Line).lnk" "cmd" "/c h2.bat" "$INSTDIR\src\installer\favicon.ico" 0 SW_SHOWMINIMIZED "" "Start the Console from command line (using h2.bat)"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\H2 Documentation.lnk" "$INSTDIR\docs\index.html"
; CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
...
...
h2/src/installer/h2w.bat
0 → 100644
浏览文件 @
a2e4f74c
@start javaw -cp "h2.jar;%H2DRIVERS%;%CLASSPATH%" org.h2.tools.Console %*
@if errorlevel 1 pause
\ No newline at end of file
h2/src/tools/org/h2/build/Build.java
浏览文件 @
a2e4f74c
...
...
@@ -126,11 +126,6 @@ public class Build extends BuildBase {
files
.
addAll
(
getFiles
(
"src/tools"
));
javac
(
new
String
[]
{
"-d"
,
"temp"
,
"-sourcepath"
,
"src/test"
+
File
.
pathSeparator
+
"src/tools"
,
"-classpath"
,
classpath
},
files
);
files
=
getFiles
(
"src/installer"
).
keep
(
"*.bat"
);
files
.
addAll
(
getFiles
(
"src/installer"
).
keep
(
"*.sh"
));
copy
(
"bin"
,
files
,
"src/installer"
);
files
=
getFiles
(
"src/test"
).
exclude
(
"*.java"
).
exclude
(
"*/package.html"
);
...
...
@@ -138,6 +133,12 @@ public class Build extends BuildBase {
}
}
private
void
filter
(
String
source
,
String
target
,
String
old
,
String
replacement
)
{
String
text
=
new
String
(
readFile
(
new
File
(
source
)));
text
=
replaceAll
(
text
,
old
,
replacement
);
writeFile
(
new
File
(
target
),
text
.
getBytes
());
}
/**
* Create the documentation from the documentation sources. API Javadocs are
* created as well.
...
...
@@ -191,6 +192,7 @@ public class Build extends BuildBase {
* Create the h2.zip file and the Windows installer.
*/
public
void
installer
()
{
delete
(
getFiles
(
"bin"
).
keep
(
"*.jar"
));
jar
();
docs
();
exec
(
"soffice"
,
new
String
[]{
"-invisible"
,
"macro:///Standard.Module1.H2Pdf"
});
...
...
@@ -225,6 +227,9 @@ public class Build extends BuildBase {
exclude
(
"*.sh"
).
exclude
(
"*.txt"
);
jar
(
"bin/h2"
+
getJarSuffix
(),
files
,
"temp"
);
filter
(
"src/installer/h2.sh"
,
"bin/h2.sh"
,
"h2.jar"
,
"h2"
+
getJarSuffix
());
filter
(
"src/installer/h2.bat"
,
"bin/h2.bat"
,
"h2.jar"
,
"h2"
+
getJarSuffix
());
filter
(
"src/installer/h2w.bat"
,
"bin/h2w.bat"
,
"h2.jar"
,
"h2"
+
getJarSuffix
());
}
/**
...
...
h2/src/tools/org/h2/build/BuildBase.java
浏览文件 @
a2e4f74c
...
...
@@ -725,6 +725,18 @@ public class BuildBase {
delete
(
new
File
(
dir
));
}
/**
* Delete all files in the list.
*
* @param files the name of the files to delete
*/
protected
void
delete
(
FileList
files
)
{
for
(
int
i
=
0
;
i
<
files
.
size
();
i
++)
{
File
f
=
(
File
)
files
.
get
(
i
);
delete
(
f
);
}
}
private
void
delete
(
File
file
)
{
if
(
file
.
exists
())
{
if
(
file
.
isDirectory
())
{
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
a2e4f74c
...
...
@@ -562,4 +562,4 @@ monitoring razuna asset drag pekar devx dmitry fragments onmouseup nav
onmousedown olap valign army blitz backgammon knife abbreviate berger dhuse
strictly greg germany abbreviates frontends cleversafe payload cloneable
scripting jaks reconnected serverlist safes somewhere anzo war contacts helpful
implies looping cataloguing mapper frees
implies looping cataloguing mapper frees
javaw
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论