Skip to content

Commit

Permalink
add: 增加启动 datax_web 的批处理脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhongfa committed Aug 7, 2019
1 parent d3e602e commit 355b784
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/src/main/script/start-datax-web.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@echo off
rem 设置编码为utf8
chcp 65001
rem 获取父级目录
for %%d in (%~dp0..) do set ParentDirectory=%%~fd
echo ParentDirectory=%ParentDirectory%

set DATAX_WEB_HOME=%ParentDirectory%\plugin\web\
set JAVA_COMMAND=java -Datax.home=%ParentDirectory% -jar %DATAX_WEB_HOME%datax-web-0.0.1-SNAPSHOT.jar
echo %JAVA_COMMAND%
%JAVA_COMMAND%

0 comments on commit 355b784

Please sign in to comment.