Deploy Reports to JasperServer Through Shell Script?

 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

kntreadway's picture
Joined: Dec 22 2010 - 10:58am
Last seen: 12 years 5 months ago

2 Answers:

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

neilelliott's picture
Joined: Jun 15 2010 - 8:18am
Last seen: 9 years 10 months ago
Hi, there are a tool for doing that on http://sourceforge.net/projects/jaspertools/?source=directory
Bye.
acarmar's picture
470
Joined: Jan 17 2010 - 10:14am
Last seen: 6 years 8 months ago
Feedback
randomness