Return-Path: X-Original-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E59270F0 for ; Mon, 29 Aug 2011 21:56:51 +0000 (UTC) Received: (qmail 12787 invoked by uid 500); 29 Aug 2011 21:56:51 -0000 Delivered-To: apmail-incubator-connectors-commits-archive@incubator.apache.org Received: (qmail 12741 invoked by uid 500); 29 Aug 2011 21:56:50 -0000 Mailing-List: contact connectors-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-commits@incubator.apache.org Received: (qmail 12734 invoked by uid 99); 29 Aug 2011 21:56:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 21:56:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 21:56:48 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2379523889BB; Mon, 29 Aug 2011 21:56:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1163033 - /incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml Date: Mon, 29 Aug 2011 21:56:27 -0000 To: connectors-commits@incubator.apache.org From: kwright@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110829215627.2379523889BB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: kwright Date: Mon Aug 29 21:56:26 2011 New Revision: 1163033 URL: http://svn.apache.org/viewvc?rev=1163033&view=rev Log: Add the script wait command to the site Modified: incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml Modified: incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml?rev=1163033&r1=1163032&r2=1163033&view=diff ============================================================================== --- incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml (original) +++ incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml Mon Aug 29 21:56:26 2011 @@ -113,6 +113,7 @@ statement: --> 'error' expression ';' --> 'insert' expression 'into' expression ['at' expression] ';' --> 'remove' expression 'from' expression ';' +--> 'wait' expression ';' --> 'GET' expression '=' expression ';' --> 'PUT' expression '=' expression 'to' expression ';' --> 'POST' expression '=' expression 'to' expression ';' @@ -385,6 +386,7 @@ print "3".__int__+7; 'while' expression 'do' statements ';'While expression is true, execute the specified statements, and repeatwhile count > 0 do set count = count - 1; ; 'break' ';'Exits from the nearest enclosing while loopwhile true do break; ; 'error' expression ';'Aborts the script with a script exception based on the string value of the expressionerror "bad stuff"; + 'wait' expression ';'Waits the number of milliseconds corresponding to the integer value of the expressionwait 1000; 'insert' expression 'into' expression ['at' expression] ';'Inserts the first expression into the second variable expression, either at the end or optionally at the position specified by the third expressioninsert 4 into myarray at 0 ; 'delete' expression 'from' expression ';'Deletes the element described by the first expression from the second expressiondelete 0 from myarray ; 'GET' expression '=' expression ';'Perform an HTTP GET from the URL specified in the second expression capturing the result in the first expressionGET result = new url "http://localhost:8345/mcf-api-service/json/repositoryconnections" ;