July 30, 2008

Compiling the kernel

Maybe you want to be the first on your block to make a patch for the new kernel. So you need to check out, modify, and compile the new kernel. You may even want to test your changes in Tomcat :)

When Ian wakes up, he might tell me that I am completely wrong - but this worked:

cd ~/dev/sakai-trunk

svn co https://source.sakaiproject.org/svn/kernel/trunk kernel

I check this out into the same directory as sakai - not inside of the sakai directory - so ls looks like this

charles-severances-macbook-air:sakai-trunk csev$ pwd
/Users/csev/dev/sakai-trunk
charles-severances-macbook-air:sakai-trunk csev$ ls -ld kernel sakai
drwxr-xr-x 23 csev staff 782 Jul 30 14:39 kernel
drwxr-xr-x 73 csev staff 2482 Jul 30 15:21 sakai

Then I go into the kernel directory and type this:

mvn -Dmaven.test.skip=true -Dmaven.tomcat.home=/Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23/ clean install sakai:deploy

This is the same thing I type to compile sakai.

It compiles kernel - puts it into my maven repo and then puts it right into my Tomcat!

Voila!

Posted by csev at July 30, 2008 03:31 PM