Jump to content

Deploy Reports to JasperServer Through Shell Script?


kntreadway

Recommended Posts

 Hi all,

Is it possible to deploy reports somehow automatically, through a shell script or something like that?

I know that you can deploy reports manually through the JasperServer interface and iReport, but we have need to automate our report deployment through shell scripts.

 

Please let me know if this is possible.

 

Thanks!

Nichole

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Hi Nichole

Two ways of doing this :-

I do this using ANT scripts - which could be called from a shell script.

You need to look at the documentation around buildomatic which comes with Jasper. It basically is a bunch of ANT scripts for manually building/installing yourself such as ANT targets for creating and populating tables in the DB.

 Take a look at the JasperServer Install Guide and Installing from WAR File Distribution for more information.

 

Or :-

Take a look at the js-import/js-export command line tools for exporting/importing. You would need to use js-export anyway to export your reports to be able to install/import them.

Cheers - hope this helps

Neil

Link to comment
Share on other sites

  • 9 months later...

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...