http://openoffice.org/bugzilla/show_bug.cgi?id=117327


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from [email protected]  2011-03-24 08:29:47 ---
fixed on cws jsc341.

Integrate a new config schema and related check to make it possible to
introduce further dependencies for extensions. Required data is the extension
identifier, a list of versions for which the additional dependencies are valid
and the dependencies. The dependencies have to be provided as a quoted xml
string in the same way as in the description.xml of an oxt package. Inclusive
the outer <dependencies> node and the xml namespace.

Example:
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
    oor:name="ExtensionDependencies" oor:package="org.openoffice.Office">
  <node oor:name="Extensions">
    <node oor:name="my.test.SuperExtension" oor:op="replace">
      <prop oor:name="Versions">
        <value>
          <it>1.0</it>
          <it>1.1</it>
        </value>
      </prop>
      <prop oor:name="Dependencies">
        <value>&lt;d:dependencies
xmlns:d=&quot;http://openoffice.org/extensions/description/2006&quot;&gt;&lt;d:OpenOffice.org-maximal-version
d:name=&quot;OpenOffice.org 3.3&quot;
value="3.3"/&gt;&lt;/d:dependencies&gt;</value>
      </prop>
    </node>
</node>
</oor:component-data>

Means the extension "my.test.SuperExtension" versions 1.0 and 1.1 got a further
max version dependency for OOo 3.3. The new dependency prevents the
installation of this extension in a 3.4 office. Or if an older version (1.0 or
1.1) is already installed and the user update the office to 3.4 the extension
gets disabled.

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to