Vincent Lam’s Weblog

On Open Source

Incremental Build LAB!!

Thank you for the reply on python: https://vlam6.wordpress.com/2007/09/26/open-source-project-update/#comments

Those two links are really helpful: http://docs.python.org/tut/tut.html ,http://www.diveintopython.org/toc/index.html

Thanks ūüôā

I worked on the Incremental Build Lab today with Rueen, Vijey and TJ!!

I think I did a good job following instruction on the http://zenit.senecac.on.ca/wiki/index.php/Real_World_Mozilla_Incremental_Build_Lab page.

Downloaded the mozilla-browser-source.zip. (5-10minutes)
Unzipping it (20-30minutes)
Building it (20-30minutes)
Make Changes (2 seconds)
Build it again in the in the Object directory (5-10 minutes)
Create a patch (20-30minutes)
Send and Download ppl patch (5 seconds)
Apply the Downloaded Patch (5 seconds)
Check update (5 seconds)
Restore patch (5 seconds)
Check restore (5 seconds)

Everything works up to this point, but I couldn’t get Mike’s thread patch to works.¬† I got the follow messages and I do not know what file is it asking for…. nsThread.cpp? any idea?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
can’t find file to patch at input line 9
Perhaps you should have used the -p or –strip option?
The text leading up to this was:
————————–
|? threads/.gdb_history
|Index: threads/nsThread.cpp
|===================================================================
|RCS file: /cvsroot/mozilla/xpcom/threads/nsThread.cpp,v
|retrieving revision 1.70
|diff -u -p -5 -r1.70 nsThread.cpp
|— threads/nsThread.cpp¬†¬†¬†¬†¬†¬† 11 Jul 2007 03:01:56 -0000¬†¬†¬†¬†¬† 1.70
|+++ threads/nsThread.cpp       25 Aug 2007 15:53:36 -0000
————————–
File to patch:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Advertisements

September 30, 2007 - Posted by | open source

1 Comment »

  1. I haven’t actually tried this lab, but I will try it out and let you know. Thanks for the thread. It will help me understand the lab better.

    Comment by Simon Jung | September 30, 2007 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: