blob: 77ef4213f87b2d79edd0991fd52b6d92dadfdd9f [file] [log] [blame]
<!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">
<meta content="Copyright (c) 2000, 2008 IBM Corporation and others. All rights
reserved. This program and the accompanying materials are made available under
the terms of the Eclipse Public License v1.0 which accompanies this
distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.
Contributors: IBM Corporation - initial API and implementation"
name="copyright" />
<title>Adding a library to the global scope</title>
</head>
<body>
<h1>Javascript Development Toolkit (JSDT)</h1>
<h3 class="NavListTitle">Adding a library to the Global Scope</h3>
<table>
<tr>
<td>&nbsp;</td>
<td><!-- Start of sub section --> To add a JavaScript Library to a project follow these instructions: <br>
<br>
<table>
<tr>
<td colspan="2">
<b>1.</b> Right-click on the project and select <b><i>Properties</i></b>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/add/1.jpg"></td>
</tr>
<tr>
<td colspan="2">
<br><b>2.</b> Expand the <b><i>JavaScript</i></b> properties page in the left navigation bar and select the <b><i>JavaScript Libraries page</i></b>. Then click the <b><i>Add Runtime Library</i></b> to bring up the Libraries Selection dialog.
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/add/2.jpg"></td>
</tr>
<tr>
<td colspan="2">
<br><b>3.</b> In the <b><i>Add Library</i></b> dialog select an available library and click <b><i>Next</i></b>. <!-- <br>(The other fields are optional for more advanced project configurations.)-->
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/add/3.jpg"></td>
</tr>
<tr>
<td colspan="2">
<br><b>4.</b> Some libraries may have additional configuration pages. Fill them out as needed. Complete the library specific configuration by clicking <b><i>Finish</i></b> on the last page. <!-- <br>(The other fields are optional for more advanced project configurations.)-->
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/add/4.jpg"></td>
</tr>
<tr>
<td colspan="2">
<br><b>5.</b> Finally, click <b><i>OK</i></b> to close the <b><i>JavaScript Libraries</i></b> page. <!-- <br>(The other fields are optional for more advanced project configurations.)-->
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/add/5.jpg"></td>
</tr>
</table>
<!-- End sub section -->
</td>
</tr>
</table>
</body>
</html>