| Problem running WorkflowRunner from java. [message #524053] |
Tue, 30 March 2010 09:30  |
Syed Imran Messages: 25 Registered: October 2009 Location: Ireland |
Junior Member |
|
|
Hi All,
When i call the the class from my GMF-editor where i have have written the method to call workflow by using WorkflowRunner the code is not generated
new WorkflowRunner().run(workflowFile, new NullProgressMonitor(), new HashMap(), new HashMap());
Although when i run the workflow.oaw using Run as -> oAW Workflow then the code is there.
Any idea why is this happening, secondly the STACK (INFO)is in red color in console rather then black.
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.WorkflowRunner prepare
INFO: ------------------------------------------------------------ --------------------------
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.WorkflowRunner prepare
INFO: openArchitectureWare 4.x Development
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.WorkflowRunner prepare
INFO: (c) 2005-2008 openarchitectureware.org and contributors
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.WorkflowRunner prepare
INFO: ------------------------------------------------------------ --------------------------
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.WorkflowRunner prepare
INFO: running workflow: ../Analysis.diagram/src/workflow.oaw
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.WorkflowRunner prepare
INFO:
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.container.CompositeCompone nt internalInvoke
INFO: XmiReader(xmiParser): file 'E:/Eclipse_workspace/runtime-New_configuration/Allah/exampl e.analysis' => slot 'model'
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.container.CompositeCompone nt internalInvoke
INFO: DirectoryCleaner(dirCleaner): cleaning directory 'srccode, srccode'
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.common.DirectoryCleaner invokeInternal
INFO: Cleaning C:\Documents and Settings\S. Imran\srccode
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.common.DirectoryCleaner invokeInternal
INFO: Cleaning C:\Documents and Settings\S. Imran\srccode
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.container.CompositeCompone nt internalInvoke
INFO: Generator(generator): generating 'template::Root::Root FOR model' => srccode/
Mar 30, 2010 2:22:42 PM org.openarchitectureware.xpand2.Generator invokeInternal2
INFO: Written 1 files to outlet [default](srccode/)
Mar 30, 2010 2:22:42 PM org.openarchitectureware.workflow.WorkflowRunner executeWorkflow
INFO: workflow completed in 16ms!
|
|
|
| Re: Problem running WorkflowRunner from java. [message #524058 is a reply to message #524053] |
Tue, 30 March 2010 09:51   |
MaximeLecourt Messages: 108 Registered: February 2010 Location: France |
Senior Member |
|
|
| Quote: | INFO: Written 1 files to outlet [default](srccode/)
|
Seems like there is an output file, but it might not be where you expect it.
It's always written in red.
Compare with the message you get running the workflow directly, it may help.
One day I shall master M2T, but that day has yet to come...
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02122 seconds