Re: Registering components under XULRunner 24

Christian Sell <[email protected]> Mon, 17 Feb 2014 08:07:38 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
ok, I finally got it registered, there was one change that I had applied to the wrong copy of one file. So, in summary, heres the steps I had to go through:

1. create a manifest file with the described entries
2. change the component javascript file and add the generateNSGetFactory thingy
3. steal a copy of the missing XPCOMUtils.jsm file and put it into the xulrunner/modules directory
3. when building the path for the ComponentRegistrar, dont use AppendRelativePath but rather use one Append call for each path segment

3 days of headbanging are over..