Installing BIRT Source Code
This package includes the source code for all BIRT plug-ins. You can examine this code to see how BIRT generates reports from designs. You can also import this source code into a workspace to build a custom BIRT installation.
How to install BIRT Source Code
1 Navigate to BIRT Downloads for build 4.3.1.
2 In More Downloads, choose full BIRT 4.3.1 Download Page.
3 In the BIRT Source Code section, download the BIRT Source Code archive
file:
birt-source-4_3_1.zip
4 Extract all files from the archive to a new workspace directory.
Extracting creates the build files and BIRT features and plugins directories in that workspace directory.
To test the BIRT Source Code package, import the source code projects into your workspace.
How to test the BIRT Source Code installation
1 Start Eclipse.
2 Set the Java preferences for BIRT.
1 From the Eclipse main menu, choose WindowPreferences.
2 Expand Java, select Compiler. Make the following selections:
*Set Compiler Compliance Level to 1.6.
*Deselect Use default compliance settings.
*Set Generated .class files compatibility to 1.6.
*Set Source compatibility to 1.6.
3 Choose OK.
3 From the Eclipse main menu, choose FileImport.
4 In Import—Select, expand General and select Existing Projects into Workspace. Choose Next.
5 In Import—Import Projects, select Select root directory, then type or browse to your workspace directory.
The BIRT features and plug-ins appear in Projects.
6 Choose Finish.
Eclipse builds the BIRT projects.
If the projects do not build correctly, check that you installed the prerequisites for BIRT Report Designer, as described in Chapter 1, “Introducing Eclipse BIRT Report Designers.” If you have not installed the BIRT Report Designer Full Eclipse Install, download this package and extract any JAR files that the build requires. Add any libraries that Eclipse does not find to the build paths of specific projects to resolve other build errors.