Lab: Creating a Binary C++ XPCOM Component
Finally got the Creating a Binary C++ XPCOM Component lab working. here is the steps and trick i used.
1. have a firefox debug build ready.
2. create firstxpcom, firstxpcom/public, and firstxpcom/src folder in the mozilla/extensions folder
3. generate a UUID with the “uuidgen” command, create IFirstXpcom.id with the UUID generated.
4. create three Makefile.in (copy and paste the exact code from the wiki)
5. create the “install.rdf” file
6. run “../build/autoconf/make-makefile extensions/firstxpcom” in the object directory, to create the make object folder/file
7. copy “FirstXpcom.cpp” from the wiki to the firstxpcom/src folder.
8. run make at the objdir of firstxpcom, firstxpcom/public and firstxpcom/src
*That should do the trick. Now, to test.
9. install the javascript shell extension, if there is a security problem installing. read this “hints”
10. Run your debug build of firefox and follow the rest of the lab.
-
Recent
- Our 0.3 Release!
- Distcc?!?! Woo!
- Lab 5 Completed
- Redo Lab 1-2 & Lab 3-4 Posted
- Lab: Creating a Binary C++ XPCOM Component
- Problem with Fixing a bug in Thunderbird Lab
- Helping on SQLite/CVS Editor/Testing
- More for the Translator Tool 0.2
- Our 0.2
- re: my Watching@bugzilla begins
- Modifying the Browser Lab (continued! done)
- Modifying the Browser Lab
-
Links
-
Archives
- December 2007 (1)
- November 2007 (7)
- October 2007 (9)
- September 2007 (11)
-
Categories
-
RSS
Entries RSS
Comments RSS