Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mats_swe

Pages: [1]
1
Hi,
Does anyone know how I can to transfer my code template to another project without copy-and-paste work?
-Mats

2
Thanks. I missed that the reading starts from the 'file' template. So now I'll give it a try.
-Mats

3
Automation Interface, Add-Ins and Tools / Creating a code template
« 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

Pages: [1]