melange icon indicating copy to clipboard operation
melange copied to clipboard

missing files in melange projects due to git auto ignore in eclipse

Open dvojtise opened this issue 8 years ago • 0 comments

when a melange project is hosted in git repository, some files generated by melange are ignored in git.

this implies that another user who checkout the project will have errors on it until he performs a melange's "generate all". this is the case for files *FactoryAdapter.java

the reason is probably linked to http://stackoverflow.com/questions/17748223/egit-and-eclipse-modifies-gitignore-file-but-it-should-not

Actually, the missing files seems to be generated using xtext generator which tag these files as "derived" but as we do not have a real build service, we really need to save them in the repository.

This issue impacts all the deployed examples of the GEMOC Studio.

workaround : manually remove the generated .gitignore after each "generate all"

dvojtise avatar Feb 16 '17 15:02 dvojtise