Hi Francesco, the ODS definition and information are XML based.
So to get information from the ODS you have to: - load the ODS definition (database.odsconfig in org.topcased.adele.admin/usr by default) to create a SKODSFactory (in org.topcased.adele.model.ObjectDescriptionModel package) - then using the model object and the SKODSFactory you can query the ODS values. Since I never use Gendoc, I cannot help you to do it. I even do not know if it is possible to do it. I do not know the level of "code" can be used in Gendoc. You can have a look at the aadl code generation if you want an example of loading an ODS (org.topcased.adele.tools.prolog.actions.PrologExtractionAction) Arnaud Schach Ellidiss Technologies. ________________________________ De : [email protected] [[email protected]] de la part de Topcased user list where issues are discussed [[email protected]] Date d'envoi : mardi 9 octobre 2012 08:31 À : Topcased-Users Objet : [Topcased-users] [Gendoc] Gendoc2 and ODS Hi everybody, I'm sorry to repost this question, but, after having investigated as far as I could, I'm still a bit lost. The question is: Does anybody know if it is possible to access the ODS information associated with an Adele AADL item from a Gendoc2 template? Thanks, Francesco
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
