Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Iotdb
提交
11b18d67
I
Iotdb
项目概览
apache
/
Iotdb
12 个月 前同步成功
通知
25
Star
3344
Fork
916
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
Iotdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
11b18d67
编写于
1月 21, 2022
作者:
Z
ZhangHongYin
提交者:
GitHub
1月 21, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[env] rename IOTDB_CLI_HOME to IOTDB_HOME (#4944)
上级
8f425a22
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
26 addition
and
25 deletion
+26
-25
cli/src/assembly/resources/sbin/start-cli.bat
cli/src/assembly/resources/sbin/start-cli.bat
+4
-4
cli/src/assembly/resources/sbin/start-cli.sh
cli/src/assembly/resources/sbin/start-cli.sh
+6
-5
cli/src/assembly/resources/tools/export-csv.bat
cli/src/assembly/resources/tools/export-csv.bat
+4
-4
cli/src/assembly/resources/tools/export-csv.sh
cli/src/assembly/resources/tools/export-csv.sh
+4
-4
cli/src/assembly/resources/tools/import-csv.bat
cli/src/assembly/resources/tools/import-csv.bat
+4
-4
cli/src/assembly/resources/tools/import-csv.sh
cli/src/assembly/resources/tools/import-csv.sh
+4
-4
未找到文件。
cli/src/assembly/resources/sbin/start-cli.bat
浏览文件 @
11b18d67
...
...
@@ -25,7 +25,7 @@
if
"
%OS%
"
==
"Windows_NT"
setlocal
pushd
%~dp0
..
if
NOT
DEFINED
IOTDB_
CLI_HOME
set
IOTDB_CLI
_HOME
=
%CD%
if
NOT
DEFINED
IOTDB_
HOME
set
IOTDB
_HOME
=
%CD%
popd
if
NOT
DEFINED
MAIN_CLASS
set
MAIN_CLASS
=
org
.apache.iotdb.cli.Cli
...
...
@@ -34,10 +34,10 @@ if NOT DEFINED JAVA_HOME goto :err
@REM -----------------------------------------------------------------------------
@REM JVM Opts we'll use in legacy run or installation
set
JAVA_OPTS
=
-ea
^
-DIOTDB
_
CLI_HOME
=
"
%IOTDB_CLI
_HOME%
"
-DIOTDB
_
HOME
=
"
%IOTDB
_HOME%
"
REM For each jar in the IOTDB_
CLI_
HOME lib directory call append to build the CLASSPATH variable.
set
CLASSPATH
=
"
%IOTDB_
CLI_
HOME%
\lib\*"
REM For each jar in the IOTDB_HOME lib directory call append to build the CLASSPATH variable.
set
CLASSPATH
=
"
%IOTDB_HOME%
\lib\*"
REM -----------------------------------------------------------------------------
set
PARAMETERS
=
%
*
...
...
cli/src/assembly/resources/sbin/start-cli.sh
浏览文件 @
11b18d67
...
...
@@ -21,16 +21,17 @@
# You can put your env variable here
# export JAVA_HOME=$JAVA_HOME
if
[
-z
"
${
IOTDB_
CLI_
HOME
}
"
]
;
then
export
IOTDB_
CLI_
HOME
=
"
$(
cd
"
`
dirname
"
$0
"
`
"
/..
;
pwd
)
"
if
[
-z
"
${
IOTDB_HOME
}
"
]
;
then
export
IOTDB_HOME
=
"
$(
cd
"
`
dirname
"
$0
"
`
"
/..
;
pwd
)
"
fi
IOTDB_CLI_CONF
=
${
IOTDB_HOME
}
/conf
MAIN_CLASS
=
org.apache.iotdb.cli.Cli
CLASSPATH
=
""
for
f
in
${
IOTDB_
CLI_
HOME
}
/lib/
*
.jar
;
do
for
f
in
${
IOTDB_HOME
}
/lib/
*
.jar
;
do
CLASSPATH
=
${
CLASSPATH
}
":"
$f
done
...
...
@@ -76,7 +77,7 @@ esac
# echo $PARAMETERS
set
-o
noglob
exec
"
$JAVA
"
-cp
"
$CLASSPATH
"
"
$MAIN_CLASS
"
$PARAMETERS
iotdb_cli_params
=
"-Dlogback.configurationFile=
${
IOTDB_CLI_CONF
}
/logback-cli.xml"
exec
"
$JAVA
"
$iotdb_cli_params
-cp
"
$CLASSPATH
"
"
$MAIN_CLASS
"
$PARAMETERS
exit
$?
cli/src/assembly/resources/tools/export-csv.bat
浏览文件 @
11b18d67
...
...
@@ -25,7 +25,7 @@ echo ````````````````````````````````````````````````
if
"
%OS%
"
==
"Windows_NT"
setlocal
pushd
%~dp0
..
if
NOT
DEFINED
IOTDB_
CLI_HOME
set
IOTDB_CLI
_HOME
=
%CD%
if
NOT
DEFINED
IOTDB_
HOME
set
IOTDB
_HOME
=
%CD%
popd
if
NOT
DEFINED
MAIN_CLASS
set
MAIN_CLASS
=
org
.apache.iotdb.tool.ExportCsv
...
...
@@ -34,14 +34,14 @@ if NOT DEFINED JAVA_HOME goto :err
@REM -----------------------------------------------------------------------------
@REM JVM Opts we'll use in legacy run or installation
set
JAVA_OPTS
=
-ea
^
-DIOTDB
_
CLI_HOME
=
%IOTDB_CLI
_HOME%
-DIOTDB
_
HOME
=
%IOTDB
_HOME%
@REM ***** CLASSPATH library setting *****
set
CLASSPATH
=
%IOTDB_
CLI_
HOME%
\lib\
*
set
CLASSPATH
=
%IOTDB_HOME%
\lib\
*
REM -----------------------------------------------------------------------------
"
%JAVA_HOME%
\bin\java"
-DIOTDB
_
CLI_HOME
=
%IOTDB_CLI
_HOME%
%JAVA_OPTS%
-cp
%CLASSPATH%
%MAIN_CLASS%
%
*
"
%JAVA_HOME%
\bin\java"
-DIOTDB
_
HOME
=
%IOTDB
_HOME%
%JAVA_OPTS%
-cp
%CLASSPATH%
%MAIN_CLASS%
%
*
goto
finally
...
...
cli/src/assembly/resources/tools/export-csv.sh
浏览文件 @
11b18d67
...
...
@@ -22,8 +22,8 @@ echo ------------------------------------------
echo
Starting IoTDB Client Export Script
echo
------------------------------------------
if
[
-z
"
${
IOTDB_
CLI_
HOME
}
"
]
;
then
export
IOTDB_
CLI_
HOME
=
"
$(
cd
"
`
dirname
"
$0
"
`
"
/..
;
pwd
)
"
if
[
-z
"
${
IOTDB_HOME
}
"
]
;
then
export
IOTDB_HOME
=
"
$(
cd
"
`
dirname
"
$0
"
`
"
/..
;
pwd
)
"
fi
if
[
-n
"
$JAVA_HOME
"
]
;
then
...
...
@@ -43,11 +43,11 @@ if [ -z $JAVA ] ; then
fi
CLASSPATH
=
""
for
f
in
${
IOTDB_
CLI_
HOME
}
/lib/
*
.jar
;
do
for
f
in
${
IOTDB_HOME
}
/lib/
*
.jar
;
do
CLASSPATH
=
${
CLASSPATH
}
":"
$f
done
MAIN_CLASS
=
org.apache.iotdb.tool.ExportCsv
"
$JAVA
"
-DIOTDB_
CLI_HOME
=
${
IOTDB_CLI
_HOME
}
-cp
"
$CLASSPATH
"
"
$MAIN_CLASS
"
"
$@
"
"
$JAVA
"
-DIOTDB_
HOME
=
${
IOTDB
_HOME
}
-cp
"
$CLASSPATH
"
"
$MAIN_CLASS
"
"
$@
"
exit
$?
\ No newline at end of file
cli/src/assembly/resources/tools/import-csv.bat
浏览文件 @
11b18d67
...
...
@@ -25,7 +25,7 @@ echo ````````````````````````````````````````````````
if
"
%OS%
"
==
"Windows_NT"
setlocal
pushd
%~dp0
..
if
NOT
DEFINED
IOTDB_
CLI_HOME
set
IOTDB_CLI
_HOME
=
%CD%
if
NOT
DEFINED
IOTDB_
HOME
set
IOTDB
_HOME
=
%CD%
popd
if
NOT
DEFINED
MAIN_CLASS
set
MAIN_CLASS
=
org
.apache.iotdb.tool.ImportCsv
...
...
@@ -34,14 +34,14 @@ if NOT DEFINED JAVA_HOME goto :err
@REM -----------------------------------------------------------------------------
@REM JVM Opts we'll use in legacy run or installation
set
JAVA_OPTS
=
-ea
^
-DIOTDB
_
CLI_HOME
=
%IOTDB_CLI
_HOME%
-DIOTDB
_
HOME
=
%IOTDB
_HOME%
@REM ***** CLASSPATH library setting *****
set
CLASSPATH
=
%IOTDB_
CLI_
HOME%
\lib\
*
set
CLASSPATH
=
%IOTDB_HOME%
\lib\
*
REM -----------------------------------------------------------------------------
"
%JAVA_HOME%
\bin\java"
-DIOTDB
_
CLI_HOME
=
%IOTDB_CLI
_HOME%
%JAVA_OPTS%
-cp
%CLASSPATH%
%MAIN_CLASS%
%
*
"
%JAVA_HOME%
\bin\java"
-DIOTDB
_
HOME
=
%IOTDB
_HOME%
%JAVA_OPTS%
-cp
%CLASSPATH%
%MAIN_CLASS%
%
*
goto
finally
...
...
cli/src/assembly/resources/tools/import-csv.sh
浏览文件 @
11b18d67
...
...
@@ -22,8 +22,8 @@ echo ------------------------------------------
echo
Starting IoTDB Client Import Script
echo
------------------------------------------
if
[
-z
"
${
IOTDB_
CLI_
HOME
}
"
]
;
then
export
IOTDB_
CLI_
HOME
=
"
$(
cd
"
`
dirname
"
$0
"
`
"
/..
;
pwd
)
"
if
[
-z
"
${
IOTDB_HOME
}
"
]
;
then
export
IOTDB_HOME
=
"
$(
cd
"
`
dirname
"
$0
"
`
"
/..
;
pwd
)
"
fi
if
[
-n
"
$JAVA_HOME
"
]
;
then
...
...
@@ -43,11 +43,11 @@ if [ -z $JAVA ] ; then
fi
CLASSPATH
=
""
for
f
in
${
IOTDB_
CLI_
HOME
}
/lib/
*
.jar
;
do
for
f
in
${
IOTDB_HOME
}
/lib/
*
.jar
;
do
CLASSPATH
=
${
CLASSPATH
}
":"
$f
done
MAIN_CLASS
=
org.apache.iotdb.tool.ImportCsv
"
$JAVA
"
-DIOTDB_
CLI_HOME
=
${
IOTDB_CLI
_HOME
}
-cp
"
$CLASSPATH
"
"
$MAIN_CLASS
"
"
$@
"
"
$JAVA
"
-DIOTDB_
HOME
=
${
IOTDB
_HOME
}
-cp
"
$CLASSPATH
"
"
$MAIN_CLASS
"
"
$@
"
exit
$?
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录