Project Explorer View


Jaspersoft Studio uses the Eclipse environment to organize all the resources. This means users create projects that contain images, styles, libraries, and other files needed for report development. This is done in the Project Explorer view .

This view shows a project file structure similar to that found in other file managers. Use context menus or drag and drop files to work with them.

One of the current tasks is to open a report. To do this, double-click a .jrxml or .jasper file, or select the Open With context menu. JasperReports Designer can open reports in design mode, or JasperReports Preview can open a preview from which it's possible to run reports. It's also possible to open .jrprint files to view a generated report, .jrtx files to edit styles, Data Adapter files to create data adapters, or just Preview the report from the Preview item in context menu.

Another task is to add or remove java library jars to or from project CLASSPATH. To do this, open a context menu on the desired jar and locate the Build Path item. Choose the correct sub-item, "Add To Build Path" or "Remove From Build" . Please look into Eclipse documentation for information on how to configure CLASSPATH in Eclipse.

Existing Eclipse users may already have some projects in the workspace. These users must activate JasperReports Nature on the project with .jrxml files, to do this, select the project, open the context menu, and look at JasperReportsToggle JasperReports Nature menu item.

Plenty of configuration options are available for this view. To open the configuration dialog, click on the arrow in top right corner of the view.

Figure 1. Setup JasperReport Nature

Setup JasperReport Nature

Figure 2. Open a report file

Open a report file