Jaspersoft Studio User Guide
• jaspersoftstudio-x.x.x-mac-x86_64.dmg for the 64-bit version of MacOS X.
x.x.x represents the version number of Jaspersoft Studio. If your distribution of Linux doesn't support the deb
format there are also tar versions.
Note that on a 64-bit operating system you can install the 32-bit version of Jaspersoft Studio (although the 64-
bit is recommended), but you cannot install the 64- bit version of Jaspersoft Studio on a 32-bit operating system.
1.5 Accessing the Source Code
The last version of the source code is available from http://community.jaspersoft.com/project/jaspersoft-
studio/releases by clicking Browse Source Code, which lets you access the Subversion (SVN) repository
(read only mode) where the most up-to-date version is available. You can download and compile this source
code, but since it is a work in progress it might contain new, unreleased features and bugs. All the information
necessary to download the Source Code, configure a develop environment on the Eclipse IDE and compile\run
the source code are described in the tutorial Contributing to Jaspersoft Studio and building from sources.
1.6 Report Structure in Jaspersoft Studio
A report is defined by means of a type page. This is divided into different horizontal portions named bands.
When the report is joined with the data generating the print, this section are printed many times according to
their function (and according to the rules that the report designer has set). For instance, the page header is
repeated at the beginning of every page, while the detail band is repeated for each record.
1.6.1 The Report Lifecycle
The report lifecycle starts with report design. Designing a report means creating a template, such as a form
containing blank space, that can be filled with data. Some portions of a page defined in this way are reused,
others stretch to fit the content, etc..
This template is saved as an XML file sub-type called JRXML (“JR” for JasperReports). This file contains
information about the report layout, including complex formulas to perform calculations, an optional query to
retrieve data out of a data source, and other functionality.
The life cycle can be divided into two distinct action sets:
• Tasks executed during the development phase: design and planning of the report, and compilation of a
Jasper file source, the JRXML.
• Tasks that must be executed in run time: loading of the Jasper file, filling of the report, and export of the
print in a final format.
The main role of Jaspersoft Studio in the cycle is to design a report and create an associated JASPER file,
though it is able to preview the result and export it in all the supported formats. Jaspersoft Studio provides
support for a wide range of data sources and allows users to create custom data sources, thereby becoming a
complete environment for report development and testing.
When you design a report using Jaspersoft Studio, you are creating a JRXML file, which is an XML document
that contains the definition of the report layout. The layout is completely visual, so you can ignore the
underlying structure of the JRXML file. Before executing a report, the JRXML must be compiled in a binary
object called a Jasper file. Jasper files are what you need to ship with your application in order to run the
reports.
12