embedded XPand tools in an application [message #543566] |
Tue, 29 June 2010 15:53  |
Eclipse User |
|
|
|
Hello,
As I designed a language using XText and have some XPand templates and an MWE workflow to generate some codes, I would like now to create an external application (in java) that takes an input file written using my DSL, and that output the result of the workflow.
I want to do that without Eclipse, of course, just assuming the Jar executable run on a machine that just have a java VM.
Is it possible, and if yes how?
Thanks!
Matthieu
|
|
|
Re: embedded XPand tools in an application [message #544653 is a reply to message #543566] |
Mon, 05 July 2010 04:06  |
Eclipse User |
|
|
|
Matthieu schrieb:
> Hello,
>
> As I designed a language using XText and have some XPand templates and
> an MWE workflow to generate some codes, I would like now to create an
> external application (in java) that takes an input file written using my
> DSL, and that output the result of the workflow.
>
> I want to do that without Eclipse, of course, just assuming the Jar
> executable run on a machine that just have a java VM.
>
> Is it possible, and if yes how?
Yes. See
http://zarnekow.blogspot.com/2010/06/how-to-deploy-xtext-sta ndalone.html
for the easiest way to package it.
org.eclipse.emf.mwe.core.WorkflowRunner (for mwe) as well as
org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher (for mwe2) can be
called from command line.
Sven
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
|
|
|
Powered by
FUDForum. Page generated in 0.03386 seconds