Why do you want to have multiple modules 'overriding' each other's resources in 
the first place? Common practice is to give modules their own directories for 
things like resources.

Nils.

> Op 17 sep. 2015, om 12:36 heeft Héctor Prieto (via Magnolia Forums) 
> <fo...@magnolia-cms.com> het volgende geschreven:
> 
> Although in the [url=null]resources documentation[/url] it is very well 
> explained the resources loading order attending to the resources location 
> (JCR > filesystem > classpath), in my company we have sometimes trouble 
> overriding already existing templates from other modules, as we can't seem to 
> understand the resource loading order between different modules.
> 
> We first assumed the latest module loaded would override existing resources, 
> so that by adding in my module A a dependency to module B in the module 
> descriptor, A would be loaded after B and would be able to override 
> resources, but that is not the case.
> 
> For instance, we tried to load a template with the same path and name from 3 
> different modules and the one that got loaded from was the 2nd module loaded, 
> neither the first nor the last, so we are completely clueless.
> 
> Could anyone shed some light on this?
> Thank you in advance
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=9a13f911-499f-446e-a256-5b7d55d128f4
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to