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

Question : Outlet without cleaning strategy #78

Closed
didos36 opened this issue Mar 16, 2017 · 5 comments
Closed

Question : Outlet without cleaning strategy #78

didos36 opened this issue Mar 16, 2017 · 5 comments

Comments

@didos36
Copy link

didos36 commented Mar 16, 2017

Hello,

I have a Xtext Language that define several output configuration, but with some different strategy regarding delete existing files. One delete existing file, the other only create file is not exiting.

I tried someting like
outlets { DEFAULT_OUTPUT { producesJava = true } DEFAULT_OUTPUT_ONCE { producesJava = true cleanAutomatically = false } }

but this is working.
Any idea?

@oehme
Copy link
Member

oehme commented Jun 6, 2017

What is not working? Can you please provide a reproducible example project on GitHub?

@peterssas
Copy link

peterssas commented Jun 29, 2017

I have the same problem, are there any solution for this?
A small example: https://github.com/peterssas/xtext-gradle-problem.git
The File "TestEntityGenOnce" is modified and will be overwritten during next gradle build

The option "cleanAutomatically = false" causes that the output folder won't be cleared, but the files will be overwritten.

@oehme
Copy link
Member

oehme commented Jun 30, 2017

Thanks for the example! I had wrongly assumed that Xtext merges the output configuration, but that's not the case. So the the Gradle plugin needs to do it instead.

@didos36
Copy link
Author

didos36 commented Feb 19, 2018

Hello,

Do you plan a bug fix?

@oehme
Copy link
Member

oehme commented Feb 19, 2018

Not at the moment but pull requests are welcome

@oehme oehme closed this as completed in fb255f2 Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants