|resources:||Home Mailing List Source Code Bugs Docs|
How To Use the Fast Component Tool
Before starting, some intial assumptions are made.
- You have the Mozilla source tree compiled on your computer.
- You are connected to a network.
- You know how to use the commandline from a shell.
From a shell type the following commands: # change directories to your Mozilla tree $ cd /path/to/mozilla # fetch the creation script $ wget http://fastcomponent.mozdev.org/scripts/fast_component.sh # run the fast_component creation script # without any arguments to see the help menu $ sh fast_component.sh; # to creat a new project in mozilla/extensions called 'spiderman' $ sh fast_component.sh spiderman; # to compile your new project 'spiderman' $ sh fast_component.sh -c spiderman; # to test your new project 'spiderman' $ sh fast_component.sh -t spiderman; # it's that easy!
What does the script output? Details are here.