Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Mats_swe on June 17, 2008, 10:16:57 pm
-
Hi,
I want to create a code template for the mof language so I can generate code directly from created CIM models. I have found the syntax in the manual and started to write the template. The problem is that It won't generate any code, not even a file.
If I press Generate Code for a class and choose mof it states 'Generation Complete!' but no file is created. When generating a Java file the window closes and the file is generated perfectly. Does anyone know why it won't generate a file? I have only written a few lines in the template so far, but it should still generate a file, although not perfect, right?
I have also looked any tools to convert a xmi file to mof. The xmi file generated from EA isn't compatible with the tools, information is missing.
Thank you for all help contributions possible.
-Mats
-
What have you put in your file template?
If you put plain text in does it generate that to a file?
-
Thanks. I missed that the reading starts from the 'file' template. So now I'll give it a try.
-Mats