Re: [Dspace-devel] Configuring a new module via Spring

2011-09-09 Thread Kevin Van de Velde
It was a bit later then the weekend but I finally got round to writing some documentation about the spring based configuration at the following location: https://wiki.duraspace.org/display/DSDOCDEV/DSpace+Service+Manager. Please be aware that I only added some documentation on the configuring

Re: [Dspace-devel] Configuring a new module via Spring

2011-08-24 Thread Kevin Van de Velde
Hi Mark, There are 2 ways to ensure that a spring file is loaded, these are briefly described below. *As a Jar addon resource* In the resources directory of a certain module a spring can be added if it matches the following pattern: spring/spring-dspace-addon-*-services.xml. An example of this

Re: [Dspace-devel] Configuring a new module via Spring

2011-08-24 Thread Mark H. Wood
On Wed, Aug 24, 2011 at 02:17:17PM +0200, Kevin Van de Velde wrote: Hi Mark, There are 2 ways to ensure that a spring file is loaded, these are briefly described below. *As a Jar addon resource* In the resources directory of a certain module a spring can be added if it matches the

Re: [Dspace-devel] Configuring a new module via Spring

2011-08-24 Thread Kevin Van de Velde
The dspace config property is entirly optional so it is possible to just have a configuration in the resources. Kevin Van de Velde @mire Esperantolaan 4 - 3001 Heverlee - Belgium 2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA atmire.com - Institutional Repository Solutions On 24

Re: [Dspace-devel] Configuring a new module via Spring

2011-08-24 Thread Tim Donohue
Just a request: Could we get these new Spring configs ([dspace]/config/spring/) documented somewhere? Along with all these best practices which have been started in Discovery? The current official documentation around the Service Manager is lacking. It doesn't even mention the new

Re: [Dspace-devel] Configuring a new module via Spring

2011-08-24 Thread Kevin Van de Velde
Hi Tim, Great idea I might (not quite sure yet) have some time over the weekend to update the documentation a bit at least the part about the order in which spring files are processed, the best practices in the issue in this email, ... Although t.b.h. somebody will have to read over my

Re: [Dspace-devel] Configuring a new module via Spring

2011-08-24 Thread Mark H. Wood
On Wed, Aug 24, 2011 at 06:34:07PM +0200, Kevin Van de Velde wrote: [concerning documentation of the Spring-based configuration feature] Great idea I might (not quite sure yet) have some time over the weekend to update the documentation a bit at least the part about the order in which spring

[Dspace-devel] Configuring a new module via Spring

2011-08-23 Thread Mark H. Wood
Double-checking my understanding of DSRV-13 and DSRV-17 here: if I want to have Spring configure a module that doesn't currently do that, I need to: o invent a unique module name (MODULE), such as stats for dspace-stats; o implement SpringLoader somewhere in the module, returning a path to