JavaScript:ActionMonkey: Difference between revisions

Jump to navigation Jump to search
(→‎How to build: keep it simple)
Line 23: Line 23:
=== How to build ===
=== How to build ===


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:
You should be able to build a working JS shell or Firefox using these steps.  If it doesn't work for you, please [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=jorendorff%40mozilla.com&bug_severity=normal&bug_status=NEW&component=Build%20Config&form_name=enter_bug&product=Core&short_desc=ActionMonkey%3A%20build%20is%20broken&version=Other%20Branch file a bug using this link] (you might need to log into Bugzilla first).


* Install Python 2.4 or later.
* Install Python 2.4 or later.
Line 32: Line 32:
* <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.)''
* <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>.)
You should be able to build a working JS shell or Firefox this way.  If it doesn't work for you, please file a bug with "ActionMonkey" in the summary and assign it to <tt>jorendorff</tt>.


''Note:  If you plan on using Mercurial for active development, you should consider installing a 3-way merge program, as described [http://www.selenic.com/mercurial/wiki/index.cgi/MergeProgram here].''
''Note:  If you plan on using Mercurial for active development, you should consider installing a 3-way merge program, as described [http://www.selenic.com/mercurial/wiki/index.cgi/MergeProgram here].''
638

edits

Navigation menu