Jaspersoft Studio 6.10 new jrxml to a specific existing folder - jaspersoft-studio

Assume I have an existing folder with path
C:\Work\eclipse-workspace\RPE\resources
, now I want to create a new JasperReport project and save all new created jrxml to above path (C:\Work\eclipse-workspace\RPE\resources), what should I do?

Related

Visual Studio Code default namespace

When I create a file within a project in Visual Studio Code, it generates namespace folder_name automatically. How would I get all files I create within that project to generate namespace solution_name.folder_name automatically?
I tried setting the <RootNamespace> in the csproj file and that didn't work.
Thanks.
you can use [Add folder to workspace]

Where JasperStudio stores .jrxml files?

I am migrating from Jasper 5.5.x to 6.4.0, using Jaspersoft Studio (no more iReport), but I noticed that after modifying a few reports, JRXML files are not modified (at least not in the folder where .jrxml and .jasper are, from where I opened it). they are in the "workspace".
How can I make Studio to save the jrxml in the same place that .jaspers?
Usually they are saved in the same folder but I don't have experience in migrating from iReport.
You can change the directory where Jasersoft Studio saves the files by right-clicking on your project in the Project Explorer and selecting Properties.
On the left side you select Resources->Linked Resources. Under Path Variables you can set the PROJECT_LOC variable.
Hope this helps

Avoid Jasper Studio adding timestamp comment in jrxml file

In Jasper Studio 6.1.1 final each time you save a report file a timestamp comment is added to the jrxml file like this:
<!-- Created with Jaspersoft Studio version 6.1.1.final using JasperReports Library version 6.1.1 -->
<!-- 2016-07-22T15:29:22 -->
This behaviour is annoying when you use a version system like SVN or Git because it marks the file as pending of commit for no reason (if no real changes were done).
Menu Windows -> Preferences -> Jaspersoft Studio: uncheck the option Add timestamp information when saving the JRXML file.
On newer versions of Jaspersoft Studio you may need to click on Compatibility option after the Jaspersoft Studio option (I can't test this by now).

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

I am absolutly new in JasperReports and I have the following problem: I am woking 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 wich generate this .jasper file?
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).
In IReport it was Tools > Options > IReport > Compilation and Execution then untick "Use Report Directory to compile" and you could select a new one.

When deploying Jasper Reports getting error message

Hi I created a simple report using iReport 4.5.1 and when I tried to deploy the report in JasperSoft (Ver 4.5) I am getting the following error message even thought I am selecting the correct JRXML file
The selected JRXML could not be parsed. You might have selected the wrong file.
What could be the issue.
I am using iReport designer to design my reports.
Database: Oracle 11g
I have created a Data Source in JaseperSoft - test connection successfull
I am getting the error message only when I click the browse button to upload the JRXML file when i tried to upload a report file...
Please help....
This error can occur when attempting to deploy a report that uses stored procedures.
You can find this issue at http://jasperforge.org.
This article is about how to call stored procedures from JasperReports.
Try to deploy the report using the jdeploy tool on https://sourceforge.net/projects/jaspertools/?source=directory
Solution:
By default JasperSoft® Studio tries to save and upload the JRXML's in the latest possile JRXML version which may not be compatible with the parser on the server side. You can configure the version used by the studio. Go to Window > Preferences > Jaspersoft Studio > Compatibility and in the Source .jrxml version set the version to 6.2.1. Then open your reports, do a minor change and re-save it. This should re-generate the JRXML that is compatible with previous JasperReports version. You can also set the same compatibility setting on project level by right clicking on the project folder in the Project Explorer > Properties > Jaspersoft Studio > Compatibility
https://community.jaspersoft.com/wiki/error-message-selected-jrxml-could-not-be-parsed-when-trying-update-jrxml-files-tibco
I have created an automatic build option for maven reports. Anyone that is interested please read: http://the-consultants-blog.blogspot.be/2013/06/deploy-jasperreports-with-maven.html
It might come in handy with deployment problems or with mass deployment of jrxmls.