From 6fd03b42d41599d7125aaf4ce223878c83fcf894 Mon Sep 17 00:00:00 2001 From: Julian Hyde Date: Wed, 13 Apr 2011 00:32:40 +0000 Subject: [PATCH] In XMLA driver, populate Cube.getCaption() by reading CUBE_CAPTION attribute, if present. Restore javadoc-with-ydoc target. Tweaks to web page. git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@448 c6a108a4-781c-0410-a6c6-c2d559e19af0 --- build.properties | 13 +++++- build.xml | 42 ++++++++++++++++++- .../driver/xmla/XmlaOlap4jConnection.java | 6 ++- .../olap4j/driver/xmla/XmlaOlap4jCube.java | 6 ++- 4 files changed, 62 insertions(+), 5 deletions(-) diff --git a/build.properties b/build.properties index 38831df..05c61f2 100644 --- a/build.properties +++ b/build.properties @@ -2,7 +2,7 @@ # This software is subject to the terms of the Eclipse Public License v1.0 # Agreement, available at the following URL: # http://www.eclipse.org/legal/epl-v10.html. -# Copyright (C) 2007-2009 Julian Hyde and others. +# Copyright (C) 2007-2011 Julian Hyde and others. # All Rights Reserved. # You must accept the terms of that agreement to use this software. # @@ -10,9 +10,16 @@ # See also 'test.properties', which contains settings for the regression # suite. +# Uncomment one of the following 2 lines. (We use -SNAPSHOT during development, +# so that projects such as mondrian can run on the very latest; we switch for a +# specific revision number near to a release. Change 'xxx' the latest subversion +# change number; and put the same number in 'project.revision.minor'.) project.revision=1.0-SNAPSHOT +#project.revision=1.0.0.xxx + project.revision.major=1 project.revision.minor=0000445 + ivy.artifact.id=olap4j ivy.artifact.group=org.olap4j impl.title=olap4j @@ -23,4 +30,8 @@ build.dir=build ivy.repository.publish=http://repo.pentaho.org/artifactory +# Uncomment to use yDoc doclet for enhanced javadoc (requires commercial +# license). +#ydoc.home=/usr/local/ydoc-3.0-jdk1.5 + # End build.properties diff --git a/build.xml b/build.xml index ae8fa5b..41450d5 100644 --- a/build.xml +++ b/build.xml @@ -50,7 +50,7 @@ ${src.dir}/org/olap4j/mdx/parser/impl/DefaultMdxParserSym.java" /> - @@ -430,6 +430,44 @@ class XmlaOlap4jDriverVersion { + + + + + + + + + + + + + + + + + + + + + + + + + + dimensions; @@ -48,12 +49,14 @@ class XmlaOlap4jCube implements Cube, Named * * @param olap4jSchema Schema * @param name Name + * @param caption Caption * @param description Description * @throws org.olap4j.OlapException on error */ XmlaOlap4jCube( XmlaOlap4jSchema olap4jSchema, String name, + String caption, String description) throws OlapException { assert olap4jSchema != null; @@ -61,6 +64,7 @@ class XmlaOlap4jCube implements Cube, Named assert name != null; this.olap4jSchema = olap4jSchema; this.name = name; + this.caption = caption; this.description = description; final Map measuresMap = new HashMap(); @@ -118,7 +122,7 @@ public String getUniqueName() { } public String getCaption() { - return name; + return caption; } public String getDescription() {