2009/11/23 Wei Tan <[email protected]>:

>   Is it possible to prepackage some plug-ins with a given Taverna
> package, say, T2.1 beta2?
>   I assume that I need to put all the artifacts in and modify some
> configuration files.

yes, what you need to do is to run an off-the-shelf Taverna, install
the plugins the usual way.

Download and unzip the self-extracting archive or linux-version of
Taverna as the 'Taverna distribution' - we'll zip this up again later.


Then copy plugins/plugins.xml  (and plugin-sites.xml - to get updates)
from C:\Users\stain\AppData\Taverna-2.1b2\plugins\ (or equivalent for
your OS) into the plugins\ folder of the new Taverna distribution.

This should make the distribution add your plugin as built-in, but it
would then require to download the JARs on first startup.

To avoid this, we'll also bundle the JARs (and POMs), so just copy the
content of the equivalent to
C:\Users\stain\AppData\Taverna-2.1b2\repository\ into the repository\
folder of the Taverna distribution.


To test if this will work out of the box, simply delete your whole
C:\Users\stain\AppData\Taverna-2.1b2 folder and run Taverna from the
distribution directory.


Note that if you want to package up Taverna for the different
operating systems there are different tricks needed. You could make a
'general' download by keeping both taverna.exe and taverna.sh in the
same folder (copying them from the different distros).

For a proper OS X application you would need to modify the disk image
and copy the plugins and repository folders into
Taverna.app/Content/Resources/Java and make a new disk image - as this
would increase the disk image size you might have to do some tricks in
Disk Utillity with conversion and resizing (or simply make it from a
new folder, but then you would miss out on the Finder background
picture!)

To make the Windows installer you will need to use NSIS with the
proper .nsis file, see our Subversion repository for the one used for
the release, like under

http://taverna.googlecode.com/svn/taverna/products/net.sf.taverna.t2.taverna-workbench/tags/taverna-workbench-2.1-beta-2/



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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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