My favorites | Sign in
Project Logo
             
Search
for
Updated May 20, 2009 by gretchie.moran
Labels: Phase-Deploy
ServerIntegrationPluginForPAT  
Documentation for the PAT BI Server plugin project.

Pentaho BI Server Plugin Integration for PAT

This is a new Eclipse project (derived from Aaron Phillip's EchoPlugin Sample Project) that will build and deploy the Pentaho Anaysis Tool plugin to the Pentaho BI Server.

Disclaimer

Setting up this plugin is not for the faint of heart. The requirements consist mainly of the latest code in several projects under development.

Requirements

In order to build and deploy this plugin, you need to have a Pentaho BI Server deployed and running, as well as a deployed Pentaho Analysis Tool. I will give you the coordinates for the code lines that work with this plugin, but please refer to the deployment documentation for the server and for PAT to get those web applications set up.

These instructions are written for a configuration where the BI Server and Pentaho Anaysis Tool are deployed to the same Tomcat server. This is for convenience; you can have them deployed separately if you wish. Adjust the instructions as necessary for your deployment configuration.

The tools you need are as follows:

  1. Apache Ant 1.7.0 or greater
  2. Pentaho BI Server (Citrus), the latest build (as of 5/20/2009) exists on the continuous integration server - http://ci.pentaho.com/view/Platform/job/BISERVER-CE/
  3. Pentaho Analysis Tool, the latest build (as of 5/20/2009) is needed. Also exists on the continuous integration server - http://ci.pentaho.com/job/Pentaho_Analysis_Tool/org.pentaho$pat/
  4. The PAT plugin source code, downloadable from subversion repo: svn checkout http://pentahoanalysistool.googlecode.com/svn/bi-plugin/trunk

Installation

EX. pentaho.dir=E:/workspaces/trunk_workspace/tomcat-pci-test/biserver-ce
EX. E:\workspaces\pat_workspace\PentahoAnalysisTool>ant
E:\workspaces\pat_workspace\PentahoAnalysisTool>ant install

These commands will build, then deploy the PAT plugin and solution files to your BI Server. You can verify by checking your pentaho-solutions\system folder for a new folder named pat-plugin. There will also be new solution files under pentaho-solutions\bi-developers\PatPlugin. In the next set of steps, you will modify the deployed solution to point to your PAT and XML/a resources.

EX. If your domain is mydomain.com, and PAT is deployed to port 8888, and the context path is pat then your <app-connection> text value should be http://mydomain.com:8888/pat/pentaho/simpleXmla.do

Once you have built, deployed,and modified your solution, open a browser and login to the Pentaho BI Server. We will now refresh the plugins and the solution repository, then watch our PAT plugin at work.

Now, return to the home page of PUC, the user console for the BI Server. Navigate the solutions folders to the PatPlugin folder. You should see one piece of content there, "My First Analysis View". Click the content item and PAT should launch. Enjoy!

Please post any comments, feedback, problems or bugs to the PAT forum.

Development

If you want to compile and work on the PAT plugin in Eclipse or any other IDE, you will need to create a classpath reference to the Pentaho platform jars in your Pentaho BI Server installation. I accomplished this by linking the classes directory of my development BI server into the PAT plugin project' s classpath. You may find another route suitable.

For help with understanding Pentaho BI Server plugins in general, or seeing how a simple plugin is setup, visit this page.


Sign in to add a comment
Hosted by Google Code