Commit 18c1ea4b authored by sml's avatar sml

代码提交

parent 0567c947
......@@ -109,8 +109,12 @@ public class SyncTask extends AbstractTask {
*/
private String buildCommand() throws Exception {
// generate scripts
String fileName = String.format("%s/%s_node.%s", taskExecutionContext.getExecutePath(),
taskExecutionContext.getTaskAppId(), OSUtils.isWindows() ? "bat" : "sh");
//String fileName = String.format("%s/%s_node.%s", taskExecutionContext.getExecutePath(),
// taskExecutionContext.getTaskAppId(), OSUtils.isWindows() ? "bat" : "sh");
String fileName = String.format("%s/%s_application_%s.%s", taskExecutionContext.getExecutePath(),
taskExecutionContext.getTaskAppId(), taskExecutionContext.getExecId(), "conf");
Path path = new File(fileName).toPath();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment