[Jslib] xpcshell
Eric Plaster
plaster@visi.com
Wed, 23 Jan 2002 14:29:49 -0600
--------------010807040309060202090404
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
OK, maybe it's just been so long that I forgot how to do this, but I'm
having some trouble running this... Here is my output:
*plaster@neo:/usr/local/src/mozilla/dist/bin>* run-mozilla.sh xpcshell
*js>*
load('/usr/local/src/rep/mozdev/jslib/libraries/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('chrome://jslib/content/io/file.js');
-----======[ ERROR ]=====-----
ERROR: in jslib.js: include chrome://jslib/content/io/file.js is not a
valid path or is already loaded
Name: undefined
Message: Error opening input stream (invalid filename?)
Result:
Location:
NS_ERROR_NUMBER: NS_ERROR_INVALID_ARG
------------------------------
-2147942487
*js>* ^c
*plaster@neo:/usr/local/src/mozilla/dist/bin>* ls chrome/jslib/io/
CVS dir.js dirUtils.js file.js filesystem.js fileUtils.js io.js
rdf.js
*plaster@neo:/usr/local/src/mozilla/dist/bin> *
So what am I doing wrong?
--
Eric Plaster
Urban Rage Software <http://www.urbanrage.com>
Senior Software Engineer
RPG tools project
rpgtools@urbanrage.com
http://rpgtools.mozdev.org
*/ AD&D tools for the player and the DM/*
--------------010807040309060202090404
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
OK, maybe it's just been so long that I forgot how to do this, but I'm having
some trouble running this... Here is my output:<br>
<br>
<br>
<b>plaster@neo:/usr/local/src/mozilla/dist/bin></b> run-mozilla.sh xpcshell<br>
<b>js></b> load('/usr/local/src/rep/mozdev/jslib/libraries/jslib.js');
<br>
<br>
<br>
Welcome to jslib version 0.00<br>
<br>
Global consts:<br>
<br>
JS_LIBRARY<br>
JS_LIB_FILE<br>
JS_LIB_PATH<br>
JS_LIB_VERSION<br>
JS_LIB_AUTHORS<br>
JS_LIB_BUILD<br>
JS_LIB_ABOUT<br>
JS_LIB_HOME.<br>
<br>
Global variables:<br>
<br>
JS_LIB_DEBUG<br>
JS_LIB_ERROR<br>
<br>
<br>
<br>
<br>
*********************<br>
JS_LIB DEBUG IS ON<br>
*********************<br>
<br>
<br>
<b>js></b> include('<a class="moz-txt-link-freetext" href="chrome://jslib/content/io/file.js">chrome://jslib/content/io/file.js</a>');<br>
<br>
-----======[ ERROR ]=====-----<br>
ERROR: in jslib.js: include <a class="moz-txt-link-freetext" href="chrome://jslib/content/io/file.js">chrome://jslib/content/io/file.js</a> is not a valid
path or is already loaded<br>
Name: undefined<br>
Message: Error opening input stream (invalid filename?)<br>
Result: <br>
Location: <br>
NS_ERROR_NUMBER: NS_ERROR_INVALID_ARG<br>
------------------------------<br>
<br>
-2147942487<br>
<b>js></b> ^c<br>
<br>
<b>plaster@neo:/usr/local/src/mozilla/dist/bin></b> ls chrome/jslib/io/<br>
CVS dir.js dirUtils.js file.js filesystem.js fileUtils.js io.js rdf.js<br>
<b>plaster@neo:/usr/local/src/mozilla/dist/bin> </b><br>
<br>
So what am I doing wrong?<br>
<br>
<div class="moz-signature">-- <br>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr>
<td valign="top">Eric Plaster<br>
</td>
<td valign="top" align="right"><a href="http://www.urbanrage.com" style="color: maroon; text-decoration: none;">
Urban Rage Software</a><br>
</td>
</tr>
<tr>
<td valign="top"> Senior Software Engineer<br>
</td>
<td valign="top" align="right"> RPG tools project<br>
</td>
</tr>
<tr>
<td valign="top"> <a class="moz-txt-link-abbreviated" href="mailto:rpgtools@urbanrage.com">rpgtools@urbanrage.com</a><br>
</td>
<td valign="top" align="right"><a href="http://rpgtools.mozdev.org" style="color: maroon; text-decoration: none;">
http://rpgtools.mozdev.org<br>
</a></td>
</tr>
</tbody>
</table>
<div align="center"><font color="#999999"><b><i><font color="#666666"><small>
AD&D tools for the player and the DM</small></font></i></b></font></div>
</div>
</body>
</html>
--------------010807040309060202090404--