kadimulam Posted February 18, 2009 Share Posted February 18, 2009 Hi,Could you please tell me the procedure to export the reports from my development machine and import the same onto the QA machine using JasperServer and iReport?Thanks,Kiran Link to comment Share on other sites More sharing options...
pentaho Posted February 18, 2009 Share Posted February 18, 2009 Hi, Refer the below link....... Works Only in Windows XP not in Windows 2000http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=51707#51746 Examples: Import the myDir catalog folder, prepending /importDir to all repository URIs:js-import --input-dir myDir --prepend-path /importDir Import the myExport.zip catalog archive file:js-import --input-zip myExport.zip Examples: · Export the /reports/samples/AllAccounts resource to a catalog folder:js-export --uris /reports/samples/AllAccounts --output-dir myExport· Export the /images and /fonts folders:js-export --uris /images,/fonts --output-dir myExport· Export all the resources with permissions to a zip catalog:js-export --uris / --repository-permissions --output-zip myExport.zip· Export all the resource and all the report jobs:js-export --uris / --report-jobs / --output-dir myExport· Export the report jobs of the /reports/samples/AllAccounts report unitjs-export --report-jobs /reports/samples/AllAccounts --output-dir myExport· Export all the roles and users:js-export --roles --users --output-dir myExport· Export the ROLE_USER and ROLE_ADMINISTRATOR roles along with all users belonging to one of these roles:js-export --roles ROLE_USER, ROLE_ADMINISTRATOR --role-users --output-dir myExport · Export two users:js-export --users jasperadmin, joeuser--output-dir myExport Post Edited by pentaho pentaho at 02/18/09 09:25 Link to comment Share on other sites More sharing options...
tkavanagh Posted February 19, 2009 Share Posted February 19, 2009 Yes, exactly what pentaho is saying above. You go to the <js-install-dir>/scripts directory and run a command similar to: js-export.bat --uris /reports/myreports --output-zip js-myreports.zipThen, copy the js-myreports.zip to your qa machine and put the zip in the <js-install-dir>/scripts directory of your qa machine. Then, cd to the <js-install-dir>/scripts dir and run: js-import.bat --input-zip js-myreports.zipIf you are running linux, then the command is js-export.sh and js-import.sh. Also, you can take a look at <js-install-dir>/docs/JasperServer-Install-Guide.pdf. It has some info in import-export, I think.-Tony Link to comment Share on other sites More sharing options...
federico.cattozzi Posted February 18, 2011 Share Posted February 18, 2011 It could be useful a option like "--delete" for the command "js-import" to remove useless resources from repository:js-import --delete --input-zip=myReports.zip 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