[Mondrian] How to specify the location of mondrian.properties file

Paul Stoellberger p.stoellberger at gmail.com
Tue Aug 21 10:34:03 EDT 2012

They just have to be in the classpath somewhere.

Depends on what project you are doing.
E.g. in a web project it could be webapps/yourapp/WEB-INF/classes/

Or you could manually load them in a lifecycle listener from a given file:


On Aug 21, 2012, at 4:29 PM, Pedro Salgueiro wrote:

> Hi!
> We use Mondrian together with olap4j and we are having some problems 
> with the location of the files mondrian.properties and locale.properties.
> At the moment, we have the files inside the project, under 
> 'src/main/resouces/', which works ok.
> The problem is that we would like to put this files outside of the 
> project, since they will be shared between several projects, and it 
> makes no sense to have multiple copies of these files.
> Is there any way of specifying the location of the property files? If 
> not, any idea on how to externalize these files, so they can be shared 
> between several projects?
> Best regards,
> Pedro Salgueiro
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20120821/e478a4e3/attachment.html 

More information about the Mondrian mailing list