manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1163882 - in /incubator/lcf/trunk: CHANGES.txt framework/script-example/file-crawl-example.mcf
Date Thu, 01 Sep 2011 00:51:18 GMT
Author: kwright
Date: Thu Sep  1 00:51:18 2011
New Revision: 1163882

URL: http://svn.apache.org/viewvc?rev=1163882&view=rev
Log:
Last of the changes needed for CONNECTORS-58.

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/framework/script-example/file-crawl-example.mcf

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1163882&r1=1163881&r2=1163882&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Thu Sep  1 00:51:18 2011
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 0.3-dev =========================
 
+CONNECTORS-58: Add client scripting language and a file-system-based example.
+(Karl Wright)
+
 CONNECTORS-245: Fix API bug where schedule JSON was incorrect when fetching
 job description.
 (Karl Wright)

Modified: incubator/lcf/trunk/framework/script-example/file-crawl-example.mcf
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/script-example/file-crawl-example.mcf?rev=1163882&r1=1163881&r2=1163882&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/script-example/file-crawl-example.mcf (original)
+++ incubator/lcf/trunk/framework/script-example/file-crawl-example.mcf Thu Sep  1 00:51:18
2011
@@ -118,5 +118,9 @@ while true do
   wait 10000;
 ;
 
-print "The job completed";
+if thestatus == "error" then
+  print "The job aborted, with error: " + jobstatus.__dict__["error_text"].__value;
+else
+  print "The job completed";
+;
 



Mime
View raw message