JavaScript:ActionMonkey: Difference between revisions

Jump to navigation Jump to search
Line 25: Line 25:
Things work slightly differently in Mercurial-land.  The following might make more sense if you're already familiar with building Mozilla in the old-school CVS world.  But even if you're not, you can give it a try:
Things work slightly differently in Mercurial-land.  The following might make more sense if you're already familiar with building Mozilla in the old-school CVS world.  But even if you're not, you can give it a try:


* Install Mercurial perquisites http://www.selenic.com/mercurial/
* Install Mercurial.  (On Mac with MacPorts, <tt>sudo port install mercurial</tt>)
* Install Mercurial.  (On Mac with MacPorts, <tt>sudo port install mercurial</tt>)
* Install Python 2.4 or later.  (<tt>sudo port install python24</tt>)
* Install Python 2.4 or later.  (<tt>sudo port install python24</tt>)
* Install GNU make 3.80 or later.  (<tt>sudo port install gmake</tt>, but watch out: an older version is probably still in your <tt>PATH</tt>.)
* Install GNU make 3.81 or later.  (<tt>sudo port install gmake</tt>, but watch out: an older version is probably still in your <tt>PATH</tt>.)
* <tt>hg clone http://hg.mozilla.org/actionmonkey</tt>
* <tt>hg clone http://hg.mozilla.org/actionmonkey</tt>
* <tt>cd actionmonkey</tt>
* <tt>cd actionmonkey</tt>
* <tt>python client.py</tt> - ''(The <tt>actionmonkey</tt> repository doesn't contain all the source files you need.  This Python script grabs all the other source files (from other repositories, both CVS and hg) and puts them into your tree in the right places.)''
* <tt>python client.py checkout</tt> - ''(The <tt>actionmonkey</tt> repository doesn't contain all the source files you need.  This Python script grabs all the other source files (from other repositories, both CVS and hg) and puts them into your tree in the right places.)''
* Then build as you normally would.  (Hint:  For a quick debug build of <tt>[http://developer.mozilla.org/en/docs/Introduction_to_the_JavaScript_shell js]</tt>, try <tt>cd js/src; make -f Makefile.ref</tt>.)
* Then build as you normally would.  (Hint:  For a quick debug build of <tt>[http://developer.mozilla.org/en/docs/Introduction_to_the_JavaScript_shell js]</tt>, try <tt>cd js/src; make -f Makefile.ref</tt>.)


39

edits

Navigation menu