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

The NSUri in the generated QVTo is wrong #7

Open
MatiasVara opened this issue Aug 10, 2015 · 1 comment
Open

The NSUri in the generated QVTo is wrong #7

MatiasVara opened this issue Aug 10, 2015 · 1 comment
Labels

Comments

@MatiasVara
Copy link
Owner

In some specific case, the transformation fails to get the NSUri of the imported interfaces, and then, the generated qvto is wrong or directly empty. This problem depends on how the ECL specification imports the metamodel (.ecore). We give a partial list of tips to avoid this problem:

  • The URI in the ECL must be the first line, with no commented lines before.
  • The URI must be imported as "platform:/plugin...'. Using 'resource' may get an exception.

This list is partial, so that don't hesitate to other solutions.

@MatiasVara
Copy link
Owner Author

In the ECL, when a .ecore is imported, it must be imported as "platform:/resource". Then, the BCOoL transfo will automatically replace that for "platform:/plugin". The BCOoL spec should not be in the same workbench than the language project.

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

1 participant