anuragraghavan / franca

Automatically exported from code.google.com/p/franca
0 stars 0 forks source link

Add/extend helper classes to load Franca models within OSGI environment #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Deployment files cannot be loaded with the FDeployPersistenceManager class 
within an OSGI environment because the constructor initializes the standalone 
setup (fidl files can be loaded with the FrancaPersistenceManager class since 
the standalone setup is not invoked there).

Original issue reported on code.google.com by johannes...@googlemail.com on 19 Jun 2013 at 11:34

GoogleCodeExporter commented 9 years ago
Just found out that the ModelPersistenceHandler class can be used within OSGI 
environments. This ticket can be rejected.

Original comment by johannes...@googlemail.com on 19 Jun 2013 at 3:31

GoogleCodeExporter commented 9 years ago
The StandaloneSetup call in the constructor is necessary under some 
circumstances due to a bug in the xtext-utils for testing. A second test might 
fail because after the first test the EMF package registry will be cleaned 
(which is not wanted at all). 

Indeed, calling ModelPersistenceHandler.loadModel without using the 
FDeployPersistenceManager wrapper will help here.

Ticket will be closed.

Original comment by klaus.birken@gmail.com on 20 Jun 2013 at 6:52