Difference between revisions of "How to do an application using XULRunner"

From CDOT Wiki
Jump to: navigation, search
(Setting up the application.ini file)
(Setting up an application file structure)
Line 13: Line 13:
 
         prefs.js
 
         prefs.js
 
     application.ini
 
     application.ini
 +
 +
This file structure is used on a Linux platform.  If your using a different platform, please visit [http://developer.mozilla.org/en/docs/XULRunner:Deploying_XULRunner_1.8 Deploying XULRunner 1.8] to find the file struture for your specific platform.
  
 
'''Notes:'''
 
'''Notes:'''

Revision as of 17:16, 22 October 2006

Note: This page is still under construction

Setting up an application file structure

First set up the application file structure to the following:

 /applicationName
   /chrome
     /applicationName
       your app files
     chrome.manifest
   /defaults
     /preferences
        prefs.js
   application.ini

This file structure is used on a Linux platform. If your using a different platform, please visit Deploying XULRunner 1.8 to find the file struture for your specific platform.

Notes:

Users can change the name of the italicized filename and folders

Setting up the application.ini file

XULRunner first looks at the application.ini file. This file contains configurations of how the application uses XULRunner. which tells the application how it uses XULRunner.

Setting up the chrome.manifestj file

References:

Setting up the prefs.js file

Creating some XUL

Running the application