Accessing an updated remote Dojo Toolkit
To access a remote Dojo Toolkit that was updated after the product shipped, do as follows:
- 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. - 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. - Change the EGL and Java™ build
paths of the new project:
- In the Project Explorer view, right-click the project and then click Properties. The Properties window opens.
- Select the EGL Build Path properties page.
- 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. - On the Order and Export tab, click the check box for the EGL Dojo widget project.
- Select the Java Build Path properties page.
- On the Source tab, click Remove as necessary to remove all entries.
- Click OK.
- Change the content of the WebContent folder:
- Expand WebContent and remove all folders and files under that folder.
- 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.2project. - In the new project, replace the previous version number with the
new version number in each of the following two files:
WebContent/config/includeDojo.htmlWebContent/README_<provider>_RUNTIME.html, where <provider> is GOOGLE or another value.
Ensure that you search for all instances of the previous version number.
- 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.