openArchitectureWare moved to Eclipse Modeling as part of Galileo release. This blog series reports my experiences to migrate a huge oaw4 project. This is part 9 - you’ll find an overview of this blog series here.
Now if you carefully did all needed steps its time to run the workflows.
Run Configurations …
It’s nearly the same as in oaw4, where you had oaw – Run Configurations…
The workflow files are renamed into .mwe and so are the Run Configurations… :
Because of the name – changes your old oaw4 configurations are lost. But new mwe workflow configurations are automatically created for you if you run a workflow using right-mouse-click on your MWE workflow file: Run AS … MWE Workflow:
Dont forget to adjust the VM arguments:
the defaults are too low for large workflows ! I prefer:
Performance executing workflows different between oaw4 and oaw5 ?
I made many runs of different workflows using oaw4 and oaw5. From my experiences I noticed:
- workflows with heavy manipulating of UML2 models run nearly the same speed
- workflows mainly manipulating EMF models and only ‘reading’ UML2 models run significantly faster: 30% – 50% faster
- switching from Java 1.5 to Java 1.6 under OSX Cocoa 64-bit slightly faster: about 10% (I tested this only under oaw5)
My hope was that also UML2 processing runs much faster under oaw5 – will do some more tests which parts are slow. (of course I’m using cached etc)
Problems with FeatureConfigs ?
oaw4 FeatureConfig was not migrated to oaw5 – please read in this blog what to do.
Problems with logging ?
Xtend, Xpand, Check have Require-Bundle – dependencies to org.apache.commons.logging,
Xtext has a Require-Bundle dependency to org.eclipse.xtext.log4j – a bundle wich itself exported log4j packages.
So you are lost if you’re using another logging framework :-(
Problems reading UML2 with Profiles ?
If you are in trouble with UML2 + Profiles models, then perhaps you run into a problem using MWE EMF Reader
(see Bugzilla 284464)
Same code generated from oaw5 compared with oaw4 ?
Using the XMIReader as workaround (see above) inserts some (harmless) into EMF models after M2M:
the blue marked (xsi:…) code was not in oaw4 code.
To compare the code its easy with DeltaWalker (an Eclipse application) to compare whole folders:
finally the generated code was the same :-)
Problems exporting MagicDraw EMF – UML2 – XMI ?
There’s a Bugzilla about problems using the Debugger: Bugzilla 283076.
Still problems ?
I hope that my migration guide helped you to successfully migrate your projects from oaw4 to oaw5.
If you still have problems use Comments for your questions – they are enabled on all entries of this blog series.
If problems remain or you need help – you know I’m an Independent Software Architect and its my profession to help others to have success ;-)
Non – technical stuff
Uaing oaw4 it was easy – there was one http://openarchitectureware.org homepage where you found all what you need including a forum.
Now you have to learn where to find all parts of oaw5 at Eclipse Modeling Projects. This will be the Topic of the next blog and the last one will be a short summery.