Jasper iReport - creating report in development and deploying it to production
How to create a jasper report with 开发者_如何学编程devl database and then deploy to prod with prod datasource?
Steps: Use iReport to create jasper report. Define devl DB as datasorce. compile and test it. Once working fine, change the datasource to prod DB, compile and deploy it to prod. That should work correct?
I tried these steps. But I am getting error once I depoy app in production. I opened another thread for that specific question, but just want to make sure I am doing the right thing. Here is the link for that error:
Grails: Jasper plugin error on Linux - java.lang.reflect.UndeclaredThrowableException
Thanks.
You can deal with deploy on diferent environments (development, pre production, production) using Jdeploy, a useful command line deploy tool on https://sourceforge.net/projects/jaspertools/?source=directory
It allows to manage datasources on isolated way, so deploy only applies to a report and resources.
精彩评论