Jump to content
We've recently updated our Privacy Statement, available here ×
  • Export & Import themes in JasperReports Server


    Badr Draifi
    • Features: JasperReports Server Version: v8, v7 Product: JasperReports® Server

    This article will explain to you how you can make exports and imports using only cmdline with JasperReports Server. 

    Export : 

    7.5 or above exporting with deprecatedKey (Compatible with old JRS) : 

    ./js-export.sh --uris /themes/yourtheme --output-zip yourexportname.zip --keyalias deprecatedImportExportEncSecret

    7.2 or below (Can be used with 7.5 or above as well but with the export will be tied to the env keystore)

    ./js-export.sh --uris /themes/yourtheme --output-zip yourexportname.zip

    Import :

    7.5 or above exporting with deprecatedKey (Compatible with old JRS) :

    ./js-import.sh --input-zip yourthemeexported.zip --keyalias deprecatedImportExportEncSecret --update

    7.2 or below (Can be used with 7.5 or above as well but with the export will be tied to the env keystore)

    ./js-import.sh --input-zip yourthemeexported.zip --update

     

    Note that if you already have a theme with the same name in your repository, the --update option will replace the existing theme with imported one. 


    User Feedback

    Recommended Comments

    There are no comments to display.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...