Accessing an updated remote Dojo Toolkit

To access a remote Dojo Toolkit that was updated after the product shipped, do as follows:
  1. Ensure that you have loaded the most recent version of the EGL Dojo runtime code from the provider of interest. An example is com.ibm.egl.rui.dojo.runtime.google_1.7.2. For keystroke details, see “Accessing a remote Dojo Toolkit.”
  2. Create an EGL Rich UI project with a runtime name that matches the following convention: 
    com.ibm.egl.rui.dojo.runtime.<provider>_<version>
    <provider>
    Either google or aol.
    <version>
    The Toolkit version.

    An example project name is com.ibm.egl.rui.dojo.runtime.google_1.7.3.

  3. Change the EGL and Java build paths of the new project:
    1. In the Project Explorer view, right-click the project and then click Properties. The Properties window opens.
    2. Select the EGL Build Path properties page.
    3. On the Projects tab, click Deselect All and then click the check box for the EGL Dojo widget project that is most recently supported; for example, com.ibm.egl.rui.dojo.widgets_2.1.1.
    4. On the Order and Export tab, click the check box for the EGL Dojo widget project.
    5. Select the Java Build Path properties page.
    6. On the Source tab, click Remove as necessary to remove all entries.
    7. Click OK.
  4. Change the content of the WebContent folder:
    1. Expand WebContent and remove all folders and files under that folder.
    2. Replace the deleted content with the files and folders in the WebContent folder of the project mentioned in step 1; for example, the com.ibm.egl.rui.dojo.runtime.google_1.7.2 project.
    3. In the new project, replace the previous version number with the new version number in each of the following two files:
      • WebContent/config/includeDojo.html
      • WebContent/README_<provider>_RUNTIME.html, where <provider> is GOOGLE or another value.

      Ensure that you search for all instances of the previous version number.

  5. Change the EGL build path of the other Rich UI projects from which you want to reference the new runtime project. For keystroke details, see “Editing the EGL build path.”

Feedback