On Tue, Dec 16, 2008 at 1:13 PM, Roger Hoover <[email protected]> wrote: > Hi, > > Has anyone implemented Javascript as an expression language in SCXML Common > with Rhino? <snip/>
We already have an example that uses the Rhino co-bundled in JDK 1.6, here is an example (a test document -- long, possibly fragmented URL below): http://svn.apache.org/repos/asf/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/example-01.xml That came about via: http://issues.apache.org/jira/browse/SCXML-68 Build this branch to try it out yourself: http://svn.apache.org/repos/asf/commons/proper/scxml/branches/J6/ Beyond JavaScript, it should be possible to use any of these expression languages via JDK 1.6 in a similar fashion: https://scripting.dev.java.net/ > Would there be licensing issues with SCXML under Apache license > and Rhino under MPL/GPL/LGPL triple license? > <snap/> AFAIK, its OK via MPL. -Rahul > If it can't be done as part of this project, how hard would it be to > implement externally and do others have interest in it? > > Thanks, > > Roger > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
