Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Franca » Franca load Model(loading imported franca file models recursively)
Franca load Model [message #1710815] Fri, 09 October 2015 13:47
anudeep arya is currently offline anudeep aryaFriend
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.
Previous Topic:Welcome to eclipse.franca
Next Topic:Different deployment values for same struct in different methods
Goto Forum:
  


Current Time: Fri Sep 21 05:36:39 GMT 2018

Powered by FUDForum. Page generated in 0.02120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top