Franca load Model [message #1710815] |
Fri, 09 October 2015 13:47 |
anudeep arya Messages: 49 Registered: March 2013 |
Member |
|
|
Hello All,
I have loaded a franca file by using the loadModel(URI uri, URI root) method in ModelPersistenceHandler.java class.
I see that all the imported fidl models are also loaded but what is finally returned is the top level model without the contents of the imported fidls.
What is the use of loading all the imported models when the method returns only the top level models contents and the user has to iterate through the imports and load the imported models again individually.
The problem i am facing with this is if there is a cyclic dependency in fidls(A.fidl imports B.fidl and viceversa).When i try to validate this check by loading model A.fidl i get a stackoverflow exception(Since it loads inner models ) but doesn't check for anything
Hope my question is Clear.
Regards,
Anudeep.
|
|
|
Powered by
FUDForum. Page generated in 0.02699 seconds