keithrbennett Posted June 12, 2010 Share Posted June 12, 2010 In case this is useful, I'm pasting here some notes from my wiki regarding where the report data source information is stored. Of course, any corrections and improvements are welcome.----iReport Data Source ConfigurationsWhen saving all information required to reproduce a report in iReport, keep in mind that the data source information is not stored in the .jrxml file. This is a good thing, because you may want to be able to read a sample data file (e.g. an XML file) while defining the report but use a Java object at runtime for production.While it is easy to store and pass around a .jrxml file, the report data source is not so easy. It is defined in the ireport.properties file, which is located in the following subdirectory of your home directory:.ireport/3.7.3/config/Preferences/com/jaspersoftOf course, replace 3.7.3 with whatever version of iReport you're using. In the ireport.properties file you'll find the connections specified in connection.1, connection.2, etc. You should be able to copy configurations from one users's properties file to another's. However, filespecs may contain absolute directory names that will need to be modified. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now