| <!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 "update |
| site" 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 "XYZ |
| Plug-in" and "German Fragment" in your workspace already, as well |
| as "Sample Feature" feature project. We will |
| create an update site that can serve "Sample Feature" to the update manager.</p> |
| <ol> |
| <li>Bring up the update site wizard (<b>New->Project->Plug-in |
| Development->Update Site |
| Project</b>)</li> |
| <li>Set the name of the project to "Update Site". Press <b>Finish</b>.</li> |
| </ol> |
| <p>You should now have the "Update Site" project in your workspace. |
| The project should have |
| "site.xml" 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> <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> |