blob: 1eee97f250effca89a9f5706266977fb8900f9e4 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 transitional//EN">
<title>Installing BIRT</title>
<link rel="stylesheet" href="../style/compose.css" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
DIV.Section1 {
page: Section1
<p class="head">Installing BIRT</p>
<p class="subhead">A step-by-step guide</p>
Below are complete instructions for installing BIRT. If you are already
familiar with Eclipse plugins, you might want to follow the abbreviated
requirements and instructions on the
<a href="">
download page</a>.
Otherwise, follow along below for detailed steps for installing BIRT.
The instructions here are for the Release 1.0.1 (and later) builds. Please use 1.0.1 or later
instead of the earlier milestone or stable builds.
You'll need a <a href="">Java runntime environment (JRE)</a>
The version you choose will depend on the version of Eclipse you are running.
See below.
BIRT is currently tested with the following configurations:<br>
<li>Eclipse 3.0.1, and 3.0.2.
<li>GEF 3.0.1.
<li>EMF 2.0.3.
<li>GEF JRE 1.4.
<li>Eclipse 3.1.
<li>GEF 3.1.
<li>EMF 2.1.
<li>GEF JRE 1.4/JRE 1.5.
<p class="caution"><span class="caution-head">Note:</span> Additionally, If you are installing the 2.0 Milestone 1 release you will need
the following downloads</p>
<li><a href="">SAC 1.3</a>.
<li><a href="">Flute 1.2</a>.
The SAC APIs are discussed at <a href="">Cascading Style Sheets SAC: The Simple API for CSS</a><br>
The sac.jar and flute.jar files need to be copied to the plugins\\lib directory.
The instructions on this page cover the second configuration.
Download and install the
<a href="/birt/frameizer.php?page=">
Eclipse Platform 3.1 Release</a>
(Note: Eclipse, EMF, GEF and BIRT are all available from the
<a href="">Eclipse download page</a>.)
Eclipse comes as a zip file or tar file. On Windows, unzip the install file
into your "C:\Program Files" directory. This will create a subdirectory called eclipse.
To make it easier to start Eclipse on Windows, create a shortcut to Eclipse on your desktop:
<li>From the desktop, right click, choose New&rarr;Shortcut.
<li>For location, enter "C:\Program Files\eclipse\eclipse.exe" (without quotes.)
<li>Click Next.
<li>Enter “Eclipse” for the shortcut name.
GEF, the Graphic Editor Framework, is an Eclipse plugin used by the BIRT UI.
Download the
<a href="/birt/frameizer.php?page=">
GEF 3.1 Release, GEF Runtime</a>.
GEF comes as a zip file. Unzip GEF into directory that contains Eclipse. If you
installed Eclipse into the standard location on Windows, then unzip GEF into
"C:\Program Files".
The BIRT charting feature uses EMF, the Eclipse Modeling Framework. Download the
<a href="">
EMF & SDO RT version 2.1</a>. Look in the Latest Releases sections of the
download page.
EMF also comes as a zip file. Unzip EMF into directory that contains Eclipse.
This is the same directory you used for GEF.
Download <a href="">
Release 1.0.1</a> (or later). Download only the
BIRT designer framework for now: "".
BIRT is also a zip file. Unzip BIRT into the directory that contains Eclipse.
<h1>JDBC Drivers</h1>
You will likely want to use your own JDBC driver with BIRT. Use the data source editor’s JDBC
driver management wizard. To start the wizard, open a BIRT report design, go to
the Data Explorer view, right click on “Data Sources” and select “New Data
Source”. Choose “JDBC Data Source” and click “Next”. In the next dialog, choose
“Manage Drivers…” to bring up the “Manage JDBC Drivers” dialog.
<p>In the “JAR Files” tab, click on “Add…” to add the JAR file required by your
JDBC driver. Then go to the “Driver” tab to confirm that the list of drivers
includes the new drivers added. You may also want to assign a display name and URL
template for the new drivers in this tab.</p>
<h1>Updating a BIRT Installation</h1>
If you have a version of BIRT installed, and want to install a newer version, do
the following:<ul>
<li>Close Eclipse.
<li>Locate your Eclipse plugins directory. If you installed on Windows in the
default location, this is "C:\program files\eclipse\plugins".
<li>Delete all directories that start with "org.eclipse.birt".
<li>Download and install BIRT as described in the BIRT section above.
<li>Restart Eclipse with the -clean option: <code>eclipse -clean</code></ul>
<h2>Upgrading JDBC Drivers from 1.0M2 or Earlier</h2>
<p>Builds earlier than 1.0M3 stored JDBC driver information within the plugin
structure, and so the drivers had to be reinstalled with each build. Starting
with 1.0M3, this is no longer necessary. However, if you upgrade to 1.0M3 from an
older build, you will need to reinstall your JDBC drivers as described above.</p>
<h2>Upgrading 1.0M1 Report Designs</h2>
<p>If you have a report created with BIRT 1.0M1, the data source information will
be lost when opening that design in 1.0M3 or later. Here's what to do:</p>
<li>Note your data source name.</li>
<li>Delete your data source.</li>
<li>Create a new data source with the required properties.</li>
<li>If your report has multiple data sources, repeat steps 1-3 for each data
<li>Select your first data set.</li>
<li>Open the Properties view (not the Property Editor).</li>
<li>Find the property called &quot;Data Source&quot;. Enter the name of your new data
<li>Repeat steps 5-7 for each additional data source.</li>
<h2>Upgrading 1.0M2 Charts</h2>
<p>The chart format changed from 1.0M2 to 1.0M3. If your report contains charts, they
will not open in 1.0M3 or later. You must either recreate the report, or use a text editor
to remove the chart elements from your design, open the design within BIRT, and
add your charts.</p>
<h1>Common Problems</h1>
Some problems are due to cached information within Eclipse. Eclipse caches
information about plugins for faster startup. Adding BIRT as we did above
may result in stale cached information. Symptoms of this problem
<li>The BIRT perspective does not appear in Eclipse.
<li>You receive "An error occurred" dialogs when opening reports or using
the BIRT UI.
<h2>Cleaning Cached Plugin Information</h2>
The solution is to clean up the cached information.
The recommended practice is to start Eclipse with the -clean option:
<pre class="code-block">eclipse -clean
<h2>Cleaning the Cache on Windows</h2>
If you are on Windows, and are not familiar with how to invoke Eclipse from
the command line, do the following:
<li>Choose Start&rarr;All Programs&rarr;Accessories&rarr;Command Prompt
<li>Move to the directory where you installed eclipse. If you installed
Eclipse in the standard location, enter:
<pre class="code-block">cd "\Program Files\eclipse"
<li>Run Eclipse with the -clean option:
<pre class="code-block">eclipse -clean
<li>Eclipse will restart. Again check for the BIRT perspective.
<h2>The "Brute-Force" Approach</h2>
Another, less recommended, approach is to delete the configuration directory:
<li>Shut down Eclipse
<li>Delete the configuration folder in the eclipse directory,
<li>Restart Eclipse and again check for the BIRT perspective.
Note that this may lose some of your Eclipse settings; use this technique