Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [MWE2,XPAND] Loading workflow in OSGi w/o workspace
[MWE2,XPAND] Loading workflow in OSGi w/o workspace [message #647566] Fri, 07 January 2011 05:22 Go to next message
Miles Parker is currently offline Miles ParkerFriend
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
Re: [MWE2,XPAND] Loading workflow in OSGi w/o workspace [message #647577 is a reply to message #647566] Fri, 07 January 2011 07:00 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14729
Registered: July 2009
Senior Member
Hello Miles,

maybe you are affected by https://bugs.eclipse.org/bugs/show_bug.cgi?id=318721

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: [MWE2,XPAND] Loading workflow in OSGi w/o workspace [message #647580 is a reply to message #647577] Fri, 07 January 2011 07:35 Go to previous message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Christian Dietrich wrote on Fri, 07 January 2011 02:00
Hello Miles,

maybe you are affected by https://bugs.eclipse.org/bugs/show_bug.cgi?id=318721

~Christian


Yes, I think you're right. Sad thanks for the link, Christian.
Previous Topic:Using getValue(Stereotype, String) with Collections
Next Topic:[Xpand] Issues retrieving enumeration literal from UML stereotype property
Goto Forum:
  


Current Time: Sat Nov 09 01:49:20 GMT 2024

Powered by FUDForum. Page generated in 0.02666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top