commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Jakarta-commons Wiki] Update of "SCXML/FrequentlyAskedQuestions" by RahulAkolkar
Date Tue, 11 Oct 2005 00:57:15 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:

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
[ 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 [
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 [
Commons Logging Website] for more details.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message