Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 60744 invoked from network); 11 Oct 2005 00:57:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Oct 2005 00:57:41 -0000 Received: (qmail 76243 invoked by uid 500); 11 Oct 2005 00:57:39 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 75685 invoked by uid 500); 11 Oct 2005 00:57:37 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 75673 invoked by uid 99); 11 Oct 2005 00:57:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 17:57:36 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 36B9F511 for ; Tue, 11 Oct 2005 02:57:15 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commons-dev@jakarta.apache.org Date: Tue, 11 Oct 2005 00:57:15 -0000 Message-ID: <20051011005715.29632.81258@ajax.apache.org> Subject: [Jakarta-commons Wiki] Update of "SCXML/FrequentlyAskedQuestions" by RahulAkolkar X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification. The following page has been changed by RahulAkolkar: http://wiki.apache.org/jakarta-commons/SCXML/FrequentlyAskedQuestions The comment on the change is: Someone asked about trying the samples, should have been a FAQ entry long ago. ------------------------------------------------------------------------------ ---- + ==== How do I try out the sample SCXML documents? ==== + + The SCXML distribution provides a utility class {{{org.apache.commons.scxml.env.jsp.Standalone}}} which provides a ''mock environment'' allowing users to try out samples. The core dependencies for Commons SCXML are Commons Digester (which introduces a transitive dependency on Commons Bean``````Utils, at the least) and Commons Logging. In addition, an environment specific expression language is used in SCXML documents. The {{{Standalone}}} class anticipates expressions in the JSP 2.0 Expression Language, and hence requires commons-el.jar and jsp-api.jar. View the [http://jakarta.apache.org/commons/sandbox/scxml/dependencies.html dependencies page] for the recommended version numbers. It may be possible to use lower version numbers for the Commons dependencies. So that amounts to: + + {{{ + java -classpath + + commons-digester-1.7.jar;commons-beanutils-1.7.0.jar; + commons-logging-1.0.4.jar;commons-scxml-1.0-SNAPSHOT.jar; + commons-el-1.0.jar;jsp-api-2.0.jar + + org.apache.commons.scxml.env.jsp.Standalone + + microwave01.xml + }}} + + with the correct local paths to the {{{jar}}} files and the {{{XML}}} (SCXML) document (and without the line breaks). You could set up something more elegant (a script, an ant task etc.), but that is what it boils down to. A few examples are available as part of the [http://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/ Commons SCXML test suite]. Enjoy, and feedback is always welcome. + ==== How do I enable / control the logging within the Commons SCXML package? ==== Commons SCXML uses Commons Logging. See the [http://jakarta.apache.org/commons/logging/ Commons Logging Website] for more details. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org