-
Notifications
You must be signed in to change notification settings - Fork 7
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
Adapters generation failing #103
Comments
Hi Eduardo, and thank you for the bug report, this is helpful! Unfortunately, I'm really overloaded right now so I cannot allocate any time to it. Maybe @fcoulon can help in the meantime? I'll get back to it by the end of next week. |
Can you attach a .zip of your workspace? |
I will create a private repo and add you @fcoulon. It will take some time, however. |
I managed to solve that issue through re-starting the workspace and building everything from stratch. Probably something went wrong in the Eclipse file locking system. However, the adapters are still not being generated. In fact, Melange is creating a lot of "empty class files", with no methods or attributes. It is worth saying that this "failure" I just described is completely silent. No error is shown, in this case. |
in your trace: |
Yes, I could solve that. But stills generating nothing, with no errors this time. |
Hello eduardoafs ! Thanks for your post, please could you help me finding the SosADL link for downloading its meta data for language specification. I searched on the Archware group website but it is not there. Also they mentioned about a tool called SosADL studio which is not visible / available for download. |
Ahmad, I prefer to not respond here, since this space is for melange-related discussions. Please contact me by email. |
Thanks for replying. Yes sure I am comfortable to communicate via email.
My email id is: [email protected]
Hopefully I will have a chance to communicate and get some help in order to
evalute SosADL and associated tool set.
|
Hello again,
Hope I don't become an assiduous user of this issues tracker :p
So, this time I have an adapter build failing. I thought it was something with the project (I was working on another project and that is working fine), however I started a new project from scratch and the issue persists.
There is a project, org.archware.sosadl, it was not made for me. It has a metamodel generated by Xtext, I can annex it here if it helps. This metamodel is named SosADL, it defines the language sosADL (this exact name, I think the issue is somehow related to the name), namespace prefix sosADL and ns URI http://www-archware.irisa.fr/sosadl/SosADL.
I created a GEMOC XSDM project and from it an empty K3 DSA Project. After pasting a reduced part of the aspects I tried to generate the interface, adapters and language runtime, just to have something to work on. Then the generation of adapters failed, here's the stacktrace:
Originally I use a HashMap in the K3 code, it triggered some errors in the generation process then I removed them, for testing purposes (it also simplifies the already-simple version).
This message
Caused by: org.eclipse.core.internal.resources.ResourceException: A resource exists with a different case: '/org.archware.sosadl.gemoc/src-gen/org/archware/sosadl/gemoc/sosadl/adapters/sosadlmt/sosadl'.
Makes me believe it is something with the naming, I had a problem with names before. However, this time I can't change it. Also, I tried to delete everything and start over, same.
When I remove the aspects it generates empty adapters, but I think this behavior is expected.
I installed: fr.inria.diverse.melange.sdk.feature.group
Version: 0.2.1.201801111131
The text was updated successfully, but these errors were encountered: