blob: 64c5a1f05d3fc3c71d2b0f5afe5d40e802c142d5 [file] [log] [blame]
<!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>Synchronizing versions</title>
</head>
<BODY BGCOLOR="#ffffff">
<h2>Synchronizing versions</h2>
<p>The versions of plug-ins and fragments should be synchronized with the
version of the packaged feature so that you can manage plug-in, fragment, and
feature versions consistently.&nbsp; Developers typically ignore individual
manifest versions until it is time to deploy their features.&nbsp; The Update
Manager uses feature versions to determine whether a plug-in is older or newer
than one already installed.&nbsp; Plug-ins and fragments need to follow the same
version number conventions so there is no confusion about which plug-in version belongs
to which feature version.</p>
<p>The most convenient way to synchronize versions is to pick the version of the
feature and force it into all the plug-ins and fragments that the feature references. This operation updates manifest files, so you are required to close all the manifest editors
before proceeding.</p>
<h3>Example: Synchronizing versions in the feature editor</h3>
<p>We will take our ongoing example and force the feature version (1.2.2) into
&quot;XYZ Plug-in&quot; and &quot;German Fragment.&quot;</p>
<ol>
<li>Open the component manifest editor.</li>
<li>Select <b>Synchronize versions...</b> from the popup menu. A wizard will open.</li>
<li>Select the first radio button (&quot;Force feature version...&quot;). Press
<b>Finish</b>.</li>
<li>Switch to the Content page verify that the versions are now
1.2.2.</li>
<li>Double-click on &quot;XYZ Plug-in&quot; and &quot;German Fragment&quot;
objects and
verify versions in their corresponding manifest editors.</li>
</ol>
<p align="center">
<img border="0" src="images/feature-synchronizing.gif" alt="Feature version synchronization wizard" width="438" height="414"></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>