| /branches/readme.txt r1361 | /branches/readme.txt r1498 | ||
| 1 | http://fbug.googlecode.com/svn/branches/ | 1 | http://fbug.googlecode.com/svn/branches/ |
|---|---|---|---|
| 2 | eval -- release source (no tracing) | 2 | eval -- release source (no tracing) |
| 3 | firebug1.1 -- stable source with tracing | 3 | firebug1.1 -- stable source with tracing |
| 4 | firebug1.2 -- feature-add source with tracing | 4 | firebug1.2 -- feature-add source with tracing |
| 5 | explore -- abandoned | 5 | explore -- abandoned |
| 6 | trunk -- abandoned | ||
| 6 | performance -- tests comparing versions and features | 7 | performance -- tests comparing versions and features |
| 8 | ----- | ||
| 9 | |||
| 10 | Highly recommended: | ||
| 11 | https://developer.mozilla.org/En/Setting_up_extension_development_environment | ||
| 12 | |||
| 7 | ----- | 13 | ----- |
| 8 | Building: | 14 | Building: |
| 9 | 15 | ||
| 10 | Each branch has a build.xml for ant. | 16 | Each branch has a build.xml for ant. |
| 11 | Each branch has branch.properties giving the branch version number | 17 | Each branch has branch.properties giving the branch version number |
| 12 | for firebug1.2, branch.properties is in content/firebug directory | 18 | for firebug1.2, branch.properties is in content/firebug directory |
| 13 | 19 | ||
| 14 | ant build.xml files use local.properties file that you must create. | 20 | ant build.xml files use local.properties file that you must create. |
| 15 | 21 | ||
| 16 | ant | 22 | ant |
| 17 | builds distribution | 23 | builds distribution |
| 18 | 24 | ||
| 19 | ant dev-setup | 25 | ant dev-setup |
| 20 | expands install.rdf, and creates links for direct loading of source into firefox | 26 | expands install.rdf, and creates links for direct loading of source into firefox |
| 21 | 27 | ||
| 22 | ----- | 28 | ----- |
| 23 | 29 | ||
| 24 | 30 | ||
| 25 | Setup for development by reading the source directly into Firefox: | 31 | Setup for development by reading the source directly into Firefox: |
| 26 | 32 | ||
| 27 | Source: | 33 | Source: |
| 28 | make directory 'firebug' | 34 | make directory 'firebug' |
| 29 | Use subversion (svn) to checkout http://fbug.googlecode.com/svn/ firebug | 35 | Use subversion (svn) to checkout http://fbug.googlecode.com/svn/ firebug |
| 30 | Remember the full path to this 'firebug' directory. | 36 | Remember the full path to this 'firebug' directory. |
| 31 | 37 | ||
| 32 | Profile: | 38 | Profile: |
| 33 | Create profile: | 39 | Create profile: |
| 34 | cmdline>firefox.exe -ProfileManager | 40 | cmdline>firefox.exe -ProfileManager |
| 35 | CreateProfile eg "firebug1.2", use "Choose Folder" then "Make New Folder" so the name is "firebug1.2" | 41 | CreateProfile eg "firebug1.2", use "Choose Folder" then "Make New Folder" so the name is "firebug1.2" |
| 36 | Start Firefox | 42 | Start Firefox |
| 37 | Exit Firefox | 43 | Exit Firefox |
| 38 | Go back to your source, eg firebug/branches/firebug1.2 | 44 | Go back to your source, eg firebug/branches/firebug1.2 |
| 39 | create local.properties, here's mine, adjust for your paths: | 45 | create local.properties, here's mine, adjust for your paths: |
| 40 | install.dir=C:/Documents and Settings/John J. Barton/Application Data/Mozilla/Firefox/Profiles/firebug1.2 | 46 | install.dir=C:/Documents and Settings/John J. Barton/Application Data/Mozilla/Firefox/Profiles/firebug1.2 |
| 41 | update.path=http://getfirebug.com/releases | 47 | update.path=http://getfirebug.com/releases |
| 42 | 48 | ||
| 43 | Links: | 49 | Links: |
| 44 | ant dev-setup | 50 | ant dev-setup |
| 45 | 51 | ||
| 46 | Go: | 52 | Go: |
| 47 | Start Firefox. | 53 | Start Firefox. |
| 48 | Every time you change firebug source, exit Firefox and immediately restart. | 54 | Every time you change firebug source, exit Firefox and immediately restart. |
| 49 | 55 | ||
| 50 | Tracing: | 56 | Tracing: |
| 51 | 57 | ||
| 52 | On the development branches tracing output can be sent to the OS console (via window.dump()). Some ways | 58 | On the development branches tracing output can be sent to the OS console (via window.dump()). Some ways |
| 53 | this can work: | 59 | this can work: |
| 54 | -- linux, run firefox from command line | 60 | -- linux, run firefox from command line |
| 55 | -- win32, run firefox from Windows->Start->Run->cmd prompt | 61 | -- win32, run firefox from Windows->Start->Run->cmd prompt |
| 56 | -- Run from eclipse external tool. | 62 | -- Run from eclipse external tool. |
| 57 | -- in about:config or in your profile directory user.js set browser.dom.window.dump.enabled | 63 | -- in about:config or in your profile directory user.js set browser.dom.window.dump.enabled |
| 58 | Tracing is controlled in FBTrace->Options | 64 | Tracing is controlled in FBTrace->Options |
| 59 | 65 | ||