[Jslib] Re: xpcshell
Pete Collins
pete@mozdev.org
Thu, 24 Jan 2002 20:43:31 -0500
It works fine for me using a trunk build from last night:
js> load('chrome/jslib/jslib.js');
Welcome to jslib version 0.00
Global consts:
JS_LIBRARY
JS_LIB_FILE
JS_LIB_PATH
JS_LIB_VERSION
JS_LIB_AUTHORS
JS_LIB_BUILD
JS_LIB_ABOUT
JS_LIB_HOME.
Global variables:
JS_LIB_DEBUG
JS_LIB_ERROR
*********************
JS_LIB DEBUG IS ON
*********************
js> include(JS_LIB_PATH+'io/file.js');
*** load: filesystem.js OK
*** load: file.js OK
0
js>
--pete
Eric Plaster wrote:
> Ah... Not so fast my friend :). I did do this. If you look at the
> bottom of my post, I do a "ls" of chrome/jslib. All the files are
> there. The link is there.
>
> Did something change in the way the chrome entries are added? All I see
> now is a *chrome/chrome.rdf* file (mozilla 9.7).
>
> Tried it with just installing a newly built xpi, and that didn't work
> either....
>
> Pete Collins wrote:
>
>>> So what am I doing wrong?
>>
>>
>>
>> Easy . . .
>>
>> $ export MOZ_DIST=/D/mozilla/dist/bin
>> $ ./configure
>> loading cache ./config.cache
>> checking for unzip... (cached) /usr/local/bin/unzip
>> checking for zip... (cached) /usr/local/bin/zip
>> checking MOZ_DIST ... /D/mozilla/dist/bin
>> creating ./config.status
>> creating Makefile
>> $ gmake link
>> finished creating sym links for jslib
>>
>> ;-)
>>
>> --pete
>
>
> --
> ------------------------------------------------------------------------
> Eric Plaster
> Urban Rage Software <http://www.urbanrage.com>
> Senior Software Engineer
> RPG tools project
> rpgtools@mozdev.org
> http://rpgtools.mozdev.org
>
> */ AD&D tools for the player and the DM/*
>
>