# Author: Anthony Geay, anthony.geay@edf.fr, EDF R&D
if(ADAO_SALOME_MODULE)
- install(FILES SalomeApp.xml DESTINATION ${ADAO_RES})
+ install(FILES SalomeApp.xml ADAOCatalog.xml DESTINATION ${ADAO_RES})
else(ADAO_SALOME_MODULE)
- install(FILES ADAOCatalog.xml ADAOSchemaCatalog.xml DESTINATION ${ADAO_RES})
+ install(FILES ADAOSchemaCatalog.xml DESTINATION ${ADAO_RES})
endif(ADAO_SALOME_MODULE)
msg += "case with the ADAO/EFICAS editor."
return msg
- if "ADAO_ROOT_DIR" not in os.environ:
- return "Please add ADAO_ROOT_DIR to your environnement."
+ if "ADAO_ENGINE_ROOT_DIR" not in os.environ:
+ return "Please add ADAO_ENGINE_ROOT_DIR to your environnement."
- adao_path = os.environ["ADAO_ROOT_DIR"]
+ adao_path = os.environ["ADAO_ENGINE_ROOT_DIR"]
adao_exe = adao_path + "/bin/salome/AdaoYacsSchemaCreator.py"
args = ["python", adao_exe, filename, self.yacs_filename]
p = subprocess.Popen(args)
l.registerProcCataLoader()
runtime = pilot.getRuntime()
try:
- catalogAd = runtime.loadCatalog("proc", os.environ["ADAO_ROOT_DIR"] + "/share/salome/resources/adao/ADAOSchemaCatalog.xml")
+ catalogAd = runtime.loadCatalog("proc", os.environ["ADAO_ENGINE_ROOT_DIR"] + "/share/salome/resources/adao/ADAOSchemaCatalog.xml")
runtime.addCatalog(catalogAd)
except:
raise ValueError("Exception in loading ADAO YACS Schema catalog")