On Tue, Mar 16, 2010 at 14:51, Paul Gordon <[email protected]> wrote:
> Is there any chance Taverna could accept a workflow file as a command
> line argument?  In that way, when a user double clicks on a workflow
> file in Windows, it would open it (assuming the file association is made
> too)?

This is certainly a good idea, and something we've wanted for a long
time. Since Taverna 2 we've been using a 'proper' file extension
.t2flow (instead of .xml which can really be anything), and it should
be possible to do.

You would typically do it via a dispatcher that communicates to or
starts the real Taverna workbench, as otherwise you would get a
duplicate workbench per file you open. (Alternatively the launch
process would do a very-early test for which Taverna is already
running, but it would probably have to be before Raven, as it would
not be fun to wait for a second splashscreen just for opening a
workflow).

This is recorded as a bug
http://www.mygrid.org.uk/dev/issues/browse/TAV-650 (note that that bug
report is written around T1) - but we've not had time to investigate
it. Anyone who wants to volunteer..? Java should be able to help you
along the way, and we can get help from our OS X application bundle
and Windows installer to make the actual association of the extension.

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to