-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello,
What I meant was that with taverna-language I can build a workflow but I wasn't then sure how to run it. The commandline seems like an important part of the Taverna puzzle so thanks for clearing up some of my confusion. Cheers, Ian On 21/09/2015 12:29, Stian Soiland-Reyes wrote: > I am not sure what is the relation to the release.. you mean > taverna-language? That can do these things: > > https://github.com/apache/incubator-taverna-language/blob/master/READM E.md > > e.g. a Java API for dealing with Taverna workflow definitions and > RO bundles. > > It can't run workflows - that is as you found the > taverna-commandline. > > > > > the taverna-commandline-product does not build an executable *.jar > (that is an unfortunate side-effect), but a ZIP/tar.gz > distribution that includes the command line and all required jars. > > Some of the README content from the 2.5.0 release might help, and > the relevant bits probably could be added to the README.md of > incubator-taverna-commandline > > > https://github.com/apache/incubator-taverna-commandline/tree/old/taver na-commandline-product-core-2.5.0.1 > > although the talk about 'editions' no longer apply, as we agreed > not to do so for 3.0. > > > After building taverna-commandline-product you should find a folder > like > target/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT-dev > > > You can make the archives by using -Pnightly or -Prelease > > > > This didn't run though.. > > stain@biggie:~/src/taverna/incubator-taverna-commandline/taverna-comma ndline-product/target/apache-taverna-commandline-3.1.0-incubating-SNAPSH OT-dev/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT$ > > sh executeworkflow.sh > Error: Unable to access jarfile > /home/stain/src/taverna/incubator-taverna-commandline/taverna-commandl ine-product/target/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT- dev/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT/lib/org.apache. taverna.commandline/taverna-commandline-launcher-3.1.0.incubating-SNAPSH OT.jar > > It was because 3.1.0.incubating should be 3.1.0-incubating - and > this was hardcoded in src/main/etc/executeworkflow.sh and > executeworkflow.bat - which will be tricky when we are doing a > release. > > Also the launcher tried to run > uk.org.taverna.commandline.TavernaCommandLine as its mainClass, so > I fixed the pom.xml > > > Now: > > stain@biggie:~/src/taverna/incubator-taverna-commandline/taverna-comma ndline-product/target/apache-taverna-commandline-3.1.0-incubating-SNAPSH OT-dev/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT$ > > sh executeworkflow.sh > OpenJDK 64-Bit Server VM warning: ignoring option > MaxPermSize=400m; support was removed in 8.0 usage: executeworkflow > [options] [workflow] > > > > On 15 September 2015 at 12:10, Ian Dunlop > <[email protected]> wrote: Hello, > > What exactly can you do with the software we released? Are there > any examples. I'm trying to get to the stage where I can run a > workflow using the commandline tool. I guess you have to download > the commandline code from > https://github.com/apache/incubator-taverna-commandline and install > it and then you can run the executeworkflow script which is in > taverna-commandline-product\src\main\etc\ The script looks for java > %ARGS% -jar > "/lib/org.apache.taverna.commandline/taverna-commandline-launcher-3.1. 0. > > incubating-SNAPSHOT.jar" > > I can find that JAR file inside > taverna-commandline-product\target\ but cannot run it since it > seems to have no manifest file "no main manifest attribute" > > So, why is the manifest file missing and what mvn goal is needed > to generate the lib directory that the script expects? > > Cheers, > > Ian > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWAAKCAAoJEPK45GBX+Cy5hH0H/1Pfj4khyIBylIJXdwW007eV 0or9pyKyk2/NOX66BtGAdnLC/+F9SNmXAZRF/xKCyGKi456wr7dYz7ktQFaYTTKx gyWCah95UpAhpXPkA4EaJYMUyi3eY4Iua0l7WuHV9DmcgvE8NFRcCH/cCNhykJJg 1YE+jvaaEZtRxnyj+PzzVgBXbbiRWZ5s9tfuahkBKbM8XYUzh67FHYyaYHWyrfQ7 159/gWktBw4o9GEV9HlMGfXYN5d0vvGVvi4wk6WokDfy51Zy28/tMDbnW+KcQ38A Ai6qQdRaVaKMJGPLCrll39krQrvwu8VrJMNW/TQXUHdElP8/BKcb3g0eDOrgeoM= =3ecR -----END PGP SIGNATURE-----
