X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FLauncher%2FLauncher_Job_YACSFile.cxx;h=79e5b9a3f1a146a7437d9947f5708b7e9e6511ea;hb=4d57f98cebfdeb55bfcc1a73b698bfe7a36abb4e;hp=4d6ff37da4491032180d160d964a53b912652aa4;hpb=8b01db070b84e6945b178d47ac1b97988c19bb46;p=modules%2Fkernel.git diff --git a/src/Launcher/Launcher_Job_YACSFile.cxx b/src/Launcher/Launcher_Job_YACSFile.cxx index 4d6ff37da..79e5b9a3f 100644 --- a/src/Launcher/Launcher_Job_YACSFile.cxx +++ b/src/Launcher/Launcher_Job_YACSFile.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2009-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2009-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -22,10 +22,11 @@ #include "Launcher_Job_YACSFile.hxx" #include +const char Launcher::Job_YACSFile::TYPE_NAME[] = "yacs_file"; Launcher::Job_YACSFile::Job_YACSFile() { - _job_type = "yacs_file"; + _job_type = Launcher::Job_YACSFile::TYPE_NAME; _dumpState = -1; _yacsDriverOptions = ""; } @@ -44,7 +45,7 @@ Launcher::Job_YACSFile::addJobTypeSpecificScript(std::ofstream & launch_script_s launch_script_stream << _resource_definition.AppliPath << "/salome shell -p \"$appli_port\" -- driver -k\"$appli_port\" " << _job_file_name_complete; if (_dumpState > 0) launch_script_stream << " --dump=" << _dumpState; - if(not _yacsDriverOptions.empty()) + if(! _yacsDriverOptions.empty()) launch_script_stream << " " << _yacsDriverOptions ; launch_script_stream << " > logs/yacs_" << _launch_date << ".log 2>&1" << std::endl; }