Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: [XTEXT] generators and includes
Re: [XTEXT] generators and includes [message #482079] Tue, 25 August 2009 10:32
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Patrick,

the easiest way is to package a complete distribution for your clients,
but this may be somewhat oversized depending on the number of your
plugins and their dependencies. Another solution is a feature, that
contains the Xtext runtime feature. Clients who install your feature
will automatically get the Xtext runtime layer without all this UI stuff
like "new Xtext project".

I think their are various tutorials out there about how to package
plugins into a product or whatever you like. At the moment, there is no
step by step tutorial available as part of the Xtext documentation, but
we are working on something like this. See here:

The WorkflowAntTask is somewhat complicated because it does not use the
classloader from the environment (even if you can pass it). Therefore
it's most likely that you'll have to wait for the 0.8.0M2 of EMFT before
you can use it in an OSGi environment, as we changed the packaging
recently to ease the usage of this task from the very same OSGi
instance. Maybe someone from the EMFT newsgroup can jump in and explain
this a little bit more detailled? The short answer is most probably: If
you can avoid to use this AntTask from within the OSGi environment, you
should try to do so.

Hope that helps,
Need professional support for Eclipse Modeling?
Go visit:

Am 25.08.09 01:21, schrieb Patrick Conrad:
> Thanks guys, I think I got that part. I'm trying to figure out how to
> deploy the plugin. Unfortunately, I'm new to eclipse development, so
> this is turning out to be more of a project than I expected.
> First, I need to create a button or context menu that will compile that
> file using the generator. I've figured out how to make a context menu,
> but I'm having a hard time attaching the generator. Even though I have
> the full emf xtext sdk installed, it can't find
> org.eclipse.emf.mwe.core.ant.WorkflowAntTask. I also tried to install
> the mwe specifically, but it doesn't find it. (I'm trying to follow
> to run the mwe from my menu
> callback)
> Additionally, I'm having a hard time figuring out how to set up all the
> paths between the mwe and expand files in the project and my custom
> files running through the plugin, especially given that some of the
> expand portions need uris.
> Along those lines, is there a standard way to package up the plugins?
> Will my users have to separately install xtext and the other dependencies.
> It just seems like these should be very standard things that many users
> of xtext would need to do, and I would be very appreciative if anyone
> can explain how they're done.
Previous Topic:Non-containment references EMF reflective model editor
Next Topic:Re: [XTEXT] generators and includes
Goto Forum:

Current Time: Tue Mar 05 12:10:00 GMT 2024

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

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

Back to the top