commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Trivial Update of "SCXML/FrequentlyAskedQuestions" by RahulAkolkar
Date Mon, 07 Nov 2005 15:48:40 GMT
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:
Moved the "disclaimer" above the command with trivial changes

------------------------------------------------------------------------------
  
  ==== 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:
+ 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 (use the correct local paths and filenames to the {{{jar}}}
files and the {{{XML}}} / SCXML document, without the line breaks):
  
  {{{
  java -classpath
@@ -24, +24 @@

  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. If the document is a well-formed SCXML document, you will
be able to type {{{?}}} or {{{help}}} at the console and you can follow the directions thereafter
(to simulate events, set variable values, reset the state machine or quit).
+ You could set up something more elegant (a script, an ant task etc.), but that is what it
boils down to. If the document is a well-formed SCXML document, you will be able to type {{{?}}}
or {{{help}}} at the console and you can follow the directions thereafter (to simulate events,
set variable values, reset the state machine or quit).
  
  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.
  

---------------------------------------------------------------------
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