Git Product home page Git Product logo

bcoolexamples's People

Watchers

 avatar  avatar  avatar

bcoolexamples's Issues

Wrong parameter order in the generated CCSL

The order of the parameters in the CCSL relation is wrong. For instance, in the following Figure, the order of the parameters in the Causality relation are inverted

selection_045

For now, the order of the parameters should be manually corrected. We work for fixing the bug.

Matching by using a java method

It should be possible to match elements by sing an external method in java. This would make possible to match events by relying on a dictionary.

The NSUri in the generated QVTo is wrong

In some specific case, the transformation fails to get the NSUri of the imported interfaces, and then, the generated qvto is wrong or directly empty. This problem depends on how the ECL specification imports the metamodel (.ecore). We give a partial list of tips to avoid this problem:

  • The URI in the ECL must be the first line, with no commented lines before.
  • The URI must be imported as "platform:/plugin...'. Using 'resource' may get an exception.

This list is partial, so that don't hesitate to other solutions.

Problem during the CCSL generation if the qvt was regenerated

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'

Import into GEMOC studio leads to Errors.

I wanted to run the examples mentioned on the GMCO webpage but I seem to be missing some bundles/dependencies.

Steps to reproduce:

  1. Download the newest version of GMCO studio --> V3.3.0 - 2021/07/28
  2. Clone this repository.
  3. File < Import < Existing Projects into Workspace to load the cloned samples.

Here is a screenshot of some errors:
Skjermbilde 2021-09-07 115519

Can you give me a hint on how to resolve these errors? I would really like to try the BCOooLExamples myself.

Thanks in advance!

Reuse of Coordination Rules

Sometime the specification of a coordination rule can become complex. In such cases, I want to reuse a coordination rule to avoid rewritten same code. First, coordination rules must have a name, second, it must be possible to define that two coordination rules are the same.

Matias

Problem in qvto when .ecore is imported in the ecl

In some cases, in the generated qvto, the metamodels are not correctly imported. This occurs when the .ecl imports an .ecore. The transfo should check if the import is a .ecore and then return the corresponding NSURI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.