Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Chain generation from language1 -> language2 -> java
Chain generation from language1 -> language2 -> java [message #896171] Tue, 17 July 2012 13:40
Sergio Otero is currently offline Sergio OteroFriend
Messages: 37
Registered: June 2012
Member
Hi

I'm developing an editor that basically consist of 2 DSLs.

I have 2 separated xtext projects with different file extensions.

The first language "lang1" generates files with extension "lang2" and this last one generates "java"

The only problem i have is that when i write a "lang1" file, "lang2" result is generated in "src-gen", but i need to open that file and write in order to trigger the generation to "java".

Also, when i do a clean of the project, all "java" files are deleted and only "lang2" files are present in "src-gen".

How i could i chain the generation from lang1->lang2->java?

Thanks

Sergio
Previous Topic:Access root instance of grammar of all resource files in the workspace
Next Topic:Getting model elements of other file for validation
Goto Forum:
  


Current Time: Mon Aug 10 08:46:17 GMT 2020

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

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

Back to the top