[Xpand] Running MWE workflow with Xpand generator outside eclipse? [message #896499] |
Wed, 18 July 2012 14:37 |
Alan DW Messages: 119 Registered: March 2012 |
Senior Member |
|
|
Hello everyone,
I'm developing a plain Java standalone application. It is not an Eclipse RCP application and not an Eclipse plugin.
I have a MWE workflow file (including an XPand generator) which I would like to use in that application. However, when I attempt to run the MWE workflow in my application (using org.eclipse.emf.mwe.core.WorkflowRunner), it prints its typical header message to console and then *freezes* and does nothing more. No error, no exception, no message - nothing which would be any help in problem diagnostics.
Do I need to do anything particular when running a workflow outside eclipse compared to what needs to be done from within an Eclipse-plugin? The very same workflow used to run fine when started from inside an eclipse plugin...
Greets,
Alan
[Updated on: Wed, 18 July 2012 14:39] Report message to a moderator
|
|
|
|
Re: [Xpand] Running MWE workflow with Xpand generator outside eclipse? [message #896670 is a reply to message #896499] |
Thu, 19 July 2012 10:55 |
Alan DW Messages: 119 Registered: March 2012 |
Senior Member |
|
|
Hello,
thank you for your response, Christian.
Yesterday, to keep things simple, I did not tell the whole story here. I'm actually not developing a standalone Java program, but a plugin for MagicDraw (which is, in turn, a standalone Java application).
Your post reinforced my belief that the workflow engine should work even outside eclipse. So I did some quick testing on a *real* standalone Java program (with the same workflow) and I got some errors about classes not being found, which did not show up for some reason in the MagicDraw plugin. So, I've added the required JAR files to my classpath, and it worked out (there are some smaller issues but I think I can fix them).
When I added the same libraries to the MagicDraw plugin, it finally stopped freezing and showed me some exception message that I can deal with - anything is better than no message at all.
Thank you for your help, I will try to fix the remaining errors, maybe I'll post here if I encounter more problems along the way.
Greets,
Alan
|
|
|
|
Powered by
FUDForum. Page generated in 0.03353 seconds