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

Stop generating interfaces in some cases #97

Closed
berezovskyi opened this issue Jul 7, 2019 · 3 comments
Closed

Stop generating interfaces in some cases #97

berezovskyi opened this issue Jul 7, 2019 · 3 comments

Comments

@berezovskyi
Copy link
Contributor

The current approach to setting the domain/range to existing OSLC Core resources not generated by Lyo Designer is to generate dummy classes anyway, ignore them from git version control and set the domain java package to the original location.

This fails because LyoD still generates IXyzResource references as explained in https://github.com/eclipse/lyo.domains/issues/9.

@berezovskyi
Copy link
Contributor Author

Is this still relevant? Also see eclipse-lyo/lyo#194

@jadelkhoury
Copy link
Contributor

jadelkhoury commented Feb 12, 2022

This issue is not a problem. The best approve is to simply enable the checkbox to "not generate from imported models". That's how we do it in the oslc-domains projects. Domains can refer to existing resources (like ResourceShape) without generating classes for ResourceShape.

I this we should close this issue. But #194 is still relevant.

@berezovskyi
Copy link
Contributor Author

Thanks, Jad! Indeed, I always check "not generate from imported models". Closing.

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

No branches or pull requests

2 participants