Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Code Block
   <exec os="unix" executable="${unix.script}"/>
   <exec os="windows" executable="buildJdk16.bat"/>

The build does not add  log4j.dtd or log4j.properties so add manually. You may wish to alter the logging settings of log4j.properties and log4j.xml. log4j.xml is already included in commandrunner.jar but you may have altered the logging options so update it too.

First extract the dtd file from the log4j.jar:

Code Block

jar -xvf ../log4j.jar org/apache/log4j/xml/log4j.dtd
  inflated: org/apache/log4j/xml/log4j.dtd

Now update/add the files to cmdrunner.jar:

Code Block

jar -uvf cmdrunner.jar org log4j.properties log4j.xml
  adding: org/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/log4j/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/log4j/xml/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/log4j/xml/log4j.dtd(in = 4913) (out= 1489)(deflated 69%)

To run:

Configure mondrian.properties to contain settings eg:

mondrian.catalogURL=file:///opt/work/mondrian_query/depana.xml
mondrian.test.jdbcURL=jdbc:mysql://192.168.10.5/ems_dev?user=dev&password=dev
mondrian.jdbcDrivers=com.mysql.jdbc.Driver
mondrian.rolap.RolapUtil=com.mysql.jdbc.Driver
 
Create the sample schema file for catalogURL.

...