jakarta-bsf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rony G. Flatscher" <Rony.Flatsc...@wu-wien.ac.at>
Subject Re: Usage of Eval
Date Tue, 06 Jun 2006 21:08:51 GMT
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


Mime
View raw message