General Interface is an open source project hosted by the Dojo Foundation

Overriding the Application Base Directory

In some situations, you might need to override the application base directory. Overriding the application base directory is useful if other aspects of your development process, such as source control or access rights, restrict where files can reside on the disk. The General Interface jsxappbase parameter provides this flexibility.

To override the application base directory (jsxappbase), do the following:

  1. Add this record to the project configuration file (config.xml):
    <record jsxid="jsxappbase"
    type="string">path_to_content_folder/</record>
  2. Then save the config.xml file to the project folder in the JSXAPPS directory.

If the directory structure looks similar to the following figure, you would add this record to config.xml :

<record jsxid="jsxappbase" type="string">content/</record>

Once the application directory is overridden, all URIs used in the application resolve relative to the base directory rather than to the config.xml file.

For more information on how URIs are resolved, see URI Resolution.

Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.