Sousa Devel Notes v3a

Jun 4, 2008

Peter Knoop created a Contrib site in Confluence for Sousa. Moved documentation from personal site to this new site.

Jun. 6, 2008

Started work on Sousa v3, initially focused on getting Sousa to work in Sakai 2.5.x. The following components needs POMs that work:

Component

Builds

Deploys

sousa-api

(tick)

(tick)

sousa-impl/impl

(tick)

(tick)

sousa-impl/pack

(tick)

(tick)

sousa-util

(tick)

(tick)

sousa-page-tool

(tick)

(tick)

sousa-seq-tool

(tick)

(tick)

(Follow-on work done on 7/14/08 and 7/15/08)

June. 19, 2008

Antranig recommends the following project https://source.sakaiproject.org/contrib/programmerscafe/blogwow/trunk as an example of RSF using Maven2.

(Subsequently updated the LearningMate CSV utility to Maven 2.x, which seems to build and deploy just fine. All maven 2.x work for Sousa is being done on Mark's base computer (not his laptop).

June 29, 2008

Project Coordination Meeting at the Ninth Sakai conference. As I was preparing to demo Sousa to the Content and Authoring break out sessions, I discovered (to my horror) that Sousa was completely broken. No content was being displayed. Now I knew that I'd been working hard on the CC-Installer and came to the conclusion that I had corrupted my development environment.

Well, in a sense, I had. Last week I changed the Sakai config file to force CHS to use file storage rather than database store. All previous Sousa data was in the database, which is why it couldn't find it.

June 30, 2008

Moved remaining three pages of Sousa documentation from my personal space (MJN) to the Sousa contrib space (SOUSA). These include:

  • Adding New Content Elements
  • Plug-in Page Elements
  • Sousa Page Layout

These may not be up to date, but at least the text and illustrations are moved over so that they CAN be updated.

July 1, 2008

A couple of problems noted during the Sousa presentation in Paris:

  1. A label is broken in Sousa Page on one of the edit views.
  2. Sequencer couldn't display a sousa page.

July 5, 2008 - Paris to Philadelphia Flight

Decided to implement page and media object deletion.
Created DeletePageProducer.java and DeletePageParameters.java.
Created delpage.html in the templates directory.

Got confirm delete page to view.

Next Steps

  • Check for delete and delete item in PageObjectProducer.
  • Internationalize strings

July 7, 2008 - Boston to NJ

Implemented delete code in PageObjectProducer.
Added SequencerService.deleteIte() and it's implementation.

Tested and works.

Internationalization String Removal

Producer View

Strings Removed

AddItemProducer

(tick)

DeletePageProducer

(tick)

EditErrorProducer

(tick)

EditItemProducer

(tick)

EditPageProducer

(tick)

EditTileProducer

(tick)

NewItemProducer

(tick)

NewPageProducer

(tick)

PageObjectProducer

(tick)

PreviewItemProducer

(tick)

ViewPageProducer

(tick)

July 8, 2008 - NJ

Page

  • New Page (tick)
  • New Item (tick)
  • Edit (tick)
  • Delete (tick)

New Page

  • Create (button) (tick)
  • Cancel (tick)

Edit Page - ok

Edit Title

  • Remove stub message (tick)

New Item

  • Create (button) (tick)
  • Cancel (tick)

Edit Item

  • Submit to Update (button) (tick)

Preview Item

  • Remove stub message (tick)

Trouble over localizing the text in a UInput button.

July 9, 2008 - NJ

Added message locators to NewPageProducer, NewItemProducer, and EditItemProducer.
All strings in Sousa Page have now been externalized.
Checked into SVN: 50897

July 14, 2009

Antranig indicated that UIMessage could be used in place of UIInput for a localizable input button.

Worked on poms for sousa page, sequence, and utils. All poms build and seem to deploy. However, on running, I get a class cast error on the SequencerService. This could be a packaging/deploy error. The object returned from the component manager is an implementation of the SequencerService:

#### PageObjectProducer - Sequencer Service is: org.sakaiproject.sousa.impl.SequencerServiceImpl@5fb753

Not working yet.

July 15, 2008

Got the POMs to work. Superficial test of Sousa (both Page and Sequence) indicates the basics are working. Checked changes in as rev. 51072.
There were some problems of class definitions being recognized. These were resolved by appropriate use of <scope>provided</scope> properties in dependencies. Utilities (including the Sousa UI components) shouldn't be at provided scope. More information at Maven Dependency Mechanism .

July 16, 2008

Final test of all tools prior to release. Discovered that the message bundle in Sousa Page still had question marks left over from the localization effort. Fixed and check it back in.

Created sousa_2-5-x-1 as the first Sakai 2.5.x release of Sousa. See https://source.sakaiproject.org/contrib/mnorton/sousa/tags/sousa_2-5-x-1/