| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <link href="../../jsdtdocs.css" rel="STYLESHEET" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <link rel="stylesheet" type="text/css" href="../content/PLUGINS_ROOT/PRODUCT_PLUGIN/book.css"> |
| <title>Source Folders</title> |
| </head> |
| <body> |
| <h1>Javascript Development Toolkit (JSDT)</h1> |
| <h3 class="NavListTitle">Source Folders</h3> |
| <table> |
| <tr> |
| <td> </td> |
| <td><!-- Start of sub section --> In order to limit the source files in a JavaScript project's Global Scope the JSDT supports specifying project source folders. <br> |
| <br> |
| 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.<br><br> |
| 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 <b><script src='...'></b> tag <sup>1</sup>. |
| <br><br> |
| Source folders are modified in the <b>JavaScript Libraries</b> properties page on the Source Folder tab. (see <b><small><a href="#figure1">Figure 1</a></small></b>).<br><br> |
| <center><img src="./img/s1.jpg"><br><small><b><a name="figure1">Figure 1.</a> JavaScript Source Configuration</b></small></center> |
| <br> |
| |
| <br><br> |
| <small><a name="note1">1.</a> You may still manually specify a source folder in the <b>JavaScript Include Path</b> properties page to exist in each HTML file's Global Scope.</small> |
| <!-- End sub section --> |
| </td> |
| </tr> |
| </table> |
| <br> |
| <p class="runningfooter">(C) Copyright IBM Corporation 2005. All |
| Rights Reserved.<br> |
| IBM is a registered trademark of IBM. All other trademarks are the |
| property of their respective owners.</p> |
| <br> |
| |
| </body> |
| </html> |