BIRT Report Dynamic Mysql Database Name, user name and password in rptdesign files [message #1219640] |
Thu, 05 December 2013 07:09 |
|
hi
I'm new to birt report designing. i'm working on a project that using birt reports.
i created birt graphs and deployed them on Apache tomcat. till now all working fine
I've a doubt here.
my project is going to deploy on several machines that may contain mysql database with different
1. database name and port numbers
2. user name
3.passwords
my aim is i want to build a generic code such that work on any system. but i don't know how to change mysql properties in rptdesign file
i don't want to edit rptdesign files and replace new mysql db values
i want to store mysql properties in properties file . from that i want to change fields in rptdesign files..
<property name="odaDriverClass">com.mysql.jdbc.Driver</property>
<property name="odaURL">jdbc:mysql://localhost:3306/qualitydashboard</property>
<property name="odaUser">root</property>
<encrypted-property name="odaPassword" encryptionID="base64">c3JpbnU=</encrypted-property>
is their any java api facilitates
editing and modifying rptdesign files ??
finally i want java code acts on rptdesign files and allows me access tags in file
srinu vadapalli
|
|
|
|
Powered by
FUDForum. Page generated in 0.04850 seconds