[Building Sakai] Overriding complex type in sakai.properties

Matthew Jones matthew at longsight.com
Fri Jun 29 12:08:34 PDT 2012


Yea I know the gradebook one there works for sure, as I updated it and
tested it just a few months ago.

On Fri, Jun 29, 2012 at 3:01 PM, Ray Davis <ray at media.berkeley.edu> wrote:

> I haven't looked at any of this for a couple of years, but last time I
> *did* look, I could configure maps as described in section "2.2" of:
>
>
> https://confluence.sakaiproject.org/display/REL/More+Flexible+Sakai+Configuration
>
> Best,
> Ray
>
> On 6/29/12 11:43 AM, Patrick Haggood wrote:
> > An old mailing list entry
> > (http://permalink.gmane.org/gmane.comp.cms.sakai.devel/23245)
> >   demonstrates a way to override a boolean in components.xml with
> > another value in sakai.properties; is there support for more complex
> > types in sakai.properties; i.e. a map?
> >
> > components.xml (this works)
> >
> > <bean foo>
> >        <property name="portalLinks"><map/>
> > <map>
> > <entry key="gmail">
> > <map>
> > <entry key="label" value="GMail"/>
> > <entry key="image" value="images/email.png"/>
> > <entry key="link" value="http://email.umich.edu"/>
> > </map>
> > </entry>
> > </bean>
> >
> > components.xml (what I want in components.xml)
> > <bean foo>
> >      <property name="portalLinks"><map/></property>
> > </bean>
> >
> > sakai.properties (example of overriding empty map in components.xml with
> > actual values)
> >         portalLinks at food = (appropriate syntax, using map in 1st
> > components.xml above, for sakai.properties)
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > sakai-dev mailing list
> > 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 with a subject of
> "unsubscribe"
> >
>
>
> _______________________________________________
> sakai-dev mailing list
> 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 with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120629/a99ef723/attachment.html 


More information about the sakai-dev mailing list