Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to add files to the build?
How to add files to the build? [message #1733749] Tue, 31 May 2016 12:05 Go to next message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 181
Registered: July 2009
Senior Member
Assume I have 3 DSLs: A, B, C
A contains definitions of named elements ( e.g., 'x', 'y', 'z') whereas B and C have cross-references to such elements. There are no cross-references between B and C. Now, whenever I modify a B file that references, say, 'x' and 'y' in A I want to also build all C files that contain a reference to 'x' or 'y'.
I found the ToBeBuiltComputer which seems to be a place where I can add files to a build. Is this the best place to start or should I look elsewhere?
Re: How to add files to the build? [message #1733750 is a reply to message #1733749] Tue, 31 May 2016 12:10 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14655
Registered: July 2009
Senior Member
have a look at org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager.isAffected(Delta, IResourceDescription)

Twitter : @chrdietrich
Blog :
Previous Topic:Xtext hash comment problem
Next Topic:quickfix for referenced object not found
Goto Forum:

Current Time: Mon Mar 04 03:41:08 GMT 2024

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

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

Back to the top