Hello, world!

I've got a few questions about this article [1], on dependent library
usage in extensions.

I'm writing a little firefox extension that use a shared library of my
own. My development environement is a custom build of firefox. My
sources are sitting in the mozilla/extensions/myextension. I've got an
object directory in mozilla/obj/. My component compiles and I have no
(more) problems to access it.

I would now implement the extension's part that uses my shared
library. I've created a mozilla/extensions/mystub directory, put a
makefile inside and of course a mystub.cpp source file containing an
adaptation of the .cpp file given in [1]. It also compiles fine.

What comes next is a bit fuzzy for me.

* The first question I'm asking is 'Do I still need an install.rdf
  file in my mozilla/extensions/myextension directory?' If my
  understanding of the thing in not too bad, I will no more use
  myextension but rather mystub from the js code. Is it right?

* [1] says that the file structure of the extension directory
  changes. My question is 'Where is the extension direcotory?` Is it
  mozilla/extensions/mystub or mozilla/extensions/myextension or
  someting in my obj dir like mozilla/obj/extensions or even in
  mozilla/obj/xpi-stage/my{extension,stub} or in
  mozilla/obj/dist/bin/extensions/my{stub,[EMAIL PROTECTED]

Thanks for your reply,
-AJ

[1] http://developer.mozilla.org/en/docs/\
        Using_Dependent_Libraries_In_Extension_Components
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to