beagle r4759 - in trunk/beagle: RDFAdapter tools



Author: dbera
Date: Sun May 18 06:09:11 2008
New Revision: 4759
URL: http://svn.gnome.org/viewvc/beagle?rev=4759&view=rev

Log:
Move the RdfQueryTool to RDFAdapter/ and add instructions for building it and running it.


Added:
   trunk/beagle/RDFAdapter/RdfQueryTool.cs
      - copied, changed from r4754, /trunk/beagle/tools/RdfQueryTool.cs
Removed:
   trunk/beagle/tools/RdfQueryTool.cs

Copied: trunk/beagle/RDFAdapter/RdfQueryTool.cs (from r4754, /trunk/beagle/tools/RdfQueryTool.cs)
==============================================================================
--- /trunk/beagle/tools/RdfQueryTool.cs	(original)
+++ trunk/beagle/RDFAdapter/RdfQueryTool.cs	Sun May 18 06:09:11 2008
@@ -1,3 +1,35 @@
+//
+// RdfQueryTool.cs
+//
+// Copyright (C) 2008 D Bera <dbera web gmail com>
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+// SOFTWARE.
+//
+
+// compile as
+// $ gmcs  -debug RdfQueryTool.cs -r:../Util/Util.dll -r:../BeagleClient/Beagle.dll
+// run as
+// $ MONO_PATH=../Util:../BeagleClient mono --debug RdfQueryTool.exe --help
+//
+
 using System;
 using System.IO;
 using System.Text;
@@ -9,7 +41,7 @@
 	{
 
 		if (args.Length != 3) {
-			Console.WriteLine ("Usage: program-name <subject> <predicate> <predicate-type> <object>");
+			Console.WriteLine ("Usage: program-name <subject> <predicate> <object>");
 			Console.WriteLine ("      <subject>         : URI or path");
 			Console.WriteLine ("      <predicate>       : property name (string)");
 			Console.WriteLine ("      <object>          : object (string)");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]