abuis Posted August 24, 2017 Share Posted August 24, 2017 We have a bunch of reports in the Jasper server that we need to move back to the Jasper Project, (Person that wrote them quit the team and formatted his hard drive). Therefore we would like to move them back onto someone else's laptop for maintenance purposes. I can not find out how to do this Link to comment Share on other sites More sharing options...
reportdev Posted August 24, 2017 Share Posted August 24, 2017 The jasperadmin user should be able to export all the report units or in fact a folder. after logging in as jasperadmin, right click on any folder and you should see export options. you can get jrxml and xml for each of the report units .jrxmls will have the layouts and datasources. xmls will have the metadata and the parameters for the report.Once the jrxml is exported, you can import these into an eclipse project or jasper studio project. Link to comment Share on other sites More sharing options...
hozawa Posted August 24, 2017 Share Posted August 24, 2017 That is going to take some working because jrxml files on JasperReports Server are modified to point to resources on the server. These have to be manually converted back. Resources on the server should have uri starting with "repo:". Link to comment Share on other sites More sharing options...
H Mendoza Posted August 24, 2017 Share Posted August 24, 2017 The exported catalog includes a structure of files and folders (with an output format of either zip or folder). To recover your .jxml files, you'll have to find the report files that are represented as .data files. The .data file is key and you'll have to reset the extension to .jrxml to open the file in Studio. Link to comment Share on other sites More sharing options...
cecelia.lukasik Posted March 8 Share Posted March 8 How do you reset the extension to .jrxml to open the file in jaspersoft studio? Link to comment Share on other sites More sharing options...
Thomas Zimmer Posted March 13 Share Posted March 13 Hi @abuis It should be absolutely enough to open the jrxml files via the Studio Plugin from the server; if resources are needed, they are downloaded by Jaspersoft Studio as well and references like "repo: ..." need not neccessarily be changed 😉 But of course it would be a good idea to pull all source and move them back to a code versioning system or at least a network filesystem (if the next colleague leaves the company as well ;)) Cheers, Thomas Zimmer https://thomaszimmer.net/ https://jasper-schulungen.de/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now