Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Xtend pulls in JDT - why?
Xtend pulls in JDT - why? [message #667021] Mon, 25 April 2011 16:37 Go to next message
Volker Wegert is currently offline Volker Wegert
Messages: 169
Registered: July 2009
Senior Member
Hello,

I'm trying to reduce the size and complexity of a product that uses
Xtend and Xpand (using an embedded generator, the WorkflowRunner is
called programmatically), and I've run into the following issue. The
feature org.eclipse.xtend requires the feature org.xtend.typesystem.emf
that in turn contains the plug-ins org.xtend.typesystem.emf and
org.xtend.typesystem.emf.ui. (BTW, I didn't find it very helpful that a
non-.ui-feature contains a .ui-plug-in). The plug-in
org.xtend.typesystem.emf.ui now requires org.eclipse.jdt.core and
org.eclipse.emf.converter, amongst others. The .converter plug-in then
pulls in the emf.codegen plug-ins that in turn again require large parts
of the JDT. I end up with a rather messed up product (100 MB zipped
file) that contains parts of the JDT that appear in various locations.
At the moment, I'm trying to work around this by creating my own feature
that contains the Xtend and Xpand plug-ins, but that's less than
optimal. Is there any chance to remove the JDT dependencies or at least
make them optional?

Thanks
Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
Re: Xtend pulls in JDT - why? [message #667210 is a reply to message #667021] Wed, 27 April 2011 12:41 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1769
Registered: July 2009
Senior Member
You of course don't need the *.ui bundles.
Ignoring the features and just use the bundles should solve your problem.
Also feel free to file a bugzilla regarding the bad composition of features.

Sven

Am 4/25/11 6:37 PM, schrieb Volker Wegert:
> Hello,
>
> I'm trying to reduce the size and complexity of a product that uses
> Xtend and Xpand (using an embedded generator, the WorkflowRunner is
> called programmatically), and I've run into the following issue. The
> feature org.eclipse.xtend requires the feature org.xtend.typesystem.emf
> that in turn contains the plug-ins org.xtend.typesystem.emf and
> org.xtend.typesystem.emf.ui. (BTW, I didn't find it very helpful that a
> non-.ui-feature contains a .ui-plug-in). The plug-in
> org.xtend.typesystem.emf.ui now requires org.eclipse.jdt.core and
> org.eclipse.emf.converter, amongst others. The .converter plug-in then
> pulls in the emf.codegen plug-ins that in turn again require large parts
> of the JDT. I end up with a rather messed up product (100 MB zipped
> file) that contains parts of the JDT that appear in various locations.
> At the moment, I'm trying to work around this by creating my own feature
> that contains the Xtend and Xpand plug-ins, but that's less than
> optimal. Is there any chance to remove the JDT dependencies or at least
> make them optional?
>
> Thanks
> Volker
>


--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:T2T
Next Topic:How to remove fully qualified names to imports
Goto Forum:
  


Current Time: Wed Oct 22 05:02:43 GMT 2014

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

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