{"id":510,"date":"2008-07-30T12:40:58","date_gmt":"2008-07-30T16:40:58","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=510"},"modified":"2011-12-17T12:27:08","modified_gmt":"2011-12-17T16:27:08","slug":"kernel-1-in-the-house","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2008\/07\/kernel-1-in-the-house\/","title":{"rendered":"Kernel 1 &#8211; In the house"},"content":{"rendered":"<p>Our trunk is now reorganized to define a kernel &#8211; this will be a few days of angst &#8211; the contrib folks will need to react &#8211; Ian has provided a nice XSLT to get the pom.xml files fixed with minimal pain.<br \/>\nThis will also make the 2-5-x branch management a little more dicey for 2-5-3, etc.<br \/>\nProgress is needed and this is a great time to take this plunge &#8211; when we have 2.5.2 in hand &#8211; and the 2-5-x branch is in pretty good shape &#8211; and we have some time before the 2.6 code freeze.<br \/>\nFolks not working on the deep bits of Sakai &#8211; might want to avoid doing an update for a few days &#8211; if you are working in the new Kernel area &#8211; you pretty much need to update and help figure out the new way.<br \/>\nHere is Ian&#8217;s note.<br \/>\nAgain &#8211; thanks for the fine work, Ian!<\/p>\n<p><!--more--><br \/>\nK1 is now integrated in core as of r49761<br \/>\nThere has been 1 casualty akaict, Message Forums wont start due to a<br \/>\nproblem in PermissionLevelManagerImpl with the default permissions. I<br \/>\nhave put a temporary fix in r49761 to allow Sakai to start (big<br \/>\ntraceback in the startup). Sorry to the Message Forums team.<br \/>\nSince this is a major change you will need to clean out and rebuild.<br \/>\nsvn update<br \/>\nmvn clean<br \/>\n# Its a good idea to clean out the local repo to ensure that really<br \/>\ndo get fresh copies of dependencies.<br \/>\nrm -rf ~\/.m2\/repository\/org\/sakaiproject<br \/>\n#Gradebook tests are currently broken (have been for the past few<br \/>\ndays), removing them will enable you to get a Full build with full<br \/>\ntests (such that they are)<br \/>\nrm -rf gradebook\/app\/standalone-app\/src\/test\/<br \/>\n# Some version of maven can resolve ..\/master\/pom.xml in a single<br \/>\nbuild, so build and install the master first<br \/>\ncd master<br \/>\nmvn install<br \/>\n# Do the main build, make 100% certain that your network connection<br \/>\nis *not* going to return a HTTP proxy authentication page, otherwise<br \/>\nyou *will* get HTML instead of Jars at this point<br \/>\ncd ..<br \/>\nmvn install<br \/>\n# Make a cup of tea, eat a pizza, watch a 30 minute movie (as long as<br \/>\nit doesn&#8217;t involve bandwidth)<br \/>\n# You *will* see kernel SNAPSHOT artifacts being downloaded from the<br \/>\nSakai maven repo. You will also see some other sakai artifacts,<br \/>\npulled from various repos including hanging M2 artifacts cause by<br \/>\nRSF. These are Ok (you zapped your org.sakaiproject. local repo)<br \/>\n# Create yourself a *clean* tomcat deployment directory.<br \/>\nmvn sakai:deploy -Dmaven.tomcat.home=\/Users\/ieb\/Caret\/sakai22\/<br \/>\ntomcatkernel\/<br \/>\n# This should deploy a Kernel assembly (downloaded from the maven<br \/>\nrepo) as well as the whole of core.<br \/>\n\/Users\/ieb\/Caret\/sakai22\/tomcatkernel\/bin\/catalina.sh jpda run<br \/>\n# Should startup, go to http:\/\/localhost:8080\/portal ( and after<br \/>\nthat you should see absolutely no difference :) &#8230;. that was worth<br \/>\nit, wasnt it!)<br \/>\n# In the logs, you will see the sakai-kernel-component starting up.<br \/>\nIf you do a svn status you will see a bunch of projects no longer in<br \/>\nexternals<br \/>\nrm -rf entity component event db util cluster jcr<br \/>\nwill clean them up<br \/>\nI have tested the build multiple times now, and will be offline for<br \/>\nthe next few hours, but will pick up again this evening to try and<br \/>\nhelp or fix what I have broken.<br \/>\nIan<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our trunk is now reorganized to define a kernel &#8211; this will be a few days of angst &#8211; the contrib folks will need to react &#8211; Ian has provided a nice XSLT to get the pom.xml files fixed with minimal pain. This will also make the 2-5-x branch management a little more dicey for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-510","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=510"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":2623,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/510\/revisions\/2623"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}