blob: 4fc1422c15e8f58cff8f2f3565e8bfba6dec7da3 [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
<HEAD>
<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>Similar to plug-ins and fragments, PDE treats update sites as projects. PDE attaches a special &quot;update
site&quot; capability to these projects to be
able to run nature-specific builders. The project must have an update site map (site.xml).</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, 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 (it its own 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 (<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;. Press <b>Finish</b>.</li>
</ol>
<p>You should now have the &quot;Update Site&quot; project in your workspace.&nbsp;
The project should have
&quot;site.xml&quot; file and a site map editor will open for editing. You
should also have two folders in the project: <b>plugins</b> and <b>features</b>.</p>
<p>&nbsp;<br>
<a href="../hglegal2003.htm">
<img src = "../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation and others 2000, 2003" border="0" width="324" height="14"></a>
</p>
</body>
</html>