fix
This commit is contained in:
2025-02-11 23:32:28 +03:00
parent 62de67ccb7
commit ede6438fbf
3 changed files with 15 additions and 4 deletions

View File

@@ -845,11 +845,21 @@ public class TestingServer extends RepositoryServer<TestsDatabase> {
if (serverSapfor!=null){
File sapfor_copy = Sapfor.getTempCopy(new File(serverSapfor.call_command));
for (Test test: tests){
Sapfor.getMinMaxDim(sapfor_copy,test.getServerPath(),test);
db.Update(test);
try {
Sapfor.getMinMaxDim(sapfor_copy, test.getServerPath(), test);
db.Update(test);
Utils.deleteFilesByExtensions(test.getServerPath(),
"proj", "dep", "jar"
);
File visualiser_data = new File(test.getServerPath(), Constants.data);
FileUtils.forceDelete(visualiser_data);
}
catch (Exception ex){
ex.printStackTrace();
}
}
}
//-
//-"sh"
}
}