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: bsf-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-user-help@jakarta.apache.org
|