No description, website, or topics provided.
Clone or download
Pull request Compare This branch is even with npmiller:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/fr/solap4py/core
test/fr/solap4py/core
.gitignore
LICENSE
README.md
build.properties
build.xml
config.dist
ivy.xml
ivysettings.xml

README.md

solap4py-java

Solap4py-java is a java server that provides a simple JSON API to GeoMondrian. To install it (ubuntu 14.04):

# Install build tools
sudo apt-get install ant
sudo apt-get install openjdk-7-jdk

# Retrieve the source
git clone https://github.com/loganalysis/solap4py-java.git

Now, you should edit the config.dist file to add your GeoMondrian's connection information to have something like this:

#Configuration of the database
dbhost=localhost
dbport=8080
# Name of the Xmla Olap4j Driver
driverName=org.olap4j.driver.xmla.XmlaOlap4jDriver

If your GeoMondrian is installed locally and listens on the port 8080 (for example if installed on a local tomcat).

You can now build and run the application:

# Make sure the JAVA_HOME is set to the Java 7 JDK:
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/

# Build and run the application
ant run

Proxy

In order to compile, ant needs to download external libraries on maven repositories. If you are behind a proxy, you have to uncomment and configure the proxy block in build.properties with your proxy settings.