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

Deploying Custom Builds

Once you've created a custom build using the General Interface optimization script, deploy the deployment directory as you would any General Interface deployment directory.

Application deployment includes the following steps:

  1. Copy the new deployment directory and the General Interface application to a web server. For more information, see Deploying Applications.
    General Interface requires that any applications deployed in the same HTML page must use the same General Interface deployment directory. Therefore, if you deploy multiple applications in a single page, each application must use the standard General Interface deployment directory or each application must use the same customized General Interface deployment directory.
  2. Create a deployment launch page for the application using the General Interface Builder Deployment Utility (Project > Deployment Utility).
  3. Modify the path in the src attribute of the script element on the launch page and verify that the application path value (jsxapppath) is correct as shown in the following examples, where deploy_dir represents the relative path from the web page to the custom General Interface deployment directory.
    <script type="text/javascript" src="deploy_dir/JSX/js/JSX30.js"
    
       jsxapppath="../JSXAPPS/MyProjectDir/"></script>
    <a href="#" onclick="window.open('deploy_dir/shell.html?jsxapppath=
       ../JSXAPPS/MyProjectDir','','toolbar=no,location=no,
       directories=no,status=no,menubar=no,scrollbars=no,
       resizable=yes,width=800,height=600,top=0,left=0');">
       Launch Application</a>
  4. Use the application launch page to run the deployed application and test the performance.

For example, to launch your application using shell.html as the launch page, enter a URL similar to the following in the browser:

http://web_server/deploy_dir/shell.html?jsxapppath=../JSXAPPS/MyProjectDir

where web_server is the address of the web server, such as localhost:8080 or mywebserver.com,

deploy_dir is the deployment directory on the web server, and MyProjectDir is the application project directory.

Contents

Searching General Interface Docs

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