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
Wiki Markup
{scrollbar}

Downloading

The Pentaho Report Design Wizard is available for download on Sourceforge at http://sourceforge.net/project/showfiles.php?group_id=140317&package_id=175834 as a compressed ZIP zip file.

Installation

Unzip the Report Design Wizard archive using your favorite unzip program to a location you will can remember.   A For example, a good choice, on Windows, might may be "C:\pentaho-reportwizard".   If you're using *NIX we assume you can find a safe location on your own.  From this point forward we will refer to , the installation path is referred to as {WIZARD-ROOT}. To Pentaho recommends that to follow this documentation it may be to your benefit to , you must install the Pentaho sample data available from Sourceforge (at http://downloads.sourceforge.net/project/showfiles.php?group_id=140317&package_id=175834) The Pentaho data ZIP file contains Hypersonic, which can be started pentaho/pentaho_sample_data-1.6.0.GA.863.zip?modtime=1191930234&big_mirror=0. The sample data zip file contains Hypersonic database that you must start by clicking the start-hypersonic.bat (Windows) or start-hypersonic.sh (*NIX). This The Hypersonic database will be is referenced throughout this documentation.

Configuration

The Report Design Wizard is distributed as a ZIP zip archive and comes pre-configured. There ; other than unzipping the archive, there is no installation process or configuration other than unzippingrequired.

If you are going to be using JNDI you must using JNDI  edit {WIZARD-ROOT}/ resources/solutions/system/simple-jndi/jdbc.properties. An example entry in this file would appear as follows.A sample entry is shown below:

Code Block
SampleData/type=javax.sql.DataSource
SampleData/driver=org.hsqldb.jdbcDriver
SampleData/url=jdbc:hsqldb:hsql://localhost/sampledata
SampleData/user=pentaho_user
SampleData/password=password

SampleData is the name of the JNDI connection being setup, set up; all of the name/value pairs configure the pertinent connection information. The */type setting tells allows JNDI to recognize what is being managed , in this case, a SQL datasource. The */driver setting is the JDBC driver class name for the database we're accessingbeing accessed. The */url is the JDBC connect string, the example shown here above is for a Hypersonic database server running locally. The next two settings are the user's credentials for logging in to the database if required.

Database driver setup only requires that the drivers be located in the {WIZARD-ROOT}/lib/jdbc directory. A Hypersonic database driver is included with the Report Design Wizard under {WIZARD-ROOT}/lib/jdbc. Additional drivers may be dropped into this same location and they will be are picked up by the application automatically. 

The easiest type of connection to create is an XQuery connection. Using an XML data-file and a query we you can walk through the wizard and generate a report-spec. There is an XML data-file in {WIZARD-ROOT}/samples/data called Quad_Data.xml.  This file is contains the same data that is in the Hypersonic database.

Launching

To launch the Report Design Wizard, use the included Ant build.xml target called "launch".  If you do not have Ant or are unfamiliar with it you may also double-click the reportwizard.bat file to launch the wizard using Microsoft Windowslaunch scripts (reportWizard.bat on Windows, reportwizard_linux.sh for Linux, and reportwizard_osx.sh for Mac).

The starting point allows you to create a report from scratch or to work off on an existing report.  The Report Design Wizard supports ' templates ,' which that are pre-defined report definitions (layouts) for specific types of reports (e.g. for example,  Customer Invoices) and require the user to enter 'mappings'.

The Report Name field is used to set the name of the report in the JFreeReport XML definition and as a filename file name to create in the temporary Pentaho solution path while generating previews.  When a report is exported, several files are copied to the specified path.  These files are the JFreeReport XML definition, the Pentaho Report-Spec document, images used by the report (watermark), and the action sequence document necessary to run the report by the Pentaho Solution engine.

...