You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/07/21 12:29:55 UTC

[1/5] incubator-taverna-language git commit: Readme update

Repository: incubator-taverna-language
Updated Branches:
  refs/heads/master 70720f821 -> 7e65ca44f


Readme update

Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/9a4f3355
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/9a4f3355
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/9a4f3355

Branch: refs/heads/master
Commit: 9a4f3355d0528d4afbbefa69db7e28c93928a995
Parents: 70720f8
Author: Menaka Madushanka <me...@gmail.com>
Authored: Mon Jul 20 22:39:49 2015 +0530
Committer: Menaka Madushanka <me...@gmail.com>
Committed: Mon Jul 20 22:39:49 2015 +0530

----------------------------------------------------------------------
 taverna-language-commandline/README.md | 45 +++++++++++++++++++++++++++--
 1 file changed, 43 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/9a4f3355/taverna-language-commandline/README.md
----------------------------------------------------------------------
diff --git a/taverna-language-commandline/README.md b/taverna-language-commandline/README.md
index 1c22526..31e3d42 100644
--- a/taverna-language-commandline/README.md
+++ b/taverna-language-commandline/README.md
@@ -14,6 +14,7 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
+
 # Apache Taverna Language Command Line
 
 
@@ -92,7 +93,47 @@ To build, run:
 
 # Documentation
 
-_TODO_
+Taverna language command line tool is for access the features of the Taverna language modules. 
+The tool has following functionalities.
+
+* Conversion
+* Inspection
+* Validation and Viewing workflow statistics.
+	
+## Command line structure 
+	
+	tavlang <command> <options> [arguments and parameters]
+	
+Each command has it's own set of options.
+
+###Commands and Options
+The tool has following major commands.
+
+* convert
+* inspect
+* validate
+* stats
+
+##### Convert
+
+	Usage:
+	tavlang convert <--output_fomat> <options> [arguments]
+	
+ Supported output formats are,
+ 
+ * wfbundle
+ * iwir
+ * json
+ * robundle
+ * structure
+ 
+There are two usages of conversion command.
+
+1. Non-recursive method
+
+	Usage: tavlang convert <--output_format> <options> [arguments]
+	
+
 
-* ...
+2. Recursive method
 


[3/5] incubator-taverna-language git commit: Merge remote-tracking branch 'menaka/Readme'

Posted by st...@apache.org.
Merge remote-tracking branch 'menaka/Readme'

This closes #18


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/a7a767b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/a7a767b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/a7a767b7

Branch: refs/heads/master
Commit: a7a767b79668aff145275c064f082f33c9ae1ab1
Parents: 70720f8 9a4f335
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue Jul 21 11:27:44 2015 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Tue Jul 21 11:27:44 2015 +0100

----------------------------------------------------------------------
 taverna-language-commandline/README.md | 45 +++++++++++++++++++++++++++--
 1 file changed, 43 insertions(+), 2 deletions(-)
----------------------------------------------------------------------



[5/5] incubator-taverna-language git commit: README: Avoid duplicate Contribute section

Posted by st...@apache.org.
README: Avoid duplicate Contribute section

This closes #14


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/7e65ca44
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/7e65ca44
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/7e65ca44

Branch: refs/heads/master
Commit: 7e65ca44fdfac188e85747b8880e8c5a4b431d65
Parents: 8f68345
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue Jul 21 11:29:25 2015 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Tue Jul 21 11:29:25 2015 +0100

----------------------------------------------------------------------
 README.md | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/7e65ca44/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 6860d4e..e210598 100644
--- a/README.md
+++ b/README.md
@@ -41,12 +41,6 @@ The file [NOTICE](NOTICE) contain any additional attributions and
 details about embedded third-party libraries and source code.
 
 
-## Contribute
-
-Feel free to contribute by [submitting an issue](https://issues.apache.org/jira/browse/TAVERNA), send a [pull request](https://github.com/apache/incubator-taverna-language/pulls), or discuss the project at the [dev@taverna mailing list](http://taverna.incubator.apache.org/community/lists#devtaverna).
-
-All contributions are assumed to be licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), unless otherwise noted.
-
 # Contribute
 
 Please subscribe to and contact the


[2/5] incubator-taverna-language git commit: conversion tools fixed

Posted by st...@apache.org.
conversion tools fixed

Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/b66101f0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/b66101f0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/b66101f0

Branch: refs/heads/master
Commit: b66101f06d676fef567056670494f339464e6acb
Parents: 70720f8
Author: Menaka Madushanka <me...@gmail.com>
Authored: Mon Jul 20 22:49:59 2015 +0530
Committer: Menaka Madushanka <me...@gmail.com>
Committed: Mon Jul 20 22:49:59 2015 +0530

