Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [XPand] How does mwe workflow engine find custom components?
[XPand] How does mwe workflow engine find custom components? [message #881363] Mon, 04 June 2012 08:12 Go to next message
Eclipse UserFriend
Hello everyone,

I'm running a *.mwe-workflow from inside my program. This workflow contains several custom components, therefore classes which extend "org.eclipse.emf.core.lib.AbstractWorkflowComponent".

I have two such workflow component classes (in two different independent eclipse projects!) which accidentally share the same qualified name, but do different things since they are related to different projects.

Now, when I'm running the workflow, it seems that the workflow runner always chooses the same component class, regardless of which of the two projects is executed.

Which brings me to my questions:
- How does the workflow executor find the custom workflow component classes? Where does it look first?
- Can the search space be narrowed down, e.g. to the contents of a single project?


Thanks,


Alan
Re: [XPand] How does mwe workflow engine find custom components? [message #892687 is a reply to message #881363] Fri, 29 June 2012 04:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alan,

the classes are resolved through the Classpath, so it depends on the order in the Classpath which class will be picked first.

Regards,
~Karsten
Re: [XPand] How does mwe workflow engine find custom components? [message #892692 is a reply to message #892687] Fri, 29 June 2012 04:52 Go to previous message
Eclipse UserFriend
Hello Karsten,

thanks for your response - this knowledge will certainly be useful for our project!

Regards,

Alan
Previous Topic:[Acceleo] Metamodel resolving and URI
Next Topic:is there an Xpand Hibernate cartridge?
Goto Forum:
  


Current Time: Wed Jul 02 19:47:00 EDT 2025

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

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

Back to the top