blob: d837ab17d8e1cd9d5f9ed726f41ceb512cd1a441 [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 JavaScript file to a project</title>
</head>
<body>
<h1>Javascript Development Toolkit (JSDT)</h1>
<h3 class="NavListTitle">Adding a JavaScript file to a Project</h3>
<table>
<tr>
<td>&nbsp;</td>
<td><!-- Start of sub section --> To add a JavaScript source file 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>New</i></b> --> <b><i>Other</i></b>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/newjs/1.jpg"></td>
</tr>
<tr>
<td colspan="2">
<br><b>2.</b> In the New Wizzard navigate to the <b><i>Web</i></b> Folder and exapnd it to reveal the <b><i>JavaScript</i></b> entry. Select <b><i>JavaScript</i></b> and click <b><i>Next</i></b>.
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/newjs/2.jpg"></td>
</tr>
<tr>
<td colspan="2">
<br><b>3.</b> Type a file name name in the <b><i>File name</i></b> field and click <b><i>Finish</i></b>. <!-- <br>(The other fields are optional for more advanced project configurations.)-->
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><br><img src="./img/newjs/3.jpg"></td>
</tr>
</table>
<!-- End sub section -->
</td>
</tr>
</table>
</body>
</html>