no message

This commit is contained in:
2024-05-07 01:06:47 +03:00
parent b39de4ad14
commit 12fddbdc95
6 changed files with 51 additions and 10 deletions

View File

@@ -11,14 +11,15 @@ import TestingSystem.SAPFOR.Json.SapforConfiguration_json;
import TestingSystem.SAPFOR.Json.SapforTest_json;
import TestingSystem.SAPFOR.Json.SapforTestingSet_json;
import TestingSystem.SAPFOR.SapforPackage.SapforPackage;
import TestingSystem.SAPFOR.ServerSapfor.ServerSapfor;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.nio.charset.Charset;
import java.util.Date;
import java.util.Vector;
public class SapforTestingPlanner extends TestingPlanner<SapforPackage> {
File workspace;
ServerSapfor sapfor;
@Override
protected ServerCode getActivePackagesCode() {
return ServerCode.GetFirstActiveSapforPackages;
@@ -146,7 +147,14 @@ public class SapforTestingPlanner extends TestingPlanner<SapforPackage> {
compileSapfors();
super.perform();
}
public void compileSapfors() throws Exception{
public void getServerSapforForCompilation() throws Exception {
sapfor= (ServerSapfor) ServerCommand(ServerCode.GetSapforForCompilation);
}
public void compileSapfors() throws Exception {
sapfor = null;
getServerSapforForCompilation();
if (sapfor != null) {
}
}
}

View File

@@ -1,4 +1,5 @@
package TestingSystem.SAPFOR.ServerSapfor;
import Common.Database.DBObject;
import Common.Database.riDBObject;
import Common.Utils.Utils;
import ProjectData.LanguageName;
@@ -25,6 +26,20 @@ public class ServerSapfor extends riDBObject {
//--
public ServerSapfor() {
}
public ServerSapfor(ServerSapfor s) {
SynchronizeFields(s);
}
@Override
public void SynchronizeFields(DBObject src) {
super.SynchronizeFields(src);
ServerSapfor s = (ServerSapfor) src;
languageName = s.languageName;
home_path = s.home_path;
call_command = s.call_command;
version = s.version;
buildDate = s.buildDate;
state = s.state;
}
@Override
public String toString() {
return call_command;