[Deploying Sakai] [Building Sakai] Creating new course types

Tom Hall thall at brocku.ca
Fri Feb 18 09:56:44 PST 2011


Hi Everyone

This did take care of the problem on our test system.  I'll move to 
production next week.

The files that needed to be modified in our environment (in no 
particular order) were:

./webapps/sakai-postem-tool/tools/sakai.postem.xml
./webapps/sitestats-tool/tools/sakai.sitestats.xml
./webapps/polls-tool/tools/sakai.poll.xml
./webapps/sakai-rwiki-tool/tools/sakai.rwiki.xml
./webapps/sakai-web-tool/tools/sakai.iframe.xml
./webapps/sakai-assignment-tool/tools/sakai.assignment.grades.xml
./webapps/osp-common-tool/tools/osp.style.xml
./webapps/messageforums-tool/tools/sakai.forums.xml
./webapps/messageforums-tool/tools/sakai.messages.xml
./webapps/sakai-podcasts/tools/sakai.podcasts.xml
./webapps/sakai-gradebook-tool/tools/sakai.gradebook.tool.xml
./webapps/sakai-signup-tool/tools/sakai.signup.xml
./webapps/sakai-rutgers-linktool/tools/rsn.linktool.pentaho.xml
./webapps/sakai-rutgers-linktool/tools/sakai.rutgers.linktool.xml
./webapps/sakai-metaobj-tool/tools/sakai.metaobj.xml
./webapps/samigo-app/tools/sakai.samigo.tool.xml
./webapps/sakai-news-tool/tools/sakai.news.xml
./webapps/imsblti/WEB-INF/sakai/IMSBLTIPortlet.xml
./webapps/sakai-calendar-tool/tools/sakai.schedule.xml
./webapps/sakai-reports-tool/tools/sakai.reports.xml
./webapps/osp-wizard-tool/tools/osp.wizard.xml
./webapps/sakai-mailarchive-tool/tools/sakai.mailbox.xml
./webapps/sakai-syllabus-tool/tools/sakai.syllabus.xml
./webapps/sakai-sections-tool/tools/sakai.sections.xml
./webapps/sakai-sections-tool/sakai/tools/sakai.sections.xml
./webapps/sakai-blogger-tool/tools/blogger.xml
./webapps/sakai-citations-tool/tools/sakai.citation.tool.xml
./webapps/osp-glossary-tool/tools/osp.glossary.xml
./webapps/osp-presentation-tool/tools/osp.presentation.layout.xml
./webapps/osp-presentation-tool/tools/osp.presentation.template.xml
./webapps/osp-presentation-tool/tools/osp.presentation.xml
./webapps/sakai-chat-tool/tools/sakai.chat.xml
./webapps/sakai-announcement-tool/tools/sakai.announcements.xml
./webapps/sakai-roster-tool/tools/sakai.site.roster.xml
./webapps/osp-matrix-tool/tools/osp.matrix.xml
./webapps/osp-matrix-tool/tools/osp.evaluation.xml
./webapps/sakai-search-tool/tools/sakai.search.xml
./webapps/sakai-site-manage-tool/tools/sakai.sitesetup.xml
./webapps/sakai-site-manage-tool/tools/sakai.siteinfo.xml
./webapps/sakai-content-tool/tools/sakai.dropbox.xml
./webapps/sakai-content-tool/tools/sakai.resources.xml


Thanks again

Tom

