[Project_owners] xulrunner: how to set up the chrome.manifest file?

David Murray lid2000 at tpg.com.au
Mon May 2 23:57:02 EDT 2005


This is just at first glance: wouldn't /content/mybrowser.xul mean it 
was looking at the root of the drive for a directory called content?

David.


Terence wrote:
> Hello people,
> 
> I expect some of you have played with XulRunner 
> <http://wiki.mozilla.org/XUL:Home_Page#Xul_Runner>?
> 
> I just downloaded it and successfully ran the "mybrowser" example app from.
> http://friedfish.homeip.net/~darinf/xulrunner/mybrowser.html 
> <http://friedfish.homeip.net/%7Edarinf/xulrunner/mybrowser.html>
> 
> I have not been able to modify the app in any way.
> I unzipped the mybrowser.rar file and tried editing the chrome.manifest 
> file to use the unzipped directory rather than the .rar.
> I have not been able to get this working. The original chrome.manifest 
> file looks like
> 
> content mybrowser jar:mybrowser.jar!/content/mybrowser/
> locale mybrowser en-US jar:en-US.jar!/locale/en-US/mybrowser/
> 
> This works. How can I get it to work with the mybrowser folder (un-rar(ed))?
> 
> ps. at the moment, xulrunner requires you "touch" (or otherwise modify) 
> the application.ini file in order for updated in your XUL to be re-read. 
> I don't know if pref("nglayout.debug.disable_xul_cache", true); works 
> yet because because I haven't been able to get any of my own 
> modifications up and running.
> 
> I've tried using entries like
> content mybrowser path file:///content/mybrowser.xul
> 
> I always get the following error
> "The file /content/mybrowser.xul could not be found."
> I get this no matter what path I put it. I've also tried the "resource" 
> location type as well with various combinations - including copying 
> mybrowser.xul around this place.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners



More information about the Project_owners mailing list