Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Search for reference models in project's Maven classpath(Reference elements in models that are found in project's Maven classpath)
Search for reference models in project's Maven classpath [message #1819361] Tue, 14 January 2020 01:10 Go to next message
Oleg Cohen is currently offline Oleg CohenFriend
Messages: 28
Registered: August 2016
Junior Member
I have a grammar that is not XBase, just straight Xtext. I have reference models I would like to use in my project. How can I implement scoping/resource strategy to find all models found in the JAR files referenced in the classpath of my project? Would appreciate pointers on how it can be achieved. Thank you!
Re: Search for reference models in project's Maven classpath [message #1819374 is a reply to message #1819361] Tue, 14 January 2020 06:15 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13661
Registered: July 2009
Senior Member
I assume this should work ootb

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: Search for reference models in project's Maven classpath [message #1819393 is a reply to message #1819374] Tue, 14 January 2020 14:05 Go to previous messageGo to next message
Oleg Cohen is currently offline Oleg CohenFriend
Messages: 28
Registered: August 2016
Junior Member
This is what I thought. Is there a particular scope implementation I should be using?
Re: Search for reference models in project's Maven classpath [message #1819401 is a reply to message #1819393] Tue, 14 January 2020 15:33 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13661
Registered: July 2009
Senior Member
no. should work without any changes. either i dont get your usecase or you do something wrong when testing.

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
Previous Topic:How to Serialize Strings with line breaks?
Next Topic:Whitespace in qualified names
Goto Forum:
  


Current Time: Fri Nov 27 06:42:05 GMT 2020

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

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

Back to the top