On 2/18/2011 8:46 AM, Tom Hall wrote:
> Thanks everyone.  I think this is the solution.  I'll let you know.
>
> Tom
>
> On 2/17/2011 3:05 PM, Matthew Jones wrote:
>> Agreed, this was part of the current (and past) University of 
>> Michigan CTools deployment process. The current process uses a xslt 
>> to transform the tool registrations to add categories that are custom 
>> to CTools (mostly for gradtools).
>>
>> The transform is here
>> https://source.sakaiproject.org/svn/msub/umich.edu/ctools/ctools-buildscripts/groovybuild/xslt/fixcategory.xslt
>>
>> It has a dependency on verb.xsl also in that same directory for 
>> removing categories. (For correctly commenting out the xml, couldn't 
>> figure it out without this mode)
>>
>> Assiuming xalan and serializers are in $LIBDIR 
>> (http://www.ibiblio.org/maven/xalan/jars/) you'd run it with 
>> something like this
>> java -cp $LIBDIR/xalan-2.7.1.jar:$LIBDIR/serializer-2.7.1.jar org.apache.xalan.xslt.Process -PARAM 'category.add' 'adhoc' -XSL fixcategory.xslt -IN sakai.resources.xml
>> You'd have to put this in a 'find . -name "*.xml" | xargs . . . ' to 
>> find all of the xmls files but it should work out. I'm not 100% sure 
>> as the build process uses groovy to recurse through the xml files 
>> looking for matches to transform.
>>
>> https://source.sakaiproject.org/svn/msub/umich.edu/ctools/ctools-buildscripts/groovybuild/src/main/groovy/edu/umich/ctools/Builder.groovy
>>
>> -Matthew
>>
>> On Thu, Feb 17, 2011 at 2:46 PM, Anand Mehta <anand.mehta at yahoo.com 
>> <mailto:anand.mehta at yahoo.com>> wrote:
>>
>>     Hi Tom,
>>
>>     You probably have to add that site type to each tool's
>>     registration file. Please see slides 6-17 here:
>>     http://www.slideshare.net/jleasiaum/configuring-sakai-boston09.
>>     You should also duplicate !group.template.course for group
>>     permissions.
>>     Thanks,
>>     Anand
>>
>>
>>     ------------------------------------------------------------------------
>>     *From:* Tom Hall <thall at brocku.ca <mailto:thall at brocku.ca>>
>>     *To:* sakai-dev Developers <sakai-dev at collab.sakaiproject.org
>>     <mailto:sakai-dev at collab.sakaiproject.org>>;
>>     "production at collab.sakaiproject.org
>>     <mailto:production at collab.sakaiproject.org>"
>>     <production at collab.sakaiproject.org
>>     <mailto:production at collab.sakaiproject.org>>
>>     *Sent:* Thu, February 17, 2011 1:27:36 PM
>>     *Subject:* [Deploying Sakai] Creating new course types
>>
>>     Hi everyone
>>
>>     We need to create an additional site type with the same roles as our
>>     'course' type.  The difference between the two site types is to
>>     be that
>>     'course' will not allow the join functionality while the new type
>>     'adhoc' will.  I created a copy of the !site.template.course as
>>     !site.template.adhoc (using the 'save as' operation from
>>     !site.tempate.course.
>>
>>     We are able to create sites and everything appears to be OK until an
>>     attempt is made to add tools via the site Info tool and selecting
>>     Edit
>>     Tools.  The list of tools appears and can be selected.  Pressing the
>>     Continue button produces a list of tools which only includes Home
>>     (sakai.iframe.site) rather than the complete list of existing tools
>>     added during the creation process (via web service calls) and the
>>     new
>>     ones added via the web page.  Clicking the finish button results
>>     in all
>>     tools being removed from the site.  It also appears that the page
>>     property 'is_home_page' is not being added to the 'Home'
>>     (sakai.iframe.site) tool via the web service.  The web service calls
>>     being used are the same ones that we use to create our course
>>     sites with
>>     the site type set accordingly.
>>
>>     Does anyone have any suggestions?
>>
>>     Thanks
>>
>>     Tom
>>     _______________________________________________
>>     production mailing list
>>     production at collab.sakaiproject.org
>>     <mailto:production at collab.sakaiproject.org>
>>     http://collab.sakaiproject.org/mailman/listinfo/production
>>
>>     TO UNSUBSCRIBE: send email to
>>     production-unsubscribe at collab.sakaiproject.org
>>     <mailto:production-unsubscribe at collab.sakaiproject.org> with a
>>     subject of "unsubscribe"
>>
>>
>>     _______________________________________________
>>     sakai-dev mailing list
>>     sakai-dev at collab.sakaiproject.org
>>     <mailto:sakai-dev at collab.sakaiproject.org>
>>     http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>>     TO UNSUBSCRIBE: send email to
>>     sakai-dev-unsubscribe at collab.sakaiproject.org
>>     <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>>     subject of "unsubscribe"
>>
>>
>
>
> _______________________________________________
> production mailing list
> production at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/production
>
> TO UNSUBSCRIBE: send email to production-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20110218/83adaa22/attachment-0001.html 


More information about the production mailing list