Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I choose the destination of the generated .jasper file into Jaspersoft Studio 6.1?

I am absolutely new in JasperReports and I have the following problem: I am working on a project that generate an Excel file into Jaspersoft Studio 6.1.0.

After that I save my .jrxml file project and build it, so it seems that it generate the related .jasper file into the Desktop folder of my Windows system.

How can I choose the directory into which generate this .jasper file?

like image 599
AndreaNobili Avatar asked Dec 06 '25 03:12

AndreaNobili


2 Answers

Unfortunately you can not as in ireport choose where the .jasper is build.

Quoting mrabbi (jasper report staff)

currently in Jaspersoft Studio when compiled the JRXML produces the .jasper file in the same folder position where they are. This is an implementation choice.

You can hide them if you don't like to see them and you can configure an "additional" output directory on build (jasper will be copied to this).

Configure output folder

like image 92
Petter Friberg Avatar answered Dec 08 '25 20:12

Petter Friberg


In IReport it was Tools > Options > IReport > Compilation and Execution then untick "Use Report Directory to compile" and you could select a new one.

enter image description here

like image 20
harun ugur Avatar answered Dec 08 '25 19:12

harun ugur



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!