You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Tony Seebregts (JIRA)" <ji...@apache.org> on 2008/02/12 12:15:08 UTC
[jira] Created: (SCXML-68) Javascript expression evaluator
Javascript expression evaluator
-------------------------------
Key: SCXML-68
URL: https://issues.apache.org/jira/browse/SCXML-68
Project: Commons SCXML
Issue Type: Improvement
Affects Versions: 0.7
Reporter: Tony Seebregts
Priority: Minor
A Javascript expression evaluator for SCXML expression offers some functionality not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568915#action_12568915 ]
Tony Seebregts commented on SCXML-68:
-------------------------------------
Removed @author tags and changed curly braces and indentation to match the project conventions.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SCXML-68) Javascript expression evaluator
Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575111#action_12575111 ]
Rahul Akolkar commented on SCXML-68:
------------------------------------
Thanks, I can confirm its receipt (the ASF Secretary has recorded it). I'll come back to this later in the week.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SCXML-68) Javascript expression evaluator
Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568151#action_12568151 ]
Rahul Akolkar commented on SCXML-68:
------------------------------------
Thanks, looks good.
Please note, there are no @author tags in the Commons SCXML codebase. If you can please attach a newer version that does not have these tags, we can add this to the J5 branch (in svn). Attribution is in terms of the listing on the project team page: http://commons.apache.org/scxml/team-list.html
As you mentioned on the user list, we will need tests.
Of lesser importance, it'd be great if you could use the existing conventions for placement of curly braces in Java source. I can do this later, if you prefer.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Attachments: org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Seebregts updated SCXML-68:
--------------------------------
Attachment: org.apache.commons.scxml.env.javascript.zip
Preliminary implementation of a Javascript expression evaluator, implemented as a wrapper around the Javascript engine in Java 6.
Does not yet include test cases or support for E4X but does support the Data() function as per the JEXL expression evaluator.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Attachments: org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574421#action_12574421 ]
Tony Seebregts commented on SCXML-68:
-------------------------------------
And faxed the ICLA through this morning ...
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Seebregts updated SCXML-68:
--------------------------------
Comment: was deleted
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573288#action_12573288 ]
Tony Seebregts commented on SCXML-68:
-------------------------------------
re. patches. My pleasure - hope they turn out to be useful.
And the license agreement should be no problem at all - I'll fax it through in the next day or so.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Seebregts updated SCXML-68:
--------------------------------
Description: A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK. (was: A Javascript expression evaluator for SCXML expression offers some functionality not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.)
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Attachments: org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Seebregts updated SCXML-68:
--------------------------------
Attachment: org.apache.commons.scxml.env.javascript.zip
Cleaned up Java source comments and added JUnit 3 test cases and an example script.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SCXML-68) Javascript expression evaluator
Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Akolkar resolved SCXML-68.
--------------------------------
Resolution: Fixed
I've committed the code (with some purely cosmetic changes) to the J5 branch in r634858, see:
http://svn.apache.org/viewvc?view=rev&revision=634858
Also related to this ticket:
http://svn.apache.org/viewvc?view=rev&revision=634861
Thanks again for the contribution. Please feel free to test it out by checking out the J5 branch, and reopen this ticket if you have improvements / other suggestions.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SCXML-68) Javascript expression evaluator
Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Akolkar updated SCXML-68:
-------------------------------
Fix Version/s: 1.0
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SCXML-68) Javascript expression evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Seebregts updated SCXML-68:
--------------------------------
Attachment: org.apache.commons.scxml.env.javascript.zip
Removed @author tags and changed curly braces and indentation to match the project conventions as per Rahul's request.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SCXML-68) Javascript expression evaluator
Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573062#action_12573062 ]
Rahul Akolkar commented on SCXML-68:
------------------------------------
Thanks for the updates to the patches! I'll take a look soon (was offline for a bit).
Could you also fill out an Individual Contributor License Agreement (ICLA) for this? That is here (the fax number is on the form itself, you can mail it in too if you want):
http://www.apache.org/licenses/icla.txt
Its a one-time thing (so you won't need to do it for any more patches you submit across the ASF), and is needed for contributions such as this one which may contain new source files, for provenance and pedigree reasons. Once its sent it (and recorded -- I can track that), we can move this ticket forward. Let us know if you have questions about that.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip, org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality (e.g. functions) not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (SCXML-68) Javascript expression
evaluator
Posted by "Tony Seebregts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568054#action_12568054 ]
tonys edited comment on SCXML-68 at 2/12/08 3:31 AM:
--------------------------------------------------------------
Preliminary implementation of a Javascript expression evaluator. Does not yet include test cases or support for E4X but does support the Data() function as per the JEXL expression evaluator.
was (Author: tonys):
Preliminary implementation of a Javascript expression evaluator, implemented as a wrapper around the Javascript engine in Java 6.
Does not yet include test cases or support for E4X but does support the Data() function as per the JEXL expression evaluator.
> Javascript expression evaluator
> -------------------------------
>
> Key: SCXML-68
> URL: https://issues.apache.org/jira/browse/SCXML-68
> Project: Commons SCXML
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Tony Seebregts
> Priority: Minor
> Attachments: org.apache.commons.scxml.env.javascript.zip
>
>
> A Javascript expression evaluator for SCXML expression offers some functionality not supported by the sample JEXL expression evaluator included in the SCXML project - and is easily implemented as a wrapper around the Javascript engine included in the Java 6 JDK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.