[Deploying Sakai] Alternate sakai.properties without changing sakai.home ?

Matthew Jones jonespm at umich.edu
Fri Apr 2 10:09:27 PDT 2010


Agreed, we use this xml file to customize property files, but don't use add
in an additional system property (that Ray mentioned) but it should work.
But since you control this xml file, you could just hardcode your additional
property file(s) right into this file as well if it doesn't work.

Also, if you don't want to setup this file, Sakai, by default, also reads an
additional file in the *${sakai.home} *directory named *local.properties* and
a file in the *${sakai.security} *directory named *security.properties.*

On Fri, Apr 2, 2010 at 12:19 PM, Ray Davis <ray at media.berkeley.edu> wrote:

> If you're using 2.6.0 or later, see section 2.1 at:
>
> http://confluence.sakaiproject.org/display/REL/More+Flexible+Sakai+Configuration
>
> I haven't tested exactly this scenario, but in your case it might work
> to use a "locations" value like:
>
> <value>file:${sakai.home}${my.properties.file}</value>
>
> And then specify a variable like:
>
> -Dmy.properties.file=sakai.properties.test
>
> Best,
> Ray
>
> On 4/2/10 12:48 AM, Wolfgang Rohregger wrote:
> > Hi,
> >
> > is it possible to set the location of sakai.properties without setting
> > sakai.home? I would like to use a file “sakai.properties.test” in the
> > same directory as the sakai.properties file.
> >
> > For example: “-Dsakai.properties=sakai/sakai.properties.test”
> >
> > Thanks,
> >
> > Wolfgang
> _______________________________________________
> 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/20100402/6fe96381/attachment.html 


More information about the production mailing list