|
exceptions in java object are not being bobbled
|
| |
i have exposed few java objects to the context, using ScriptableObject.putProperty(s cope, key, Context.javaToJS(obj, scope)); my question: when this object throws an exception (lets say MyException) , i am unable to bobble it properly to the the caller that began the script evaluation. MyException is being wrapped with a null pointer exception.... more »
|
|
run org.mozilla.javascript.tools.s hell
|
| |
hi, have anyone know why start below is so slowly. java org.mozilla.javascript.tools.s hell.Main i want use crontab to excute .sh , then to run .js by rhino. such as : crontab -l ***** /path/to/ex.sh arg1 */2**** /path/to/ex.sh arg2 ex.sh java org.mozilla.javascript.tools.s hell.Main ex.js arg1... more »
|
|
Myna Serverside JavaScript Goes Beta
|
| |
See the bottom of this post for web links. The Myna[1] Javascript Application Server has entered the Beta stage. Myna is an open source Java servlet focused on web development based on the Rhino engine. We are looking for more testers to help make Myna as robust and performant as we can. Here is a short list of features:... more »
|
|
Debugging JS in Eclipse
|
| |
Hi everyone. I spend a lot of my time debugging my project, which is written in a combination of JS (compiled with jsc) and Java. It's great that stack traces include entries that point to the relevant line of the JS file from which the compiled bytecode came, but I would like to use an interactive debugger. Using org.mozilla.javascript.tools.d ebugger is OK... more »
|
|
rhino shell run scripts in batch mode
|
| |
hihi, i use bash shell to call js using rhino. ex: java -jar ../path/to/js.jar ex1.js $* java -jar ../path/to/js.jar ex2.js $* java -jar ../path/to/js.jar ex3.js $* ex1,ex2,ex3 are different javacript project and excute easy script( like as only print for test). must it write many times [java -jar... more »
|
|
ReferenceError while running from java
|
| |
Hi, I am running a proxy pac file from java 1.6 and it results in the following exception. Do you have any idea how can I make the isPlainHostName get resolved? javax.script.ScriptException: sun.org.mozilla.javascript.int ernal.EcmaError: ReferenceError: "isPlainHostName" is not defined. (<Unknown source>#5) in... more »
|
|
Latest Rhino on Mac PPC?
|
| |
My project, JsDoc Toolkit, is built on top of Rhino and I'm very keen to start using the new AST functionality that is in the CVS repository. However I've found that I cannot compile the latest version of Rhino from CVS on my development machine: a Mac running PPC (not Intel). Does Rhino require Java6? If so then I'm shut out as... more »
|
|
|