Re: Cannot create a XPConnect extension for Firefox
Yoric <[email protected]> Mon, 18 Oct 2004 20:28:52 +0100
| Newsgroups | gmane.comp.mozilla.devel.xpinstall |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Mike Shaver a écrit :
> Yoric wrote:
>
>> During the last week, I have been attempting to write a XPCom object
>> using JavaScript + XPConnect and Firefox 0.9.1 under Debian/testing.
>
>
> There were a number of fixes related to extension-installed components
> (especially interface-finding) after 0.9.1. I recommend retesting with
> 0.10.1 (1.0PR + the security fix), to at least rule those out. If
> nothing else, the install.rdf file's contents will be very relevant to
> the discussion; that's the most common source of error in installation,
> for me at least.
>
> Mike
Ok, I'll try this if I can get my hands on a newer version.
In the mean time, here is install.rdf:
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>{35e4aa83-1f3a-7ae2-b0bd-a14d3c0e2422}</em:id>
<em:version>0.0.0</em:version>
<!-- Target Application this extension can install into,
with minimum and maximum supported versions. -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>0.9</em:minVersion>
<em:maxVersion>53</em:maxVersion>
</Description>
</em:targetApplication>
<em:name>OpenBERG</em:name>
<em:description>Une bonne description sur ce que fait
votre extension</em:description>
<!-- Packages, Skins and Locales that this extension
registers -->
<em:file>
<Description
about="urn:mozilla:extension:file:openberg.jar">
<em:package>content/</em:package>
</Description>
</em:file>
</Description>
</RDF>