eclipse / xtext

Eclipse Xtext™ is a language development framework

Home Page:http://www.eclipse.org/Xtext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing MWE sources into xtext workspace no longer works

cdietrich opened this issue · comments

One or more cycles were detected in the build path of project 'org.eclipse.xtend.core'. The paths towards the cycle and cycle are:
org.eclipse.xtend.core->{org.eclipse.emf.mwe2.language, org.eclipse.xtext.common.types, org.eclipse.emf.mwe2.launch}
One or more cycles were detected in the build path of project 'org.eclipse.emf.mwe2.language'. The paths towards the cycle and cycle are:
->{org.eclipse.emf.mwe2.language, org.eclipse.xtext.common.types, org.eclipse.emf.mwe2.launch}
org.eclipse.emf.mwe2.language->{org.eclipse.xtext.common.types, org.eclipse.emf.mwe2.launch}
->{org.eclipse.emf.mwe2.language, org.eclipse.xtext.common.types}

am not sure if this is due to platform changes or your change @LorenzoBettini
cc @szarnekow

maybe we need a bootstrap project for common types gen project too

I think the dependency to mwe2 launch is wrong in the build.properties of xtend.core and common.types

i think this is due to run as mwe workflow needs this dependency. if i remember correct
but with java main it should work

But common types has a java file for the generation, so launch should not be required

so it can be removed i guess

Yes. You might try to run the java file without that dependency.

And yes, my PR was the culprit https://github.com/eclipse/xtext/pull/2882/files#diff-2fea07bb0aeeeb3bdff8c638542a1f06ada285094518b8a07f0d2b0357d84c50R13

I had added that dep when I created the mwe2 file. I then removed the mwe2 file going back to the Java file. Unfortunately, I forgot to remove the dep.