QA/Firefox 4/Test Plan/Feedback/XPIInstructions

From MozillaWiki
< QA‎ | Firefox 4‎ | Test Plan
Jump to: navigation, search

How to package your Feedback XPI

If you ever need to grab the latest code checkout in an extension form, here's how to do it.

  1. Visit http://hg.mozilla.org/labs/testpilot/summary to see what's been checked in on the tip
  2. Click on the compression type at the top and choose what format you want the files packaged in (eg. "zip")
  3. Save locally. Something named "testpilot-9c89fcace1e5.zip" or similar will get saved
  4. unpackage the compression file to a temp folder
  5. Open up the "extension" subfolder, and highlight everything in there, and then compress them into new archive file (eg. on Mac, it becomes "Archive.zip")
  6. Rename the file with a ".xpi" extension (eg. "testpilot-latest.xpi") Make sure its really a .xpi, and not a .xpi.zip for example.
  7. finally, locate the file and drag and drop it to your browser. Follow the addons installation instructions
 Note: if the extension is marked incompatible with your build, you'll have to edit about:config and create a extensions.checkCompatibility.#.#x = false setting)
 where #.#x == build number.beta (eg. 4.0b)