Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TGG language: MWE2 workflow broken in latest stable release of MWE2/Xtext #207

Open
maxkratz opened this issue Jun 15, 2022 · 4 comments
Open
Labels

Comments

@maxkratz
Copy link
Member

Currently, the TGG language's MWE2 file (https://github.com/eMoflon/emoflon-ibex-ui/blob/master/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2) is broken for the latest version of MWE2 (v2.13.0) which is per default installed in our emoflon-eclipse-build (https://github.com/eMoflon/emoflon-eclipse-build/releases/tag/v1.0.0.202205241657-r2).

IIRC, the component Generator was marked as deprecated beforehand.

Description	Resource	Path	Location	Type
Couldn't resolve reference to JvmIdentifiableElement 'encoding'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 42 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 101 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 104 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 107 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 110 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 113 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 116 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 119 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 122 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 125 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 128 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 48 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 51 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 57 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 62 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 65 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 72 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 82 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 83 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 84 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 87 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 91 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 94 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 97 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 98 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'generateStub'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 58 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'language'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 44 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'pathRtProject'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 38 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'pathUiProject'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 39 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'projectNameRt'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 40 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'projectNameUi'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 41 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'srcPath'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 43 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmIdentifiableElement 'uri'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 45 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'builder.BuilderIntegrationFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 84 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'compare.CompareFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 128 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'contentAssist.ContentAssistFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 104 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'ecore.EMFGeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 51 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'exporting.QualifiedNamesFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 83 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'formatting2.Formatter2Fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 91 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'generator.GeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 87 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'Generator'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 37 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'grammarAccess.GrammarAccessFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 48 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'junit.Junit4Fragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 110 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'labeling.LabelProviderFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 94 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'outline.OutlineTreeProviderFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 97 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'outline.QuickOutlineFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 98 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'parser.antlr.XtextAntlrGeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 65 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'parser.antlr.XtextAntlrUiGeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 107 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'quickfix.QuickfixProviderFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 101 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'refactoring.RefactorElementNameFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 113 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'resourceFactory.ResourceFactoryFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 62 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'scoping.ImportNamespacesScopingFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 82 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'serializer.SerializerFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 57 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'templates.CodetemplatesGeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 125 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'types.TypesGeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 116 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'validation.ValidatorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 72 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'xbase.XbaseGeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 119 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
Couldn't resolve reference to JvmType 'xbase.XtypeGeneratorFragment'.	GenerateTGG.mwe2	/org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl	line: 122 /org.emoflon.ibex.tgg.editor/src/org/moflon/tgg/mosl/GenerateTGG.mwe2	MWE2 Problem
@maxkratz maxkratz added the bug label Jun 15, 2022
@maxkratz
Copy link
Member Author

GT + Integrate are fine, AFAIK.

@maxkratz maxkratz changed the title TGG language: MWE2 workflow broken in latest stable release of MWE2 TGG language: MWE2 workflow broken in latest stable release of MWE2/Xtext Jun 15, 2022
@maxkratz
Copy link
Member Author

I noticed that the problem might not be MWE2 but Xtext itself. Release notes from the latest version (v2.27.0, https://www.eclipse.org/Xtext/releasenotes.html):

The org.eclipse.xtext.sdk does no longer package the deprecated org.eclipse.xtext.generator bundle. Please migrate to the new workflow/generator. The old and deprecated generator can still be found in the new org.eclipse.xtext.generator feature.

@maxkratz
Copy link
Member Author

Yep, installing org.eclipse.xtext.generator.feature.group (e.g., here eMoflon/emoflon-ibex-eclipse-build@a837c0c) resolved the compilation issue (at least for now)

Nevertheless, the TGG language should be migrated to the new generator mechanism. (I will keep this issue open for that.)

@maxkratz
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant