How to import an Xtext Project from git in Eclipse? -
i have xtext project in git repository. tried various ways import blank workspace. didn't succeed far. search google @ least 2 hours. found various tutorials how setup new xtext project in eclipse, not how import existing resources.
the closest got far this: import > projects git > existing local repository >
at least default xtext project , ui project imported. test project not recognized project -> not import far.
the imported projects don't work. packages shown folders , don't have java compiler on buildpath.
can please explain me how can import existing xtext project eclipse correctly? solution far copying friends workspace folder. can create new xtext project in eclipse, how can import existing project?
more creator of xtext project has not included generated code git repository. however, results in possible problems:
- the end-user has execute mwe2 workflow of grammar manually after checkout; until expected have compile errors in project.
- related issue: if src-gen folder missing xtext project, mwe2 workflow fails badly. can happen, src-gen folder contains generated code; , empty folders not transferred git.
- because of internal structure of xtext/xtend compiler possible after workflow executed, xtend files still erroneous. if so, have clean projects again (use clean item projects menu).
- in project (by looking @ screenshot) seems .project , .classpath files of projects not committed repository. these files used eclipse understand builders add, source folders, etc.
i suggest contact original creator of repository, believe, he/she has not committed required opening project in eclipse.
Comments
Post a Comment