My favorites | Sign in
Logo
             
Changes to /branches/readme.txt
r659 vs. r1361   Edit
  Compare: vs.   Format:
Revision r1361
Go to: 
Project members, sign in to write a code review
/branches/readme.txt   r659 /branches/readme.txt   r1361
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 performance -- tests comparing versions and features 6 performance -- tests comparing versions and features
7 ----- 7 -----
8 Building: 8 Building:
9 9
10 Each branch has a build.xml for ant. 10 Each branch has a build.xml for ant.
11 Each branch has branch.properties giving the branch version number 11 Each branch has branch.properties giving the branch version number
12 for firebug1.2, branch.properties is in content/firebug directory 12 for firebug1.2, branch.properties is in content/firebug directory
13 13
14 ant build.xml files use local.properties file that you must create. 14 ant build.xml files use local.properties file that you must create.
15 15
16 ant 16 ant
17 builds distribution 17 builds distribution
18 18
19 ant dev-setup 19 ant dev-setup
20 expands install.rdf, and creates links for direct loading of source into firefox 20 expands install.rdf, and creates links for direct loading of source into firefox
21 21
22 ant unexplore
23 Builds by copy to the branch to branches/eval and removes any line with /*@explore*/,
24 changes the branch.properties to remove X from the release number,
25 then builds with ant createBranchXPI. Result in branch subdir "dist".
26
27 ----- 22 -----
28 23
29 24
30 Setup for development by reading the source directly into Firefox: 25 Setup for development by reading the source directly into Firefox:
31 26
32 Source: 27 Source:
33 make directory 'firebug' 28 make directory 'firebug'
34 Use subversion (svn) to checkout http://fbug.googlecode.com/svn/ firebug 29 Use subversion (svn) to checkout http://fbug.googlecode.com/svn/ firebug
35 Remember the full path to this 'firebug' directory. 30 Remember the full path to this 'firebug' directory.
36 31
37 Profile: 32 Profile:
38 Create profile: 33 Create profile:
39 cmdline>firefox.exe -ProfileManager 34 cmdline>firefox.exe -ProfileManager
40 CreateProfile eg "firebug1.2", use "Choose Folder" then "Make New Folder" so the name is "firebug1.2" 35 CreateProfile eg "firebug1.2", use "Choose Folder" then "Make New Folder" so the name is "firebug1.2"
41 Start Firefox 36 Start Firefox
42 Exit Firefox 37 Exit Firefox
43 Go back to your source, eg firebug/branches/firebug1.2 38 Go back to your source, eg firebug/branches/firebug1.2
44 create local.properties, here's mine, adjust for your paths: 39 create local.properties, here's mine, adjust for your paths:
45 install.dir=C:/Documents and Settings/John J. Barton/Application Data/Mozilla/Firefox/Profiles/firebug1.2 40 install.dir=C:/Documents and Settings/John J. Barton/Application Data/Mozilla/Firefox/Profiles/firebug1.2
46 update.xpi.path=http://fireclipse.xucia.com/files/fireclipse 41 update.path=http://getfirebug.com/releases
47 update.rdf.path=http://fireclipse.xucia.com/files/fireclipse
48 42
49 Links: 43 Links:
50 ant dev-setup 44 ant dev-setup
51 45
52 Go: 46 Go:
53 Start Firefox. 47 Start Firefox.
54 Every time you change firebug source, exit Firefox and immediately restart. 48 Every time you change firebug source, exit Firefox and immediately restart.
55 49
56 Tracing: 50 Tracing:
57 51
58 On the development branches tracing output can be sent to the OS console (via window.dump()). Some ways 52 On the development branches tracing output can be sent to the OS console (via window.dump()). Some ways
59 this can work: 53 this can work:
60 -- linux, run firefox from command line 54 -- linux, run firefox from command line
61 -- win32, run firefox from Windows->Start->Run->cmd prompt 55 -- win32, run firefox from Windows->Start->Run->cmd prompt
62 -- Run from eclipse external tool. 56 -- Run from eclipse external tool.
63 -- in about:config or in your profile directory user.js set browser.dom.window.dump.enabled 57 -- in about:config or in your profile directory user.js set browser.dom.window.dump.enabled
64 Tracing is controlled in FBTrace->Options 58 Tracing is controlled in FBTrace->Options
65 59
Hosted by Google Code