On 29/07/2009, 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...)?
No. But if you wish to use JSR-223 methods to invoke Jexl when using Java 1.5, you will need to include bsf-api as a dependency. I've already tested this, and it works fine. > Looking at the BSF 3.0b2 branch, it seems it is an implementation of jsr-233 > for pre-java6 (packages being javax.script); Yes. > 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. No need; bsf-api is already available. > 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. Exactly. > 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. I've just about finished the code; just need to create some more tests. I'll need to commit some changes to pom.xml. > > -- > View this message in context: > http://www.nabble.com/-JEXL--2.0-and-BSF---JSR-223-tp24706519p24727425.html > > Sent from the Commons - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org