taverna-commandline-product
Taverna Command Line product build and installers
Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.9%) to scientific vocabulary
Repository
Taverna Command Line product build and installers
Basic Info
- Host: GitHub
- Owner: taverna
- License: lgpl-2.1
- Language: Python
- Default Branch: core
- Homepage: http://dev.mygrid.org.uk/wiki/display/developer/Taverna+products
- Size: 881 KB
Statistics
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Taverna command line tool
Taverna Command Line product build and installers
Released by myGrid
(c) Copyright 2005-2014 University of Manchester, UK
Introduction
This repository is a Maven source code trees that do not themselves contain any code, but which are used to assemble the distribution, add launchers and configurations files, and package this as installers.
You can think of a product as the last build step before having a downloadable/executable software distribution. Each product includes their required code from the common Taverna source code, by retrieved the compiled JARs from the myGrid Maven repositories unless they have already been built locally with Maven.
This is the build product for the standalone Taverna Command Line tool.
In most cases you do not need to compile Taverna, instead you can download the official distribution for your operating system from the Taverna download pages.
For usage of this product, see the Command Line Tool documentation.
Editions
This repository have several "edition" branches, one for each domain-specific builds. Each domain-specific build extends the core branch by modifying the plugin set (and ensuring the repository folder is populated for those plugins), but may also modify configurations such as the default service sets.
Branches:
-
core- for any domain - general activities (WSDL, REST, Beanshell, Component, Interaction, etc) - also basis for the other branches (can be considered the 'master' or 'trunk' branch) -
bioinformatics- formerly maintenance, adds BioMart, BioMoby, Soaplab, corresponding default services and BioCatalogue -
digitalpreservation- core + WebDAV -
biodiversity- core + WebDAV + BioDiversityCatalogue -
astronomy- core + AstroTaverna -
enterprise- core with all possible plugins
To check which edition you are building, verify these bits of pom.xml:
<artifactId>taverna-commandline-${edition}</artifactId>
<name>Taverna command line utility [${edition}]</name>
<properties>
<edition>core</edition>
For more information, see http://dev.mygrid.org.uk/wiki/display/developer/Taverna+products
Creating a new edition
To create a new edition, make a new branch based on core and modify the above line(s).
You would then typically also modify src/main/resources/plugins/plugins.txt
and add the <dependency> sections from the new plugin(s) to the pom.xml so that
the new plugin is added to the generated repository/ folder.
Note: You MUST use <scope>test</scope> in pom.xml for the added
<dependency> blocks to avoid adding them to the lib/ folder, which would
bypass the plugin-system and potentially cause conflicts with other parts of
Taverna.
To verify the build, run executeworkflow.sh. A new user home directory
for your edition should be created, e.g.
~/.taverna-commandline-astronomy-2.5-snapshot/ for the astronomy edition.
Often when adding plugins, Maven will not download all the same versions
required at runtime by Taverna's plugin system Raven. The first execution
of executeworkflow.sh will download these to the repository folder
of the edition-specific user home directory.
To avoid this download phase for other users and permanently add these "missing" pieces, try:
stain@biggie:~$ cd .taverna-commandline-astronomy-2.5-snapshot/repository/
stain@biggie:~/.taverna-commandline-astronomy-2.5-snapshot/repository$ find . -type f > ~/files
stain@biggie:~/.taverna-commandline-astronomy-2.5-snapshot/repository$ cat ~/files
./org/slf4j/slf4j-parent/1.6.1/slf4j-parent-1.6.1.pom
./org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
./org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.pom
There is a Python script that will read files from the current directory and show the
XML that needs to be added to pom.xml:
stain@biggie:~$ python src/taverna-commandline-product/src/main/python/generateArtifactItems.py
<artifactItem>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
<version>1.6.1</version>
<type>pom</type>
<outputDirectory>${project.build.directory}/repository/org/slf4j/slf4j-parent/1.6.1</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/repository/org/slf4j/slf4j-api/1.6.1</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
<type>pom</type>
<outputDirectory>${project.build.directory}/repository/org/slf4j/slf4j-api/1.6.1</outputDirectory>
</artifactItem>
Now copy and paste to add those artifactItem blocks within the
beginng (or end) of the <artifactIems> block in pom.xml.
To verify, now the repository folder should be empty:
mvn clean package
rm -rf ~/.taverna-commandline-astronomy-2.5-snapshot
cd target
unzip *.zip
cd *SNAPSHOT
sh executeworkflow.sh
find ~/.taverna-commandline-astronomy-2.5-snapshot/repository
Licence
Taverna is licenced under the GNU Lesser General Public Licence. (LGPL) 2.1. See the file LICENSE.txt or http://www.gnu.org/licenses/lgpl-2.1.html for details.
If the source code was not included in this download, you can download it from http://www.taverna.org.uk/download/workbench/2-5/#download-source or http://www.taverna.org.uk/download/source-code/
If you installed a OS-specific distribution of Taverna it may come bundled with a distribution of OpenJDK. OpenJDK is distributed under the GNU Public License (GPL) 2.0 w/Classpath exception. See jre/LICENSE.txt or http://hg.openjdk.java.net/jdk7u/jdk7u/raw-file/da55264ff2fb/LICENSE for details.
Taverna uses various third-party libraries that are included under compatible open source licences such as the Apache Licence.
Building
First, make sure you have checked out the edition you want to build.
Build requirements: * Java JDK 7 or OpenJDK 7 * Apache Maven 3.x * Install4j (optional)
The below will assume you want to build the core edition.
git fetch --all # fetch all branches/editions
git checkout core # replace 'core' with your edition
mvn clean package
The packaging will take several minutes. The first time, this might take up to an hour as several libraries are downloaded from Maven repositories.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:39.145s
[INFO] Finished at: Thu Feb 27 01:06:08 GMT 2014
[INFO] Final Memory: 47M/1200M
[INFO] ------------------------------------------------------------------------
After a successful build, the file
target/taverna-commandline-core-2.5-SNAPSHOT.zip (or equivalent) contains
the platform-independent distribution of the Taverna Command Line Tool.
Installers
If you would like to build the platform-specific installers, you will need an installation of Install4j.
First configure Maven to find your Install4j installation.
stain@biggie:~$ cat .m2/settings.xml
<settings>
<profiles>
<profile>
<id>dist</id>
<properties>
<install4j.home>/opt/install4j5</install4j.home>
</properties>
</profile>
</profiles>
</settings>
Start install4j to install your license key or run a 30-day trial, then quit the user interface.
To generate the installers, run:
mvn clean package -Pdist
This process can take anything from 2 minutes to 30 minutes depending on your
hardware. You can speed up the process by adding
install4j-maven-plugin
parameters, for instance generating only the Windows 64-bit installer with
-Dinstall4j.buildIds=winx64. The buildIds are:
- winx64 (Windows .exe 64-bit)
- wini386 (Windows .exe 32-bit)
- osx (Mac OS X)
- linux_amd64 (Debian .deb x64)
- linuxx8664 (Redhat .rpm x64)
- standalone (Windows .zip)
- unix.tar (Unix .tar.gz)
Note that on first execution, this will also download OpenJDK binaries for embedding in OS-specifc installers. OpenJDK is licensed as GPL 2.1 with Classpath exception.
The media/media folder will contain installers for different operating systems.
stain@biggie:~/src/net.sf.taverna.t2.taverna-commandline$ ls target/media/
md5sums
output.txt
taverna-commandline-core-2.5-SNAPSHOT-linux_amd64.deb
taverna-commandline-core-2.5-SNAPSHOT-linux_x86_64.rpm
taverna-commandline-core-2.5-SNAPSHOT-macos.tgz
taverna-commandline-core-2.5-SNAPSHOT-unix.tar.gz
taverna-commandline-core-2.5-SNAPSHOT-windows-x64.exe
taverna-commandline-core-2.5-SNAPSHOT-windows-x86.exe
taverna-commandline-core-2.5-SNAPSHOT.zip
updates.xml
For more information on Taverna installers, see http://dev.mygrid.org.uk/wiki/display/developer/Taverna+installers
Support
See http://www.taverna.org.uk/about/contact-us/ for contact details.
You may email support@mygrid.org.uk for any questions on using Taverna workbench. myGrid's support team should respond to your query within a week.
Owner
- Name: Taverna 2.x
- Login: taverna
- Kind: organization
- Email: dev@taverna.incubator.apache.org
- Location: Open source project
- Website: http://taverna.incubator.apache.org/
- Repositories: 92
- Profile: https://github.com/taverna
Archive of Taverna 2 (before Apache Taverna)
Citation (CITATION.txt)
Wolstencroft, K., Haines, R., Fellows, D., Williams, A., Withers, D.,
Owen, S., Soiland-Reyes, S., Dunlop, I., Nenadic, A., Fisher, P., Bhagat, J.,
Belhajjame, K., Bacall, F., Hardisty, A., Nieva de la Hidalga, A.,
Balcazar Vargas, M.P., Sufi, S., and Goble, C. 2013.
The Taverna workflow suite: designing and executing workflows of Web Services
on the desktop, web or in the cloud. Nucl. Acids Res. gkt328v1
http://doi.org/doi:10.1093/nar/gkt328
@article{Wolstencroft02052013,
author = {Wolstencroft, Katherine and Haines, Robert and Fellows, Donal and Williams, Alan and Withers, David and Owen, Stuart and Soiland-Reyes, Stian and Dunlop, Ian and Nenadic, Aleksandra and Fisher, Paul and Bhagat, Jiten and Belhajjame, Khalid and Bacall, Finn and Hardisty, Alex and Nieva de la Hidalga, Abraham and Balcazar Vargas, Maria P. and Sufi, Shoaib and Goble, Carole},
title = {The {Taverna} workflow suite: designing and executing workflows of {Web Services} on the desktop, web or in the cloud},
year = {2013},
doi = {10.1093/nar/gkt328},
abstract ={The Taverna workflow tool suite (http://www.taverna.org.uk) is designed to combine distributed Web Services and/or local tools into complex analysis pipelines. These pipelines can be executed on local desktop machines or through larger infrastructure (such as supercomputers, Grids or cloud environments), using the Taverna Server. In bioinformatics, Taverna workflows are typically used in the areas of high-throughput omics analyses (for example, proteomics or transcriptomics), or for evidence gathering methods involving text mining or data mining. Through Taverna, scientists have access to several thousand different tools and resources that are freely available from a large range of life science institutions. Once constructed, the workflows are reusable, executable bioinformatics protocols that can be shared, reused and repurposed. A repository of public workflows is available at http://www.myexperiment.org. This article provides an update to the Taverna tool suite, highlighting new features and developments in the workbench and the Taverna Server.},
URL = {http://nar.oxfordjournals.org/content/early/2013/05/02/nar.gkt328.abstract},
eprint = {http://nar.oxfordjournals.org/content/early/2013/05/02/nar.gkt328.full.pdf+html},
journal = {Nucleic Acids Research}
}
GitHub Events
Total
Last Year
Dependencies
- log4j:log4j 1.2.14
- net.sf.taverna.t2.taverna-workbench:taverna-product-common ${t2.taverna.workbench.version}
- net.sf.taverna.t2.activities:common-activities ${t2.activities.version} test
- net.sf.taverna.t2.activities:interaction-activity ${t2.activities.version} test
- net.sf.taverna.t2.component:component-activity ${t2.activities.version} test
- net.sf.taverna.t2.taverna-commandline:taverna-commandline-common ${t2.taverna-commandline.version} test