ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tammo van Lessen" <tvanles...@gmail.com>
Subject Re: Extending ODE
Date Tue, 09 Oct 2007 20:49:38 GMT
Hi Matthieu,

2007/10/9, Matthieu Riou <matthieu@offthelip.org>:
> On 10/9/07, Tammo van Lessen <tvanlessen@gmail.com> wrote:
> > However this raises another question to the OS license experts of you:
> > Is it allowed to depend on Mozilla Rhino (MPL/GPL)?
>
> Unfortunately it's not. But others have had the same problem and came up
> with a solution:  Apache BSF. We could rely on it as our interface to the
> scripting engine and would allow support to other languages. Then Rhino
> would have to be part of the environment or if you use JDK 1.6 it's already
> there. The cool side effect is support for Jython, JRuby and Beanshell :)
Actually a great idea, however I had some troubles to enable E4X since
Rhino does not automatically translates org.w3c.dom.Node (java) into
XML (js) object and vice versa. I had to write a wrapper for that
translation which of course depends on Rhino classes.

However, I read discussions on Rhino's bugzilla and on some other
apache lists [see refs], so according to them at least the most recent
Rhino version is released unter MPL 1.1 which should be with ASL 2.0.
What do you think? It would be great if we could directly use it.

Cheers,
  Tammo

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=236108#c42
[2] http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_thread/thread/12b1279e97d1f8a
[3] http://www.mail-archive.com/dev@cocoon.apache.org/msg47840.html

-- 
Tammo van Lessen - tvanlessen@gmail.com - http://www.taval.de

Mime
View raw message