----------------------------------------------------------------------
 .../tavlang/tools/convert/Scufl2Convert.java    | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/b66101f0/taverna-language-commandline/src/main/java/org/apache/taverna/tavlang/tools/convert/Scufl2Convert.java
----------------------------------------------------------------------
diff --git a/taverna-language-commandline/src/main/java/org/apache/taverna/tavlang/tools/convert/Scufl2Convert.java b/taverna-language-commandline/src/main/java/org/apache/taverna/tavlang/tools/convert/Scufl2Convert.java
index 8243d43..54dbb06 100644
--- a/taverna-language-commandline/src/main/java/org/apache/taverna/tavlang/tools/convert/Scufl2Convert.java
+++ b/taverna-language-commandline/src/main/java/org/apache/taverna/tavlang/tools/convert/Scufl2Convert.java
@@ -79,7 +79,7 @@ public class Scufl2Convert{
 				this.output = outFile.getAbsolutePath();
 			} catch (IOException e1) {
 				// TODO Auto-generated catch block
-				System.err.println("Error creating the directory...!!!!");
+				System.err.println("Error: The directory cannot be created...!!!!");
 				e1.printStackTrace();
 			}
 		}else{
@@ -89,7 +89,7 @@ public class Scufl2Convert{
 				
 			} catch (IOException e1) {
 				// TODO Auto-generated catch block
-				System.err.println("Error creating the directory...!!!!");
+				System.err.println("Error: The directory cannot be created...!!!!");
 				e1.printStackTrace();
 			}
 		}
@@ -107,7 +107,7 @@ public class Scufl2Convert{
 			try {
 				FileUtils.forceMkdir(outFile);
 			} catch (IOException e1) {
-				System.err.println("Error creating the directory...!!!");
+				System.err.println("Error: The directory cannot be created...!!!");
 			}
 			for(String file : this.filesList){
 				File t2File = new File(file);
@@ -130,14 +130,14 @@ public class Scufl2Convert{
 				try {
 					FileUtils.forceMkdir(outFile);
 				} catch (IOException e1) {
-					System.err.println("Error creating the directory...!!!");
+					System.err.println("Error: The directory cannot be created...!!!");
 				}
 				
 				convertFile(t2File, outFile);
 				
 			}
 		}else{
-			System.err.println("Argument mismatch");
+			System.err.println("Error: Argument mismatch");
 			check = false;
 		}
 		
@@ -150,7 +150,7 @@ public class Scufl2Convert{
 			
 			File parent = new File(this.input);
 			if(!parent.exists()){
-				System.err.println("Input directory not found");
+				System.err.println("Error: Input directory not found");
 			}else{
 				for(File file : parent.listFiles()){
 					if(!file.isDirectory())
@@ -168,7 +168,7 @@ public class Scufl2Convert{
 		//Check weather the input files are in valid format...!!!
 		String ext = FilenameUtils.getExtension(t2File.getName());
 		if(!ext.equalsIgnoreCase("t2flow")&&!ext.equalsIgnoreCase("wfbundle")){
-			System.err.println("Invalid input file format...!!!");
+			System.err.println("Error: Invalid input file format...!!!");
 			return;
 		}
 		
@@ -196,13 +196,13 @@ public class Scufl2Convert{
 			}
 			System.out.println(scufl2File.getPath() + " is created.");
 		}catch (ReaderException e){
-			System.err.println(e.getLocalizedMessage());
+			System.err.println("Error: Connot read the file");
 //			e.printStackTrace();
 		}catch(IOException e){
-			System.err.println(e.getLocalizedMessage());
+			System.err.println("Error: File not found");
 //			e.printStackTrace();
 		}catch(WriterException e) {
-			System.err.println(e.getLocalizedMessage());
+			System.err.println("Error: Cannot write to the file");
 //			e.printStackTrace();
 		}
 	}


[4/5] incubator-taverna-language git commit: Merge remote-tracking branch 'menaka/fixes'

Posted by st...@apache.org.
Merge remote-tracking branch 'menaka/fixes'

This closes #19.


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/8f68345d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/8f68345d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/8f68345d

Branch: refs/heads/master
Commit: 8f68345daca996d54618ee3addc80effaae0ef48
Parents: a7a767b b66101f
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue Jul 21 11:28:24 2015 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Tue Jul 21 11:28:24 2015 +0100

----------------------------------------------------------------------
 .../tavlang/tools/convert/Scufl2Convert.java    | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------