no message
This commit is contained in:
@@ -50,14 +50,11 @@ public class PerformSapforTask extends Pass_2021<SapforTask> {
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
sapfor_drv = (File) args[0];
|
||||
sapforConfiguration_json = (SapforConfiguration_json) args[1];
|
||||
String testDescription = (String) args[2];
|
||||
target = (SapforTask) args[3];
|
||||
target = (SapforTask) args[2];
|
||||
//--->>
|
||||
parentTask = Paths.get(Global.Home, sapforConfiguration_json.id, testDescription).toFile();
|
||||
parentTask = Paths.get(Global.Home, sapforConfiguration_json.id, target.test_description).toFile();
|
||||
task = null;
|
||||
//--->>
|
||||
target.sapfor_configuration_id = sapforConfiguration_json.id;
|
||||
target.test_description = testDescription;
|
||||
target.root = parentTask.getAbsolutePath();
|
||||
return true;
|
||||
}
|
||||
@@ -92,7 +89,7 @@ public class PerformSapforTask extends Pass_2021<SapforTask> {
|
||||
File file = new File(data_workspace, name + (Global.isWindows ? ".bat" : ".sh"));
|
||||
FileUtils.write(file,
|
||||
Utils.DQuotes(sapfor_drv.getAbsolutePath())
|
||||
+ (sapforConfiguration_json.flags.isEmpty() ? "" : (" " + sapforConfiguration_json.flags))
|
||||
+ (target.flags.isEmpty() ? "" : (" " + target.flags))
|
||||
+ " -noLogo"
|
||||
+ " " + command +
|
||||
" 1>" +
|
||||
|
||||
Reference in New Issue
Block a user