Missing src and xtend-gen source folders in xtext some projects [message #1782836] |
Fri, 02 March 2018 11:11 |
Márcio Koch Messages: 57 Registered: August 2013 |
Member |
|
|
Oi guys
I have a xtext project working fine locally. But when I push this project to the git and other developer pull this project from git, the project mydsl.ide are missing required source folders "src" and "xtend-gen", and the project mydsl.tests have this two source folders, but the Eclipse Problems window teels that they are missing. I already compared my local and remote projects, and they seem be equal.
Note: at the first push a had some .gitignore: .classpath, .project, .settings/, target/, bin/, xtend-gen/ and src-gen/.
Now I already removed all this ignored entries an pushed the new files, but it still don't work.
I'm using xtext version 2.10.0.
I appreciate any tips.
|
|
|
|
|
Re: Missing src and xtend-gen source folders in xtext some projects [message #1782848 is a reply to message #1782836] |
Fri, 02 March 2018 12:36 |
|
You can lower the severity of build path problems to warning:
- Java / Compiler / Building / Build Path Problems / Incomplete Build Path => Warning
Or check in an empty file into that folders (I use usually '.gitkeep' as file name)
Note that Git cannot handle empty folders and you are ignoring src-gen and xtend-gen. Actually often I do the same, while changing the build path problem severity.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03070 seconds