-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3e602e
commit 355b784
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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% |