[Mondrian] Request regarding build.xml file

rolf.lear at algorithmics.com rolf.lear at algorithmics.com
Wed Mar 18 12:20:29 EDT 2009


Hi all..

 

I have a simple request regarding the inclusion of a new source for
property values in the build.xml file for the mondrian.

 

If the build file also references a 'site.properties' file before the
mondrian.properties reference, then "site local" mondrian properties can
be set before the default mondrian properties.

 

I have this going at the moment, but I lose my config every time I
resync the code against the repo...

 

  <property file="${project.location}/build.properties"/>

  <property file="${project.location}/site.properties"/>

  <property file="${project.location}/mondrian.properties"/>

 

In my case, I set the following in my site.properties file, and this
makes keeping in sync a lot easier...

 

junit.jvmargs=-ea -esa -Xmx1g

mondrian.foodmart.jdbcURL=jdbc:oracle:thin:@torlcndb01:1521:DEVRAC1

mondrian.foodmart.jdbcUser=foodmart

mondrian.foodmart.jdbcPassword=foodmart

mondrian.jdbcDrivers=oracle.jdbc.OracleDriver

driver.classpath=../ojdbc14.jar

mondrian.test.connectString=Provider=mondrian;JdbcUser=foodmart;JdbcPass
word=foodmart;Jdbc=jdbc:oracle:thin:@torlcndb01:1521:DEVRAC1;JdbcDrivers
=oracle.jdbc.driver.OracleDriver;Catalog=C:\Perforce\guest_perforce.mond
rian\mondrian\demo\FoodMart.xml

 

This simple change would make running test cases and so on a little
easier for me. It has no compatibility issues because there will be no
impact unless the site.properties file is present.

 

Thanks

 

Rolf


 
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential and proprietary to Algorithmics Incorporated and its affiliates ("Algorithmics"). If received in error, use is prohibited. Please destroy, and notify sender. Sender does not waive confidentiality or privilege. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Algorithmics does not accept liability for any errors or omissions. Any commitment intended to bind Algorithmics must be reduced to writing and signed by an authorized signatory.
--------------------------------------------------------------------------

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


More information about the Mondrian mailing list