# Configuring a Dojo Toolkit Runtime

The Dojo Toolkit runtime does not come shipped with the the Eclipse Dojo plugins. The Dojo toolkit must be download from the Dojo site at http://dojotoolkit.org/ and configured to the ATF infrastructure. Download the Dojo Toolkit and unzip the toolkit into a directory.

Open the ATF Preference page for defining Installed AJAX Runtimes, Select Window > Preferences... > ATF > Installed AJAX Runtimes

Click the "Add.." button to add a runtime.

Select the DoJo Toolkit from the "Runtime Type" drop down menu. If the DoJo runtime is not in the drop down menu, the base runtime plugins for that Dojo haven't been installed into eclipse. Example implementations of different runtime plugins are available from the ATF site on eclipse (www.eclipse.org/atf).

Fill in the "New AJAX Runtime Instance"

- Runtime Name - A name to describe the runtime (e.g. myDojo)
- Runtime Location - The location of the Runtime. For Dojo this is the directory that contains the Dojo.js file. The ATF infrastructure will access the runtime from this directory. Be careful not to delete this directory.

Click the "OK" button. Make the newly define runtime the default version of the runtime used by ATF. Select the newly define runtime on the "Installed AJAX Runtimes" preference page and press the "Set as default" button. Multiple Dojo runtimes can be defined and ATF will use the one that is set as default.

Copyright (c) 2006, 2007 IBM Corporation and others. All Rights Reserved.