On Wed, Jul 29, 2009 at 4:58 PM, Henrib<hbies...@gmail.com> wrote: > > sebb-2-2 wrote: >> >> Of course if you try to use the new classes on Java 1.5 without also >> providing BSF 3.0 the JVM will complain, but otherwise the Jexl jar >> will run fine on Java 1.5. >> > > I'm sorry I don't understand this correctly. Are you saying that that BSF3.0 > will become an added dependency to Jexl for those wishing to run on Java5 > (please dont say yes...)? > <snip/>
No. Dependency will be optional at runtime. > Looking at the BSF 3.0b2 branch, it seems it is an implementation of jsr-233 > for pre-java6 (packages being javax.script); if so, it also seems there is > no impossibility to derive several of the Jexl classes to make a different > jar (jexl-233.jar) that depend upon it. > > If the premises stand, it would allow those who can use jsr-233 (if you use > JDK6) or deploy the BSF beta 2 (if you are allowed to deploy beta) to use > Jexl by just adding the jexl-233.jar on top of jexl.jar. It does not force > everyone who uses Jexl to change their current set of dependencies. > A lot has been done to "customize" Jexl and if there are some missing parts > for such a task, I'd happily help if allowed. > <snap/> You mean 223. Nothing special needs doing to JEXL as an expression language really, beyond allowing the framework part of javax.script to pick up JEXL. See r799042 [1] for starters (I have some comments on that, but thats a separate thread). -Rahul [1] http://svn.apache.org/viewvc?view=rev&revision=799042 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org