Scripted Attribute

Peter Schober peter.schober at univie.ac.at
Mon Jul 25 05:25:09 EDT 2016


* Bryan Wooten <bryan.wooten at utah.edu> [2016-07-22 16:33]:
> Also is there a preferred way to test these scripts before adding
> them to the attribute-resolver.xml?

With v2 I used something like this to run/test rhino scripts on the
command line, outside the IDP:

$ java -cp "/usr/share/java/*:~/path/to/idp4/jars/*" org.mozilla.javascript.tools.shell.Main -w -strict -f ~/resolver.js

I haven't yet looked at IDPv3 and Nashorn in any detail other than
getting my scripts to work in the IDP.
-peter


More information about the users mailing list