Hello,

There are a few examples in the t2integration-testing project in the  
CVS.  eg. TranslateAndRunTest in the dataflow-invocation-testing module

Cheers,

Ian


Ian Dunlop
myGrid team
School of Computer Science
University of Manchester



On 5 Mar 2009, at 11:37, Jerzy Orlowski wrote:

> Hi
>
> Is there any manual/tutorial/code example for translating workflows?
>
> Jerzy Orlowski
>
>
>
>
>
> Marco Roos wrote:
>> Hi Tom,
>>
>> Just a thought: would it be an idea to provide translation through  
>> a web
>> site, especially when adding all the translation features to the T2
>> distribution seems not ideal? I imagine this could also be useful  
>> as the
>> conversion process could be improved without needing to upgrade T2.  
>> If
>> possible, I would appreciate it if the converter would provide  
>> specific
>> information about the workflow I am converting: errors, warnings, and
>> tips on how I could improve the converted workflow to make better  
>> use of
>> T2 features.
>>
>> At the moment, my workflows did not run in the T2 beta and I did  
>> not get
>> enough clues that I could understand as a T1 user on what the problem
>> could be. I am willing to spend some time on making my workflow  
>> work in
>> T2, but I need more to go on.
>>
>> Thanks,
>> Marco.
>>
>> Tom Oinn wrote:
>>> Hi all,
>>>
>>> In the current T2 beta we can translate T1 workflows into the  
>>> nearest
>>> equivalent T2 flow. This is, obviously, quite important.
>>>
>>> One problem though is that the way we do this now is to use the T1  
>>> code
>>> to parse the T1 definition into a T1 workflow object model, then
>>> traverse this object model to produce a T2 object model. While this
>>> works it inherits the issues with T1's workflow load and it also
>>> inherits all the dependencies! This is one reason the beta  
>>> download is
>>> so big (~100mb), you're getting all of T1 *and* all of T2.
>>>
>>> David and I were talking the other week about migrating to a version
>>> which used the skeleton of the T1 parser but generated T2 objects,
>>> basically a 'cut and paste' refactor which would then not have this
>>> issue as it would never have to load the T1 equivalent in the  
>>> first place.
>>>
>>> This has a downside - it means we'd have to enumerate the set of
>>> possible processor types in the T1 flow up front, so plug-ins we  
>>> didn't
>>> know about wouldn't translate. This is different to the current  
>>> approach
>>> where we have a translater SPI which can handle the mapping.
>>>
>>> Personally I suspect that there are a sufficiently small number of
>>> 'foreign' processor types that a) we don't already know about and b)
>>> have widespread use in scenarios where translation is critical. The
>>> benefit of not having to drag in all of T1 to load a workflow  
>>> outweighs
>>> the drawback described above. This is just my hunch though so a  
>>> question:
>>>
>>> Have you written a new processor type? If so please tell us!
>>>
>>> Tom
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win  
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in  
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> 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
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> 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


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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