commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r368106 - /jakarta/commons/sandbox/scxml/trunk/xdocs/api-notes/testing-standalone.xml
Date Wed, 11 Jan 2006 19:31:01 GMT
Author: rahul
Date: Wed Jan 11 11:30:59 2006
New Revision: 368106

URL: http://svn.apache.org/viewcvs?rev=368106&view=rev
Log:
Flesh out and separate snippets about command line testing / utility classes for documents
using JEXL and documents using EL.

Modified:
    jakarta/commons/sandbox/scxml/trunk/xdocs/api-notes/testing-standalone.xml

Modified: jakarta/commons/sandbox/scxml/trunk/xdocs/api-notes/testing-standalone.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/xdocs/api-notes/testing-standalone.xml?rev=368106&r1=368105&r2=368106&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/xdocs/api-notes/testing-standalone.xml (original)
+++ jakarta/commons/sandbox/scxml/trunk/xdocs/api-notes/testing-standalone.xml Wed Jan 11
11:30:59 2006
@@ -26,33 +26,63 @@
 
   <section name="Commons SCXML - Standalone testing, trying out samples">
 
-   <p>The SCXML distribution provides a utility class 
-   <code>org.apache.commons.scxml.env.jsp.Standalone</code> 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 BeanUtils, 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 <a href="../dependencies.html">dependencies</a> page for the
+   <p>The SCXML distribution provides utility classes that offer a mock
+   command line environments allowing users to try out samples. The core
+   dependencies for Commons SCXML are Commons Digester (which introduces a
+   transitive dependency on Commons BeanUtils, at the least) and Commons
+   Logging.</p>
+
+   <p>View the <a href="../dependencies.html">dependencies</a> page for
the
    recommended version numbers. <i>It may be possible to use lower version
-   numbers for the Commons dependencies.</i>
-   </p>
+   numbers for the Commons dependencies.</i></p>
+
+   <p>An environment specific expression language is used in SCXML
+   documents. Commons SCXML currently supports the use of JEXL or JSP 2.0 EL
+   in SCXML documents.</p>
+
+   <subsection name="Using JEXL in SCXML documents">
+
+    <p>The JEXL Standalone class anticipates expressions in JEXL and hence
+    requires commons-jexl.jar.</p>
+
+    <p>So that amounts to (use the correct local paths and filenames to the
+    <code>jar</code> files and the SCXML document, without the line breaks):</p>
+
+    <pre>
+    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-jexl-1.0.jar
+
+    <a href="../xref/org/apache/commons/scxml/env/jexl/Standalone.html">org.apache.commons.scxml.env.jexl.Standalone</a>
+
+    <a href="http://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/jexl/microwave-01.xml">microwave01.xml</a>
+    </pre>
+
+   </subsection>
+
+   <subsection name="Using JSP 2.0 EL in SCXML documents">
+
+    <p>The JSP Standalone class anticipates expressions in the JSP 2.0 
+    Expression Language, and hence requires commons-el.jar and jsp-api.jar.</p>
+
+    <p>So that amounts to (use the correct local paths and filenames to the
+    <code>jar</code> files and the SCXML document, without the line breaks):</p>
 
-   <p>So that amounts to (use the correct local paths and filenames to the
-   <code>jar</code> files and the SCXML document, without the line breaks):</p>
+    <pre>
+    java -classpath
 
-   <pre>
-   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
 
-   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
+    <a href="../xref/org/apache/commons/scxml/env/jsp/Standalone.html">org.apache.commons.scxml.env.jsp.Standalone</a>

 
-   org.apache.commons.scxml.env.jsp.Standalone 
+    <a href="http://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/jsp/microwave-01.xml">microwave01.xml</a>
+    </pre>
 
-   microwave01.xml
-   </pre>
+   </subsection>
 
    <p>You could set up something more elegant (a script, an ant task etc.),
    but that is what it boils down to.
@@ -63,7 +93,7 @@
 
    <p>A few examples are available as part of the 
    <a href="http://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/">
-   Commons SCXML test suite</a>.</p>
+   Commons SCXML test suite</a> (look in env.jexl and env.jsp child packages as well).</p>
 
   </section> 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message