eclipse-gemoc / eclipse-gemoc/gemoc-studio

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

Open
#272 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PostScript
Stars
27
Forks
22
PR merge metrics
No merged PRs in 30d

Description

## 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](https://user-images.githubusercontent.com/64374253/179696663-73b2f2c6-bf5e-4b3f-ac59-c5582d9eb382.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.