Downloading BIRT source code from the CVS repository
Eclipse makes BIRT source code available to the developer community in the CVS repository. BIRT source code is not needed to compile any required plug-ins.
By default, the system uses the JAR files in the $INSTALL_DIR\eclipse\plugins folder. These plug-ins must be in the classpath to compile successfully. To debug, you may need the source code for the required BIRT plug-ins.
BIRT source code is not needed to develop the sample rotated label report item plug-in. You work only with the Java classes in the org.eclipse.birt.sample.reportitem.rotatedlabel package.
Creating a rotated label report item plug-in project
Create a new plug-in project for the rotated label report item extension in the Eclipse PDE.
How to create the plug-in project
1 In the Eclipse PDE, choose File➛New➛Plug-in Project.
2 In New Plug-in Project, modify the settings as shown in
Table 18‑1.
Table 18‑1 Settings for the report item plug-in project
Section | Option | Value |
Plug-in Project | Project name | org.eclipse.birt.sample.reportitem.rotatedlabel |
| Use default location | Selected |
| Location | Not available when you select Use default location |
Project Settings | Create a Java project | Selected |
| Source folder | src |
| Output folder | bin |
Target Platform | Eclipse version | 3.5 or greater |
| OSGi framework | Deselected |
Working Sets | Add project to working set | Deselected |
Figure 18‑1 Specifying the report item plug-in project settings
Choose Next. Plug-in Content appears.
3 In Plug-in Content, modify the settings as shown in
Table 18‑2.
Table 18‑2 Settings for the report item plug-in content
Section | Option | Value |
Properties | ID | org.eclipse.birt.sample.reportitem.rotatedlabel |
| Version | 1.0.0 |
| Name | RotatedLabel |
| Vendor | yourCompany.com or leave blank |
| Execution Environment | JavaSE-1.7 |
Options | Generate an activator, a Java class that controls the plug‑in’s life cycle | Deselected |
| Activator | Not available; leave blank |
| This plug-in will make contributions to the UI | Deselected |
| Enable API Analysis | Deselected |
Rich Client Application | Would you like to create a 3.x rich client application? | No |
New Plug-in Content appears, as shown in
Figure 18‑2. Choose Finish.
Figure 18‑2 Specifying the report item plug-in project content settings
The rotated label report item extension project appears in the Eclipse PDE Workbench, as shown in
Figure 18‑3.
Figure 18‑3 Viewing the report item plug-in project overview