|API for accessing MOF model [message #793586]
||Wed, 08 February 2012 10:10
| Morten Krøyer
Registered: January 2012
I have taken over an old project that, among other things, is doing cross-reference analysis on EGL applications.
We would like that project to build on EDT by accessing the MOF model that is being build by the compiler. It seems, though, that the API for accessing that model has changed quite a lot (as could be expected ). I can't seem to find any documentation on how to do it, though.
Basically I think it's just a M2M generator I'm writing.
Is there any documentation on the API at it's current state?
I know it is still subject to change untill 1.0 is released, but it would be usefull for me to educate myself on the principles and get started on the project, and changes to the API can probably be incorporated easily.
The application i have taken over tries to do:
<some initialization stuff>
rootDir = "C:\\EGL\\irOutput";
partName = "dk.mytestpackage.programs.pgm1.TestPgm1";
part = IRLoader.loadEGLPart(rootDir, partName, null);
with the last line failing with a MofObjectNotFoundException.
I'm thinking that i probably don't want to use the loadEGLPart method anyway, since I don't want to access the EGL directly, but rather the MOF model. I've search the web-page and wiki for an API but haven't found anything.
Also I'm thinking that I want to access the EGLBin directory rather than the irOutput.
Powered by FUDForum
. Page generated in 0.02171 seconds