Unable to export Jasper Reports

Hello,

Currently we are on Jasper Reports 6.3. We have upgraded our Report Center to Jasper 7.9

For migrating the custom reports and everything inside the Jasper RC to the new Jasper 7.9 server , I am using the following command

.\js-export.bat --everything --output-zip W:\JRS_Export_<CustomerName>_JRS.zip

I am inside the buildomatic folder where ant and js-export.bat are present. But when I try and execute the below command, I get the following error 

C:\JRS\Instances\<customer_folder>\buildomatic> .\js-export.bat --everything --output-zip W:\JRS_Export_SDLWSDEV_JRS.zip
Writing to log file: logs/js-"export"-"pro"___18701.log
Bundled Ant not found. Using system Ant.
Running "validate-keystore" Ant task
----------------------------------------------------------------------
'ant' is not recognized as an internal or external command,
operable program or batch file.
Checking Ant return code: BAD (1)

I tried to search the community page, but was unable to find the appropriate answer. 

Could anyone please help?

 

roopesh.kumar's picture
Joined: Sep 20 2022 - 6:54am
Last seen: 1 day 16 hours ago

Hello, Could anyone please suggest on this?

roopesh.kumar - 3 days 19 hours ago

2 Answers:

Hi friend,

As of JRS 7.5 it is necessary to indicate the KEY with which you are going to export,

See Here the documentation.

https://community.jaspersoft.com/documentation/tibco-jasperreports-serve...

Greetings.

ecanaveras's picture
Joined: Sep 26 2012 - 11:02am
Last seen: 1 day 9 hours ago

Thank you @ecanaveras!! This worked and I can export the reports now!! :)

roopesh.kumar's picture
Joined: Sep 20 2022 - 6:54am
Last seen: 1 day 16 hours ago
Feedback