| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2006, 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <script language="JavaScript" type="text/javascript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script> |
| <title>Update Site Project</title> |
| <link href="../../book.css" rel="stylesheet" type="text/css"> |
| </head> |
| |
| <body> |
| <h1>Update Site Project </h1> |
| <p>The<strong> New Update Site Project </strong> creation wizard is available under <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewSiteProjectWizard)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Open the New Site Project wziard"><strong>File > New > Project... > Plug-in Development > Update Site Project </strong></a> |
| from the top level menu. </p> |
| <p><img src="../../images/new_wizards/site.PNG" alt="Update Site Project" ></p> |
| |
| <h3>Project Settings </h3> |
| <p>The <strong>Project Name</strong> for the update site project can be any valid directory name. </p> |
| <p>The project <strong>Location</strong> field specifies the default location as a subdirectory nested inside the workspace location. The project location can be changed to any writable location by unchecking the <strong>Use default location</strong> checkbox and entering the location of choice.</p> |
| |
| <h3>Web Resources</h3> |
| <p>The <strong>Generate a web page listing all available features within the site</strong> option generates several web files that can provide an HTML index preview of the update site contents. </p> |
| <p>The default location for the <strong>Web resources location</strong> is a <em>web/ </em>folder; but, this location can be overridden by the user. </p> |
| |
| <h3>Update Site Project Structure</h3> |
| <p>When an update site project is created, its manifest file will open in the PDE site manifest editor. An Update site project has a <em>site.xml</em> file located at its root. If the option to create a web page is chosen in the wizard, the project will also contain a <em>web/</em> folder and an <em>index.html</em> file located at its root. </p> |
| <p><img src="../../images/new_wizards/site_explorer.PNG" alt="Site Explorer" ></p> |
| |
| |
| </body> |
| </html> |