Ben
Did you see this exchange elsewhere in the ng? Here is my most recent 
posting about the barley example, in which I fess up to what may have 
been an error in the install script. Let me know if this is the problem.

 From the thread "new xulnote: Creating Packages in Mozilla"
----------------------------
Darryl
Sorry. It looks like there may be another typo/error in my install.js 
script.
I believe that the install.js at the top of the xpi should read:

registerChrome(PACKAGE | DELAYED_CHROME, 
getFolder("Chrome","barley.jar"), "content/");

instead of:

registerChrome(PACKAGE | DELAYED_CHROME, 
getFolder("Chrome","barley.jar"), "content/barley/");

This line was telling Mozilla--via the installed-chrome.txt file that 
builds the RDF--to look for the contents.rdf file at 
barley.jar/content/barley/, which doesn't exist. Having updated this in 
the script in this way, I was able to successfully install the xpi on a 
separate machine.

Thanks a lot for hanging in there as I iron this stuff out.
-ian


Ben Bucksch wrote:

> 
> <http://www.mozilla.org/docs/xul/xulnotes/xulnote_packages.html>
> 
> The barley.xpi example package does not work - I can install it, but 
> loading it via entering <chrome://barley/content> in the urlbar brings 
> up an empty directory viewer with the throbber spinning practically 
> infinitly. Similarly, starting Mozilla as suggested (via |mozilla 
> -chrome chrome://barley/content|) prevents Mozilla from starting up.
> 
> What's wrong / what changed?


Reply via email to