]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
First SMESH/GEOM case OK without external Server connection agy/archi2_0
authorAnthony Geay <anthony.geay@edf.fr>
Sat, 16 Jan 2021 05:02:42 +0000 (06:02 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Sat, 16 Jan 2021 05:02:42 +0000 (06:02 +0100)
src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx

index b5de2b0d9b28697b0acbe9e7bce019f8b752d964..3f0c74dbe3569518098396b3a9801d12df7a0dc4 100644 (file)
@@ -66,8 +66,8 @@ SALOME_ModuleCatalog::ModuleCatalog_ptr KERNEL::getModuleComponentServantSA()
   if(CORBA::is_nil(moduleCata))
   {
     CORBA::ORB_ptr orb = KERNEL::getORB();
-    char *argv[4] = {"SALOME_ModuleCatalog_Server","-common","\"/home/H87074/salomeDEV/DEV2/share/salome/resources/geom/GEOMCatalog.xml\"::\"/home/H87074/salomeDEV/DEV2/share/salome/resources/smesh/SMESHCatalog.xml\"",nullptr};
-    SALOME_ModuleCatalogImpl *servant = new SALOME_ModuleCatalogImpl(3,argv,orb);
+    char *argv[3] = {"SALOME_ModuleCatalog_Server",nullptr};
+    SALOME_ModuleCatalogImpl *servant = new SALOME_ModuleCatalogImpl(1,argv,orb);
     moduleCata = servant->_this();
   }
   return SALOME_ModuleCatalog::ModuleCatalog::_duplicate(moduleCata);