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 > import dialog

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.

folders shown instead of packages

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:

  1. 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.
  2. 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).
  3. 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

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -