278
edits
mNo edit summary |
mNo edit summary |
||
| Line 24: | Line 24: | ||
''General documentation [http://developer.mozilla.org/en/docs/Mozilla_Source_Code_(CVS) here]'' | ''General documentation [http://developer.mozilla.org/en/docs/Mozilla_Source_Code_(CVS) here]'' | ||
Source code should be checked out via CVS. To do so you should first create your mozconfig. This is an example mozconfig for calendar | Source code should be checked out via CVS. To do so you should first create your mozconfig. This is an example mozconfig for calendar which can be used: | ||
<pre> | <pre> | ||
| Line 52: | Line 52: | ||
Save this file to your home directory to a file called ".mozconfig". | Save this file to your home directory to a file called ".mozconfig". | ||
Now you can start checking out code. Use the following commands for the | Now you can start checking out code. Use the following commands for the initial checkout. Do this in a folder where you want to have your tree. In general, you should use a directory that does not contain spaces or such, i.e on windows "C:\Documents and Settings\MyUsername\My Documents\mozilla" is not a good choice. | ||
<pre> | <pre> | ||
| Line 61: | Line 61: | ||
=Building the source (first time)= | =Building the source (first time)= | ||
If you have not previously built the source with the tree you just checked out, you need to do a full compile. Depending on platform and computer specs, this might take a while (Example: MacBook Pro, 2.2Ghz, 2GB ram, ~25-30 Minutes) Go have a beer | If you have not previously built the source with the tree you just checked out, you need to do a full compile. Depending on platform and computer specs, this might take a while (Example: MacBook Pro, 2.2Ghz, 2GB ram, ~25-30 Minutes) Go have a beer in between or whatever you prefer :-) This will not be needed as often later on. | ||
Assuming you are still in the mozilla directory you changed to above, now issue the following command: | Assuming you are still in the mozilla directory you changed to above, now issue the following command: | ||
edits