You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.


Building The Extension

The code is in the Mozilla CVS server. It is available on trunk, and the main branches in the mozilla/extensions/xforms directory. Here are the things that you'll have to do to build it:

  • You'll need to add xforms and schema-validation to the extensions list in your .mozconfig if you are building either 1.8 branch or trunk. Building schema-validation on the 1.8 branch also requires webservices which itself requires xmlextras.
    • So for a trunk build your .mozconfig will need to have:
      ac_add_options --enable-extensions="default,xforms,schema-validation"
    • For a 1.8 branch build your .mozconfig will need to have:
      ac_add_options --enable-extensions="default,xmlextras,webservices,schema-validation,xforms"
  • Our xforms:range implementation requires canvas. Canvas is built by default on the trunk, but not on the branches. If you are doing a 1.8 branch build, make sure that your .mozconfig contains:
    ac_add_options --enable-canvas
  • Use make like normal to pull and build the tree.