Javascript Development Toolkit (JSDT)

  In order to limit the source files in a JavaScript project's Global Scope the JSDT supports specifying project source folders.

JavaScript source files (and sub folders) within a source folder is added to a projects Global Scope. By default the root folder of a JavaScript project is a source folder. So for most instances no source folder configuration is necisary.

For HTML projects there are no source folder by default. HTML files have their own Global Scope that's a combination of libraries from the project and any source files included through HTML using <script src='...'> tag 1.

Source folders are modified in the JavaScript Libraries properties page on the Source Folder tab. (see Figure 1).


Figure 1. JavaScript Source Configuration



1. You may still manually specify a source folder in the JavaScript Include Path properties page to exist in each HTML file's Global Scope.

(C) Copyright IBM Corporation 2005. All Rights Reserved.
IBM is a registered trademark of IBM. All other trademarks are the property of their respective owners.