Jerzy Orlowski wrote:
> I tried it with T2 platform and it does not work:
> 
> net.sf.taverna.t2.workflowmodel.serialization.DeserializationException: 
> No top level dataflow defined in the XML document
>       at 
> net.sf.taverna.t2.workflowmodel.serialization.xml.XMLDeserializerImpl.deserializeDataflow(XMLDeserializerImpl.java:70)
>       at 
> net.sf.taverna.t2.platform.taverna.impl.WorkflowParserImpl.createDataflow(WorkflowParserImpl.java:47)
>       at 
> org.genesilico.t2workflows.WorkflowTranslator.makeTranslation(WorkflowTranslator.java:38)
>       at 
> org.genesilico.t2workflows.WorkflowTranslationTest.main(WorkflowTranslationTest.java:7)
> 
> So how do you do that in the workbench?

UI-wise, you go to File -> Open workflow... and then select a Taverna 1 
workflow.

To do it programmatically, you need to load the Taverna 1 workflow into 
a ScuflModel, translate from the ScuflModel into a Taverna 2 Dataflow 
and then run the Dataflow.  There is no way to directly run a ScuflModel 
without translation.

see net.sf.taverna.t2.compatibility.WorkflowModelTranslator

> Jurek

Alan

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to