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

call emf implementation instead of K3 when the EOperation is declared in the ecore #105

Closed
jdeantoni opened this issue Aug 24, 2018 · 6 comments
Labels

Comments

@jdeantoni
Copy link
Contributor

Hey,
when an EOperation is declared in Ecore and defined in K3, the emf implementation is called.
The aspects are well declared in the.dsl file.
Other methods (like the initialization one) are working OK.

I join one example to reproduce the problem.

languagewb.zip
org.gemoc.models17.example.zip

@jdeantoni
Copy link
Contributor Author

PS: only in pure sequential implementation

@dvojtise
Copy link
Contributor

dvojtise commented Aug 24, 2018

I haven't looked in detail yet, but this probably means that either a import static extension is missing and/or the aspectJ part of K3 doesn't work correctly

@jdeantoni
Copy link
Contributor Author

jdeantoni commented Aug 27, 2018 via email

@jdeantoni jdeantoni added the bug label Aug 27, 2018
@dvojtise
Copy link
Contributor

@jdeantoni
Copy link
Contributor Author

arf, thanks a lot. It works like a charm now...
Did you already think about changing the annotation name with something like "OverrideEmfMethod"
But anyway it works...

thanks !

@dvojtise
Copy link
Contributor

I used your example to improve k3 documentation about this.
Additionally, I opened diverse-project/k3#63 in order to change the annotation name which is probably not intuitive.

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