|author||Stian Soiland-Reyes <firstname.lastname@example.org>||Thu Apr 28 01:36:15 2016 +0100|
|committer||Stian Soiland-Reyes <email@example.com>||Thu Apr 28 01:36:15 2016 +0100|
Launcher for running Apache Taverna workflows.
Note that except for command line parsing, this module relies on other Apache Taverna modules for the actual workflow execution.
(c) 2007-2014 University of Manchester
(c) 2014-2016 Apache Software Foundation
This product includes software developed at The Apache Software Foundation.
The file NOTICE contain any additional attributions and details about embedded third-party libraries and source code.
Please subscribe to and contact the [dev@taverna](http://taverna.incubator.apache.org/community/lists#dev mailing list) for any questions, suggestions and discussions about Apache Taverna.
To suggest changes to this source code, feel free to raise a GitHub pull request.
Apache Taverna Command Line product relies on other Taverna component which have their own source code repositories.
Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
To build, use
mvn clean install
This will build each module and run their tests.
Note that this repository relies on other Apache Taverna modules which will be downloaded from Maven repositories if they are not already present in the equivalent of your
~/.m2/repository in the correct version.
To skip the tests (these can be time-consuming), use:
mvn clean install -DskipTests
If you are modifying this source code independent of the Apache Taverna project, you may not want to run the Rat Maven plugin that enforces Apache headers in every source file - to disable it, try:
mvn clean install -Drat.skip=true
If you are building a non-released version of this repository, (e.g. the
pom.xml declares a
-SNAPSHOT version), then Maven might download unreleased snapshot builds for internal
-SNAPSHOT Taverna dependencies.
If you want to avoid this, make sure you have built the corresponding Apache Taverna modules first. The default SNAPSHOT update policy for
mvn is daily - you can modify this behaviour with
There is a nightly build of taverna-commandline-product using the
-Pnighty profile, which produces a downloadable
taverna-command-line-product-3.1.0-incubating-SNAPSHOT-nightly.zip - this
This should in theory contain all the needed dependencies (see lib/) and an
executeworkflow.bat that can run Taverna 3 workflows.
To build a released version as a distributable ZIP file that includes third-party dependencies as JAR files, build with the
-Prelease option, which would make
taverna-commandline-product/target/apache-taverna-commandline-3.1.0-incubating-release.zip or equivalent.
See the file
target/maven-shared-archive-resources/META-INF/DEPENDENCIES for details of the licenses of the third-party dependencies. All dependencies should be compatible with Apache License 2.0.
After building, see the
taverna-commandline-product/target directory. Inside you should find a folder like
apache-taverna-commandline-3.1.0-incubating-SNAPSHOT-dev/ which contain the Apache Taverna Command Line product.
If you prefer a ZIP file, then build instead with the Maven options
-Pnightly or (for released versions)
-Prelease. You can then unzip at a location of your own choice.
$ ./executeworkflow.sh usage: executeworkflow [options] [workflow] -bundle <bundle> Save outputs to a new Workflow Run Bundle (zip). -clientserver Connect as a client to a derby server instance. -cmdir <directory path> Absolute path to a directory where Credential Manager's files (keystore and truststore) are located. ...
examples contain a Hello World type example workflow in SCUFL2 format.
$ ./executeworkflow.sh examples/helloworld.wfbundle Bundle: /tmp/robundle475236702008690452/robundle.zip Outputs will be saved to the directory: /home/johndoe/apache-taverna-commandline-3.1.0/Hello_World_output Workflow completed. $ cat Hello_World_output/greeting ; echo Hello, World!