file Error installing module

8 years 3 months ago #661 by Thomas
Hi
I'm trying to develop a Modelio Plugin. I have used the Example ModuleTemplate to create my own classes. When I'm trying to install the module, I get the error:
ERROR org.modelio.mda.infra: Aborting 'E2EModelioPlugin' module deployment: com.modeliosoft.modelio.api.mdac.MdacException: ''ch.e2e.builder.plugin.modelio.base.ModelioPlugin' does not extend 'com.modeliosoft.modelio.api.mdac.IMdacSession'.

The class ModelioPlugin extends AbstractJavaMdac like the TemplateModuleMdac in the example.

What's going wrong

Thanks in advance

Please Log in or Create an account to join the conversation.

8 years 3 months ago - 8 years 3 months ago #663 by cma
Hi,

The Modelio modules main class name has some constraints:

  • Your module class name must end with "Mdac" so you have to name your plugin "ModelioPluginMdac".
  • The class implementing IMdacSession must have the same name as the main class, replacing "Mdac" by "Session". In your case the session class should be named "ModelioPluginSession".
  • Please Log in or Create an account to join the conversation.

    Moderators: tmachmaab
    Time to create page: 0.035 seconds
    ^ Back to Top