Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » GeneratedClass is already defined(parsing issue for generated DSL)
GeneratedClass is already defined [message #1761467] Thu, 11 May 2017 12:01 Go to next message
Vladimir Cvetkovic is currently offline Vladimir CvetkovicFriend
Messages: 1
Registered: May 2017
Junior Member
I have created Xtext project in an instance of Eclipse RCP bundled with generated plugins for myDSL. One of the DSL files creates types and the other DSL file imports these types. An error message that I have received from Xtext Check (fast):
"The type GeneratedClass is already defined in File2.mydsl. "
Same error is presented in File2.mydsl
"The type GeneratedClass is already defined in File1.mydsl. "
Any suggestions what this mean?
Re: GeneratedClass is already defined [message #1763299 is a reply to message #1761467] Fri, 12 May 2017 12:57 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14729
Registered: July 2009
Senior Member
Hi,

this means: there a a validation that checks that a class exists only once.
you are hit by this check.

without any more context its hard to tell what exaclty is wrong


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Previous Topic:[SOLVED] Enable Java generation with a partial compilation
Next Topic:Guidelines for having specific icons in proposals
Goto Forum:
  


Current Time: Tue Nov 05 06:54:12 GMT 2024

Powered by FUDForum. Page generated in 0.02941 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top