[Maf] Building from CVS

Christopher Ottley xknight at users.sourceforge.net
Wed Sep 15 13:13:38 EDT 2004


The code I commit to CVS has only been tested by myself on a (currently 
slow) Linux machine and is not guaranteed to work. Note that the 0.4.0 
release is not done as yet, so please don't distribute any CVS based 
XPIs built with these instructions. For those of you so inclined, here 
are instructions on how to build MAF from CVS using the MAF 0.3.0 
release as a base. I had a neat ANT build script before my main 
development machine gave up on me, but this will have to do. Unzip the 
0.3.0 XPI into a folder named common. Unzip the common/chrome/maf.jar 
contents into a folder named src. Your directory structure should look 
like what's below.

common
  +- chrome
  +- components
  +- defaults
  +- scripts
  +- install.js
  +- install.rdf
  +- maf.html
src
  +- content
  +- locale
  +- skin

If you do a CVS update from Mozdev you should see two directories in the 
src folder, components and maf. Copy the contents of the CVS 
src/components folder into the common/components folder. Copy the 
contents of CVS src/maf into the src folder. Delete the local folders 
named "CVS". If you want to make the installation Firefox 1.0PR 
compatible, edit the install.rdf and change the /em:maxVersion/ from 0.9 
to 0.10+. Finally, run the script below from the folder that contains 
the common and src directories. If you're on Windows change the rm -f to 
del and it should work. The script below assumes that Infozip's zip 
program is in your application path.

cd src
rm -f ../common/chrome/maf.jar
zip -r ../common/chrome/maf.jar .
cd ..
rm -f maf-platform-0.4.0.xpi
cd common
zip -r ../maf-platform-0.4.0.xpi .
cd ..

If it works, great, if it doesn't, well wait for an official release or 
until I do another CVS commit.

Regards,
Chris.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/maf/attachments/20040915/f0a2449e/attachment.htm


More information about the Maf mailing list