[MWE2,XPAND] Loading workflow in OSGi w/o workspace [message #647566] |
Fri, 07 January 2011 05:22 |
Miles Parker Messages: 1341 Registered: July 2009 |
Senior Member |
|
|
Hi,
Just when I thought that I'd run into every workflow loading issue, I have a new one. I'm trying to programmatically launch a workflow from a RAP app. In this context I would be able to either a) get the workflow location from the platform resource, or b) get it from a file. But I can't get either to work.
I guess that platform resource doesn't work because I don't have a workspace(??). But I don't get why I can't get it from a file. If I use the exact same code from a standalone java app, everything works great, but if I try to do the same thing from RAP OSGi plugin UI, I get:
java.lang.IllegalArgumentException: Couldn't find module with name 'workflow.generator'.
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:63)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
There is probably something obvious I'm missing here, but I can't see it.
thanks,
Miles
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02666 seconds