#11 Build FreeWRL on SpiderMonkey or Rhino

closed
nobody
None
5
2006-04-01
2004-02-18
Anonymous
No

Currently, FreeWRL source ships with its own copy of the SpiderMonkey javascript engine.

If the system has a system copy of the spidermonkey engine installed, it is ignored. This is reported under bugs.

However, Mozilla.Org also offers a Java version of the JavaScript engine, called Rhino.

It might be nice to slightly decouple FreeWRL from its own internal SpiderMonkey core and allow allow for 3 possibilities during build:
1) Build against a SpiderMonkey distribution included with FreeWRL.
2) Build against SpiderMonkey libraries (libjs/libjscript) installed on the system.
3) Build against a Rhino distribution included with FreeWRL.
4) Build against a system-wide Rhino (Java-bases) JavaScript engine.

Personally, I see the potential to have Rhino allow for more platform-independence and cleaner builds.
Plus, if there is already a SpiderMonkey -or- Rhino already installed, why not test them and use them if they pass?

Just some thoughts as I hack my way through trying to build a complete FreeWRL on this FC1/NVidia box.

Discussion

  • John Stewart
    John Stewart
    2006-04-01

    Logged In: YES
    user_id=58616

    hmm - the problem is that FreeWRL runs on many different versions of
    Linux/Unix, and on OS X. At least, shipping a version, and compiling it,
    (hopefully) makes it work consistently.

     
  • John Stewart
    John Stewart
    2006-04-01

    • status: open --> closed