jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1415389 - /jena/trunk/jena-arq/src/main/java/riotcmd/CmdLangParse.java
Date Thu, 29 Nov 2012 21:18:31 GMT
Author: andy
Date: Thu Nov 29 21:18:30 2012
New Revision: 1415389

URL: http://svn.apache.org/viewvc?rev=1415389&view=rev
Log:
Allow symbol setting from the command line.

Modified:
    jena/trunk/jena-arq/src/main/java/riotcmd/CmdLangParse.java

Modified: jena/trunk/jena-arq/src/main/java/riotcmd/CmdLangParse.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/riotcmd/CmdLangParse.java?rev=1415389&r1=1415388&r2=1415389&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/riotcmd/CmdLangParse.java (original)
+++ jena/trunk/jena-arq/src/main/java/riotcmd/CmdLangParse.java Thu Nov 29 21:18:30 2012
@@ -46,10 +46,7 @@ import org.openjena.riot.system.SyntaxLa
 import org.openjena.riot.tokens.Tokenizer ;
 import org.openjena.riot.tokens.TokenizerFactory ;
 import arq.cmd.CmdException ;
-import arq.cmdline.ArgDecl ;
-import arq.cmdline.CmdGeneral ;
-import arq.cmdline.ModLangParse ;
-import arq.cmdline.ModTime ;
+import arq.cmdline.* ;
 
 import com.hp.hpl.jena.Jena ;
 import com.hp.hpl.jena.graph.Triple ;
@@ -64,6 +61,7 @@ public abstract class CmdLangParse exten
     // Module.
     protected ModTime modTime                   = new ModTime() ;
     protected ModLangParse modLangParse         = new ModLangParse() ;
+    protected ModSymbol modSymbol               = new ModSymbol() ;
     protected ArgDecl argStrict                 = new ArgDecl(ArgDecl.NoValue, "strict")
;    
     protected InferenceSetupRDFS setup          = null ; 
     
@@ -147,6 +145,7 @@ public abstract class CmdLangParse exten
         setLogging() ;
         super.addModule(modTime) ;
         super.addModule(modLangParse) ;
+        super.addModule(modSymbol) ;
         
         super.modVersion.addClass(Jena.class) ;
         super.modVersion.addClass(ARQ.class) ;



Mime
View raw message