Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Nested project: Dsl files compiled twice
Nested project: Dsl files compiled twice [message #1836480] Tue, 05 January 2021 16:54 Go to next message
Yannick DAVELUY is currently offline Yannick DAVELUYFriend
Messages: 25
Registered: July 2020
Junior Member
Hello,

I have a problem with my Dsl when I create a nested project : the nested project is compiled twice, in itself and in the parent project.
Generated files are created both in parent and in nested project. I have a validator that checks for unique names in the global indexes that raises duplicated names for element created in the nested project .

In the case of a plugin/java project with dsl files in a source directory it would work as expected but in my case I don't want to convert my projects to plugin/java.

How can I solve this issue ?

Yannick
Re: Nested project: Dsl files compiled twice [message #1836481 is a reply to message #1836480] Tue, 05 January 2021 17:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13770
Registered: July 2009
Senior Member
Hi, can you please create a ticket with details at github.com/eclipse/xtext-eclipse

You may be able to Workaround with IShouldGenerate or IResourceUiServiceProvider


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Nested project: Dsl files compiled twice [message #1836484 is a reply to message #1836481] Tue, 05 January 2021 19:20 Go to previous message
Yannick DAVELUY is currently offline Yannick DAVELUYFriend
Messages: 25
Registered: July 2020
Junior Member
I created the ticket:
https://github.com/eclipse/xtext-core/issues/1656

Yannick
Previous Topic:Custom scheme for import URIs
Next Topic:Keyword with whitespace
Goto Forum:
  


Current Time: Tue Mar 09 12:18:01 GMT 2021

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

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

Back to the top