On 29/09/2009, Stefan Bodewig <bode...@apache.org> wrote: > On 2009-09-29, sebb <seb...@gmail.com> wrote: > > > > I've added jakarta-bsf3.xml, but it probably won't work, so if you > > want to play with it, feel free. > > > We'll see. > > The Ant build of BSF 2.4 had a bunch of optional dependencies on various > scripting language implementations. I assume they have become > non-optional for the mvn build.
Not sure - the core part of BSF 3.0 does not need any external libraries (apart from JUnit). > > > On 29/09/2009, Stefan Bodewig <bode...@apache.org> wrote: > > > >> It will be interesting to see whether existing BSF users like Ant, Xalan > >> or fulcrum will work with 3.0 as well. > > > That's extremely unlikely; BSF 3.0 uses a completely different API > > from 2.4. > > > OK, I'll make sure to update Ant's library dependencies list to say > "2.4.0 or later but not 3.x". But see below. > > > BSF 3.0 is a JSR-223 implementation for Java 1.4 and 1.5 plus some extras. > > [Java 1.6 includes JSR-223.] > > > Ant supports JSR-223 if it is available, so that might still work, we > should give it a try. In which case one might be able to use the bsf-api jar from BSF 3.0 in order to get JSR-223 functionality with Java 1.4 and Java 1.5. Depends on how Ant does the check - if it looks for Java 1.6 then it won't work, but if it looks for the javax.script classes it should be happy with the BSF 3.0 implementation. > For the others it is probably best to make BSF 2.4.0 available to their > Gump builds. > I can't see any point in fixing BSF 2.4 to build with the current version of Jython. So presumably there needs to be a pre-built version of BSF 2.4? > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: bsf-dev-unsubscr...@jakarta.apache.org > For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: bsf-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org