Re: Registering components under XULRunner 24
Benjamin Smedberg <[email protected]> Mon, 17 Feb 2014 13:41:44 -0500
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
On 2/17/2014 11:07 AM, Christian Sell wrote: > 3. steal a copy of the missing XPCOMUtils.jsm file and put it into the xulrunner/modules directory This should not be necessary. The correct location for this file is within omni.ja, and it seems to be present in the XR27 release. > 3. when building the path for the ComponentRegistrar, dont use AppendRelativePath but rather use one Append call for each path segment AppendRelativePath is supposed to work, but it's possible you ran into issues with Windows path separators: you must use backslashes on Windows and forward slashes on unixy OSes. Lesson learned, though, always check result codes ;-) --BDS