It is advisable to create new projects and reports
from the BIRT perspective; however, most of the workbench sections??”such as the
Palette??”do not open by default.
Importing and Exporting Report Projects
BIRT Report Projects are simply a collection of Report Design files, so the importing
and exporting options available in Eclipse are not entirely useful. However, there are
a few options that can be used for backup and restoration purposes. In the following
examples, we will look at exporting a project to an archive file, and restoring it with
the Import option.
Let's say that we need to archive the Classic Cars project that we have been building
in this book. We will want to archive this as a ZIP file to C:\Temp\ClassicCars.zip.
In order to do this, we need to right-click on the Project directory or the report file
we want to archive and select the appropriate option. So in our case, we will use the
Class_Cars_BIRT_Reports project. Then we will specify the archive file and the files
to include in the archive.
1. From the Navigator pane, right-click on the Class_Cars_BIRT_Reports project
and select the Export... option. You can also select the Class_Cars_BIRT_
Reports project, and then under the File menu, select the Export... option.
Report Projects and Libraries
[ 140 ]
2. Under the General option, select Archive File.
Pages:
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140