MatiasVara / BCOoLExamples

This project contains BCOoL examples which includes the specification of a BCOoL operator plus a model. The BCOoL specification can be used to coordinate the models.
0 stars 0 forks source link

Problem during the CCSL generation if the qvt was regenerated #1

Closed MatiasVara closed 9 years ago

MatiasVara commented 9 years ago

The following problem was observed if we have regenerated the qvto and we tray to regenerate the CCSL:

"Java method invocation error 'public java.util.Set fr.inria.aoste.timesquare.ecl.qvto.helper.EclQVToHelper.getLibObjects(java.lang.String)'"

In the second eclipse workspace, we get the following error:

event details _011

This exception is shown in the first eclipse workspace:

resource - gemoc studio _012

A temporal solution is to manually edit the qvto and replace the lines where TFSMMoC.lib is imported by replacing the "resource" to "plugin". Then, the line becomes:

'platform:/plugin/org.gemoc.sample.tfsm.moc.lib/ccsl/TFSMMoC.ccslLib'

MatiasVara commented 9 years ago

The problem is in TFSM.ecl. TheTFSMMoC.ccslLib should be imported as a plugin instead resource. This issue is not fixed yet.

MatiasVara commented 9 years ago

The problem have been fixed. Now, when the interface is imported by using "platform:/plugin", the libraries imported from the interface are also imported as "platform:/plugin". Despite the qvto is correctly generated, the console ishows some exceptions:

selection_046

I am working on it.