Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ASH-SYSTEMS opened this issue Jul 19, 2022 · 1 comment
Labels

Comments

@ASH-SYSTEMS
Copy link

ASH-SYSTEMS commented Jul 19, 2022

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

@dvojtise
Copy link
Contributor

dvojtise commented Aug 3, 2022

Hi
can you join a small project that produces the issue ? (a zip of the project of your screenshot ?)

as this isn't calling any GEMOC component, this is probably an installation dependencies issue
(normally GEMOC is only installing official component for OCL, but maybe we have some inconsistencies...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants