[galileo] Convert Xpand/Xtend Templates from oaw4

openArchitectureWare WorkingGroup at EclipseopenArchitectureWare moved to Eclipse Modeling as part of Galileo release. This blog series reports my experiences to migrate a huge oaw4 project. This is part 8  – you’ll find an overview of this blog series here.

oaw4 means openArchitectureWare 4.3.1oaw5 means MWE (EMFT) + Xpand (M2T) + Xtext (TMF) – more infos at oaw WorkingGroup.

In the last blog I explained HowTo migrate your oaw4 workflow files – this entry will tell you what must be changed in your Xpand (.xpt) and Xtend (.ext) templates to make them run under oaw5.


In your oaw4 Xpand templates you’ll probably find:

xpand extensions

…and in  your Xtend templates maybe it looks like this:

xtend extensions


Unser oaw5 the namespace changed and it should look this way:

xpand extensions oaw5

xtend extensions oaw5

So this was an easy part, I only had to do two Search / Replace for my Xpand (*.xpt) and Xtend (*.ext)  – Templates.

  • org::openarchitectureware::util::stdlib with org::eclipse::xtend::util::stdlib
  • org::openarchitectureware::uml2 with org::eclipse::xtend::typesystem::uml2

I have logged my Search / Replace values – for your convienence you can download this file from here.

As always control your work if there’s an org::openarchitectureware:: left.

Now we’re hopefully done with the work and it’s time to run a MWE workflow ! (hopefully successfull) My next blog entry describes what perhaps can happen…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 1,179 other followers

%d bloggers like this: