[Building Sakai] Moving tomcat/components folder

Aaron Zeckoski azeckoski at unicon.net
Tue Mar 12 12:01:32 PDT 2013


I think that providing a property like
-Dsakai.components.root=/path/to/components on your java (tomcat) OPTS
will allow you to override the default value.

See loadComponents() in
kernel/component-manager/src/main/java/org/sakaiproject/component/impl/SpringCompMgr.java

I haven't tried this myself but it looks like it should work based on the code.
Worst case scenario, just change the default in that method.

NOTE: this is a runtime change only, the build will not be affected by this
-AZ



On Tue, Mar 12, 2013 at 2:41 PM, Robert Sedzik <robert.sedzik at uadm.uu.se> wrote:
> Hi all,
>
> It is possible to move the tomcat/components folder to another location
> and start sakai
> via a jvm/tomcat switch or by other means to set an alternate
> tomcat/components path?
>
> I have not been able to find a sakai property (sakai.properties)
> so I have been trying to do it via code. Changing in sakai kernel with
> no success so far.
> I am assuming because of tomcat/lib dependencies (spring).
>
> Cheers,
> Robert
>
>
>
> _______________________________________________
> 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"



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list