Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: [Mondrian] Request regarding build.xml file

  1. #1
    Guest

    Default [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=jdbcracle:thin:@torlcndb01:1521EVRAC1

    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=jdbcracle:thin:@torlcndb01:1521EVRAC1;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.
    --------------------------------------------------------------------------

  2. #2
    Julian Hyde Guest

    Default RE: [Mondrian] Request regarding build.xml file

    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 (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org] On
    Behalf Of rolf.lear (AT) algorithmics (DOT) com
    Sent: Wednesday, March 18, 2009 9:20 AM
    To: mondrian (AT) pentaho (DOT) 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=jdbcracle:thin:@torlcndb01:1521EVRAC1

    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=jdbcracle:thin:@torlcndb01:1521EVRAC1;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.
    _____

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.