Find/show Taverna's home directory

Created: 2010-04-12 15:11:47      Last updated: 2010-04-12 15:17:57

Find Taverna's home directory and open that folder using Explorer/Finder/Gnome.

This is the folder that is typically something like C:\Users\stain\AppData\Roaming\taverna-2.1.2, C:\Documents and settings\stain\taverna-2.1.2, /home/stain/.taverna-2.1.2 or /Users/stain/Library/Application support/taverna-2.1.2

This workflow should work on both Taverna 1 and Taverna 2.

For Taverna 2 the beanshell script uses reflection to try to call ApplicationRuntime.getInstance().getApplicationHome()

On Taverna 1 the reflection will fail, and the beanshell will simply fall back to getting the variable taverna.home.

The last three local workers will attempt to open the folder using the commands explorer (for Windows), open (for OS X) and gnome-open (for Linux). Two of these will always fail.

Information Preview

Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

Copy and paste this link into File > 'Open workflow location...'
http://www.myexperiment.org/workflows/1210/download?version=1
[ More InfoExpand ]


Information Workflow Components

Inputs (0)
Processors (4)
Beanshells (1)
Outputs (1)
Links (4)
Coordinations (0)

Information Workflow Type

Taverna 1

Information License

All versions of this Workflow are licensed under:

Information Version 1 (of 1)

Information Credits (1)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

Information Tags (3)

Log in to add Tags

Information Shared with Groups (1)

Information Featured In Packs (0)

None

Log in to add to one of your Packs

Information Attributed By (1)

(Workflows/Files)

Information Favourited By (0)

No one

Information Statistics

 

Citations (0)

None


Version History

In chronological order:



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (0)

No comments yet

Log in to make a comment




Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.