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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to