Loading...

bsf-user@jakarta.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Usage of Eval Rony G. Flatscher Sat Sep 02 04:37:09 2006

Hi Neil,

just noticed that using exec() and compile() works, so it is the eval() (and probably apply()) which poses the problem.

The following works:

   java org.apache.bsf.Main -in test.py -lang jython -mode exec
   java org.apache.bsf.Main -in test.py -lang jython -mode compile

Not sure about eval(). Could it be that it expects a compiled jython program instead (ie. doing a compile and using its result for eval)?

Regards,

---rony



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]