blob: 4abab229a799910c2b3d4607bbf51ebc10c8e442 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. 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">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<title>Setting up an update site project</title>
</head>
<BODY BGCOLOR="#ffffff">
<h2>Setting up an update site project</h2>
<p>An update site project is represented in the workspace with a project that
has a site.xml file at its root.</p>
<p>PDE provides a wizard for setting up an update site project. Typically, you use
this wizard to set up an update site once you are done developing plug-ins,
fragments and features. However, you can create the site project at any stage of development.</p>
<p>By default, an update site project is created local to your workspace. Since you
may want to host multiple versions of your plug-ins and features in this site,
you may want to keep the update site outside the workspace location. In that
case, change the location of the update site project during creation. If the
location you specified already contains the files the wizard is about to create,
it will keep them instead. This will allow you to create this project in more
than one workspace and point at the same shared location.</p>
<h3>Example: Setting up an update site project</h3>
<p>Assuming that you have followed the previous examples, you should have &quot;XYZ
Plug-in&quot; and &quot;German Fragment&quot; in your workspace already, as well
as &quot;Sample Feature&quot; feature project.&nbsp; We will
create an update site that can serve &quot;Sample Feature&quot; to the update manager.</p>
<ol>
<li>Bring up the update site wizard via <b>New &gt; Project &gt; Plug-in
Development &gt; Update Site
Project</b>.</li>
<li>Set the name of the project to &quot;Update Site&quot;. </li>
<li>Set the update location to a non-default location.</li>
<li>Select the <b>Generate a web page</b> listing option.&nbsp; This will help
advertise your features and plug-ins to the world.&nbsp; Click <b>Finish</b>.</li>
</ol>
<p align="center">
<img border="0" src="images/site-new.png" ></p>
<p>&nbsp;</p>
</body>
</html>