Help - mac 10.3 error

4 views
Skip to first unread message

marloutor

unread,
Feb 12, 2008, 2:49:15 AM2/12/08
to OpenMocha
Hello,

Just trying to start things off and I'm getting an error before I can
do anything; I figure I'm missing a setting on my system.

The error: ReferenceError: "XML" is not defined. (/Users/marloutor/
Desktop/openmocha/modules/objectengine/Mocha/core.js#131)

My system:
Mac 10.3
1GHz Titanium

Thanks in advance

Chris Zumbrunn

unread,
Feb 12, 2008, 4:21:16 AM2/12/08
to OpenMocha
On Feb 12, 8:49 am, marloutor <marlou...@gmail.com> wrote:

> Just trying to start things off and I'm getting an error before I can
> do anything; I figure I'm missing a setting on my system.
>
> The error: ReferenceError: "XML" is not defined. (/Users/marloutor/
> Desktop/openmocha/modules/objectengine/Mocha/core.js#131)
>
> My system:
> Mac 10.3

Hi marloutor,

Sorry about that. I forgot that with 10.3 you need two additional jar
files to make Rhino's E4X support work.

You can get the two files here:

http://helma.zumbrunn.com/downloads/xmlbean/xbean.jar
http://helma.zumbrunn.com/downloads/xmlbean/jsr173_1.0_api.jar

Then you'll need to put those two files into the "ext" subdirectory
inside the "lib" dir, like this:

openmocha-0.8/lib/ext/xbean.jar
openmocha-0.8/lib/ext/jsr173_1.0_api.jar

After that, openmocha should start as intended.

Cheers,
Chris





Reply all
Reply to author
Forward
0 new messages