[Mondrian] Request regarding build.xml file

Julian Hyde jhyde at pentaho.com
Thu Mar 19 01:58:30 EDT 2009


Better suggestion: When you modify a file, check it out for edit ('p4 edit
filename'). When you sync, it will not overwrite your edits. Do 'p4 resolve'
to merge in your edits.
 
Note that you don't need write access to do p4 edit - only to submit files.
 
You could either modify mondrian.properties or, if those changes are so
extensive that they are not likely to be mergeable, you could add that line
to include site.properties into build.xml.
 
Julian


  _____  

From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of rolf.lear at algorithmics.com
Sent: Wednesday, March 18, 2009 9:20 AM
To: mondrian at pentaho.org
Subject: [Mondrian] Request regarding build.xml file



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;JdbcPassword
=foodmart;Jdbc=jdbc:oracle:thin:@torlcndb01:1521:DEVRAC1;JdbcDrivers=oracle.
jdbc.driver.OracleDriver;Catalog=C:\Perforce\guest_perforce.mondrian\mondria
n\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/65230f07/attachment.html 


More information about the Mondrian mailing list