vers 312 aggiunti autoLoadConf con try/catch
This commit is contained in:
+14
-6
@@ -186,12 +186,20 @@ namespace IOB_WIN
|
||||
// se abilitato autoload conf leggo file corretto...
|
||||
if (utils.CRB("autoLoadConf"))
|
||||
{
|
||||
loadIniFile(defConfFilePath);
|
||||
lgInfo("INI LOADED");
|
||||
loadPersistLayer(utils.defPersLayerFile);
|
||||
lgInfo("PersLayerFile READ");
|
||||
iobObj.loadPersData();
|
||||
lgInfo("PersLayerFile LOADED");
|
||||
try
|
||||
{
|
||||
|
||||
loadIniFile(defConfFilePath);
|
||||
lgInfo("INI LOADED");
|
||||
loadPersistLayer(utils.defPersLayerFile);
|
||||
lgInfo("PersLayerFile READ");
|
||||
iobObj.loadPersData();
|
||||
lgInfo("PersLayerFile LOADED");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
displayTaskAndLog(string.Format("Eccezione in autoLoadConf: {0}", exc));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
+12
-4
@@ -254,10 +254,18 @@ namespace IOB_WIN
|
||||
// se abilitato autoload conf leggo file corretto...
|
||||
if (utils.CRB("autoLoadConf"))
|
||||
{
|
||||
loadIniFile(utils.mainConfFilePath);
|
||||
lgInfo("INI LOADED");
|
||||
// avvio child come richiesto!
|
||||
startAdapters();
|
||||
try
|
||||
{
|
||||
|
||||
loadIniFile(utils.mainConfFilePath);
|
||||
lgInfo("INI LOADED");
|
||||
// avvio child come richiesto!
|
||||
startAdapters();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
displayTaskAndLog(string.Format("Eccezione in myInit: {0}", exc));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Vendored
+1
-1
@@ -16,7 +16,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=311']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=312']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO-IOB-WIN'
|
||||
|
||||
Reference in New Issue
Block a user