|[oAW] Command line access to Xtend language [message #578462]
||Mon, 16 April 2007 20:36
Originally posted by: norman.astro.gla.ac.uk|
[I was redirected here from eclipse.modeling.m2m]
I've been pointed towards oAW, and its transformation support, by an
enthusiastic, but geographically distant, colleague. The Xtend
language looks useful, and I'd like to play around with it. I'm aiming
to transform UML models, expressed in XMI, to other formats, most
specifically OWL/RDF (which has an XML serialisation); Xtend appears to
be a good way of doing that, which means I don't have to worry about
subtleties of, or changes in, the XMI spec.
I'm not sure how to get started, though, since the tutorials on
<http://www.eclipse.org/gmt/oaw/doc/>, though all look excellent, all
appear to assume that you're using Eclipse. There are hints towards the
end of the Extend Language Reference that you can call Extend from Java,
but with the implication that you would write the corresponding few-line
main program yourself, which suggests I'm missing something.
The Workflow Reference mentions a
org.openarchitectureware.workflow.WorkflowRunner, but that class isn't
in any obvious place within the SDK download (it's not
in plugins/org.openarchitectureware.workflow_4.1.2.v20070314.ja r, for
example). The emfExample tutorial doesn't mention this.
Similarly, the `Getting Started with oAW 4.1' screencast is expressed in
terms of Eclipse.
Am I missing a tutorial, or is the workflow reference the only guidance
on how to get started with Xtend on the command line?
(By the way, is it `Extend' or `Xtend'?)
Thanks for any pointers. Best wishes,
Norman Gray : http://nxg.me.uk
Powered by FUDForum
. Page generated in 0.02759 seconds