Alan Williams wrote:
> 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.
>   
That is what I used to get into it...
But it does not tell you anything about the input and output.
input and output are handled as Map<String, DataThing>...
the javadoc for "DataThing" is not very informative on how to work with 
this class...
For example what actually the factory-bake method will do...
>   
>> 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.
>
>   
see above
>> 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.
>   

Great! At least I can work with that now.
But I still wounder how data is encoded here...

<b:dataElement lsid=""> 
<b:dataElementData>L2hvbWUvcHJvai9rZXJuZXIvZGlwbG9tL3Rlc3RmaWxlcy90ZXN0LnR4dA==</b:dataElementData>
</b:dataElement>

> 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>
>
>   
But where can I find the binaries jar files?
I would like to avoid building it all from source...
Anyway I dont understand how the Taverna application gets these jar files...
They are not included in the package you can download and run.
I assume it will download them...
But from where?
>> Regards,
>> Alex
>>     
>
> Alan
>   
Alex
> ------------------------------------------------------------------------------
> 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
>   

------------------------------------------------------------------------------
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

Reply via email to