How to Build BIRT from CVSIntroductionThis document describes how to get the BIRT source from CVS and build it under Eclipse. If you simply want to use BIRT, it is easier to simply download an existing build.Building BIRT 2.1.1 is described below. For the latest instructions, see the BIRT Wiki. RequirementsDownload the BIRT all in one designer. It is listed under "Report Designer Full Eclipse Install" on the download page. It is possible to build BIRT with an existing Eclipse install, but this method is the quickest, as all the required files, with the exception of iText.jar and iTextAsian.jar are present. Configuring EclipseThe BIRT source code uses some features that are only present in JDK 1.4.2 or later. In order for it to successfully build you need to set your compiler compliance to 1.4. Make sure this is not set to 5.0. You can set this for the entire workbench as follows:
Understanding the CVS StructureThe BIRT modules are available in CVS in the source folder under /home/birt. BIRT has over 150 modules, some of these are described below.
Checking out Code from CVSConfigure the Repository under Eclipse
Check Out Code for the First Time
Import Additional FilesImport iText 1.3 and iTextAsian into the com.lowagie.itext/lib directory. If your Eclipse environment is not setup to build automatically, build the source now. This designer should build correctly. If you wish to build the Web Viewer proceed to the next section. Do this if you wish to make changes to the deployable Web Viewer Example. Preparing the ViewerThe viewer project contains an ant build script that builds the Web Viewer. When executed it will create a birt_web directory in the root of the viewer project. This directory can then be exported and deployed in a similar fasion to the Web Viewer example in the Report Engine download. To use this script, perform the following steps.
Running BIRTStart BIRT by running it as an Eclipse Application. This can be done as follows:
Instructions for Running JUnit Tests
|