Skip to content

Error reported in generating code from Ecore project which contains OCL declarations #272

@ASH-SYSTEMS

Description

@ASH-SYSTEMS

Bug description

When using Ecore OCL within an Ecore modelling project (for calculating a derived attribute in one of my projects) results in an error when doing code generation for the Ecore project stating "Errors occurred while generating code." The details are in the attached file.

Everything worked fine until about April, so I guess one of the nightly builds since then introduced the bug.

see also: https://www.eclipse.org/forums/index.php?t=rview&goto=1853816#msg_1853816

Expected behavior

An errorless code generation of the metamodel.
For comparison, a native Eclipse installation generates the same project with no errors reported.

How to reproduce

  1. See screenshot on how to define OCL for the Ecore
  2. Generate all (from project)

Additional context

  • GEMOC Studio version: 3.5.0.202204291215 and 3.5.0.202207010750
  • Java version:
  • OS: Windows 10

Screenshot

ProblemOCL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions