#include <Config_Keywords.h>
#include <Config_Common.h>
#include <Config_PropManager.h>
+#include <Config_ModuleReader.h>
#include <Events_Loop.h>
#include <Events_InfoMessage.h>
void Config_XMLReader::readAll()
{
+ // to load external modules dependencies (like GEOm for Connector Feature
+ Config_ModuleReader::loadScript("salome.shaper.initConfig", false);
+
xmlNodePtr aRoot = findRoot();
readRecursively(aRoot);
}
{
if (myPluginsInfoLoaded) // nothing to do
return;
- Config_ModuleReader::loadScript("salome.shaper.initConfig", false);
// Read plugins information from XML files
Config_ModuleReader aModuleReader(Config_FeatureMessage::MODEL_EVENT());
aModuleReader.readAll();
import SALOME_ModuleCatalog
import ConfigAPI
+# needed on immediate start of SHAPER from SALOME: salome.naming_service is not initialized then
+salome.salome_init()
obj = salome.naming_service.Resolve('Kernel/ModulCatalog')
catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
aCorbaModules = catalog.GetComponentList()