[Building Sakai] Moving tomcat/components folder

Steve Swinsburg steve.swinsburg at gmail.com
Tue Mar 12 16:11:16 PDT 2013


This is interesting, what's the motivation for moving this? We could build it into the build/deploy plugin, the plugin has a list of directories for things anyway. 

Cheers
Steve

Gesendent von meinem iPhone

On 13/03/2013, at 6:27, Robert Sedzik <robert.sedzik at uadm.uu.se> wrote:

> Thanks, I missed that -Dsakai.components.root thing.
> 
> kernel/component-manager/src/main/java/org/sakaiproject/component/impl/SpringCompMgr.java
> 
> 
> is actually kernel part I am hacking.
> 
> Thanks for the fast reply.
> 
> Rob
> 
> 
> 
> On 12-Mar-13 8:01 PM, Aaron Zeckoski wrote:
>> 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"
> 
> _______________________________________________
> 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"


More information about the sakai-dev mailing list