Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Minimizing dependencies when deploying
Minimizing dependencies when deploying [message #1671412] Fri, 13 March 2015 15:47 Go to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member

I'm deploying an Xtext DSL on Equinox and want to minimize the set of
included (and started) plugins. I only need to parse DSL resources, and
I've created a separate DSL runtime project, that mwe generates code
into, to avoid needing depedencies that are only used when generating
the DSL. But the DSL's xtext plugin requires org.eclipse.xtext which in
turn requires emf.codegen, emf.mwe and xtend, so these are anyway needed
for my DSL plugin to resolve.

Is there a way to trim the dependencies, e.g. require a slimmer
org.eclipse.xtext.runtime plugin, to avoid this? Ideally, the plugin
dependencies should be be generated by the mwe fragments, so only the
really necessary dependencies are added.

Re: Minimizing dependencies when deploying [message #1671460 is a reply to message #1671412] Fri, 13 March 2015 16:11 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13888
Registered: July 2009
Senior Member

ain't that dependencies optional? at least they should be. thus it is a matter of tooling / how you deploy the stuff?
e.g. in tycho there is a flag to ignore opt. deps when building a product


Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :

[Updated on: Fri, 13 March 2015 16:17]

Report message to a moderator

Previous Topic:[Xbase][Eclipse] Open Type on generated source link to the DSL source
Next Topic:Error after autocomplete grammar
Goto Forum:

Current Time: Thu Apr 22 14:34:57 GMT 2021

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

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

Back to the top