Jump to content

Custom properties file


federico.cattozzi

Recommended Posts

Hi,

i use JasperServer 3.5 on Tomcat for 30 reports and i need to use custom environment properties, like JASPERSERVER_URL to link reports also after pdf exporting.

In this moment i use "resourceBundle" attribute in every report and a properties file loaded on JasperServer as resource, but this file is exported automatically when i export-import reports from development environment to testing environment so i have to backup it first on testing environment and to re-import it after deployment.

Can i use custom properties file at Tomcat level in some way?

Any other ideas?

Thanks



Post Edited by helyair at 09/22/2009 12:04
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

helyair
Wrote:
 

In this moment i use "resourceBundle" attribute in every report and a properties file loaded on JasperServer as resource,

just wondering whats stopping you from writing on own custom.properties file(or append to a current JS .properties file ) and use your own classloader? maybe in a scriptlet?

 

 

 

Link to comment
Share on other sites

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