Alexander Kerner wrote: > Hello everyone, > > I'm trying to execute a Taverna workflow programmatically. > The tutorial for that is very helpful! > > http://www.mygrid.org.uk/usermanual1.7/executeworkflowprogram_source.html
You may want to look at the code of org.embl.ebi.escience.scufl.tools.WorkflowLauncher.java It is more complicated than the example, but it does allow the specification of individual input values from files. > But I still have some questions: > > 1) What about the input(s) and output(s) for a workflow? > Apparently they are stored as XML-File. Yes they are stored in a "Baclava" file. > Is there any information on how these files are organized in detail? I don't think so. > How can I export inputs and outputs from Taverna? When you have entered the input values, before you click the "Run workflow" button, you can click "Save Input Doc". That will save your input values to a file in a form that can later be re-used. For outputs, once the workflow has run, you can click "Save as XML" and save the output values to a file. Note that with the code in org.embl.ebi.escience.scufl.tools.WorkflowLauncher.java you can load and save individual outputs. > 2) The tutorial currently is about version 1.6 of Taverna. > What about version 2.0 ? Does it bring any changes? At the moment there is no stand-alone running for Taverna 2.0 That should change shortly. > 3) Execution of workflows require some jar-Files, such as > "baclaca-core", "taverna-core", "raven" etc. > Where can i get these? All of the Taverna 1 sourcecode is at http://taverna.cvs.sourceforge.net/viewvc/taverna/taverna1.0/ The repositories where for the maven artifacts should be specified in the pom.xml for WorkflowLauncherWrapper. One repository is <repository> <releases /> <snapshots> <enabled>false</enabled> </snapshots> <id>mygrid-repository</id> <name>myGrid Repository</name> <url>http://www.mygrid.org.uk/maven/repository</url> </repository> > Regards, > Alex 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-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/taverna-users Documentation: http://www.mygrid.org.uk/usermanual1.7/ FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq Biological Services: http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices
